Procedure to add new module

Here are the steps to follow when adding a new module (after review):

  1. On hg.tryton.org create the repository in ~hg/repos/modules with hg init <new module>
  2. Edit .hg/hgrc (copy existing one):
    • change description
    • remove [trypod]
  3. Add the module to readthedocs.org:
    • Import manually
    • Set maintainers
    • Set integration with generic webhook (edit hgrc)
    • Add automation rules to activate new branch
    • Add as subproject of tryton-readthedocs
  4. Active module on drone.tryton.org:
    • Check settings Trusted
  5. Push module
  6. Push in .hgsub of tryton-env
  7. Add module as component on bugs.tryton.org
  8. Add module to announce r2e and pause it:
    • r2e add <module> https://libraries.io/pypi/<new module>/versions.atom
    • r2e pause n
  9. Add repository to https://www.openhub.net/p/tryton
  10. Add module as component on translate.tryton.org:
    • create empty files for templates and modules
    • active msgmerge addons
1 Like