Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a CLI tool to publish on the Dolistore #27

Open
9 tasks
rdoursenaud opened this issue Sep 22, 2016 · 0 comments
Open
9 tasks

Provide a CLI tool to publish on the Dolistore #27

rdoursenaud opened this issue Sep 22, 2016 · 0 comments

Comments

@rdoursenaud
Copy link
Contributor

Rationale:
Publishing on the Dolistore can be quite time consuming and error-prone.
All the required informations can be provided by files (images, texts, metadata…).
Managing these in the repository makes sense and would allow using translation tools to manage the localization.

Here's a rundown of what I think is required to achieve this goal:

  • Defining a common format.
    As a basis, here's what I'm using at the moment:
    https://github.com/GPCsolutions/dolibarr-module-template/tree/master/dev/dolistore
    Nota: Markdown support besides HTML would be great!
  • Server side API
    • Handle authentication (OAuth2? Prestashop? OpenSSH?)
    • Receive files
    • Publish
  • The CLI script itself
    Ideally written in PHP to allow easy hacking within the project.
    • Authentication
    • File upload
    • Publication

Another approach would be to provide a GIT service like the AUR.
This would not require yet another tool and handle authentication for us using SSH.
A server-side post-receive hook could handle the format verification and the publication.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants