Skip to content

Provide a CLI tool to publish on the Dolistore #27

@rdoursenaud

Description

@rdoursenaud

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions