Skip to Content

Contributors

Re: v18 early migration work based on master

I think this is a good direction and would improve perception of OCA modules as production-ready by virtue of them being production-ready immediately after a new release. Some thoughts:
  1. Imitate odoo/odoo and don't version pre-release modules?
  2. How does this interact with the current migration strategy where the entire history of a module is merged in at once? Won't this result in evergreen modules that will become stale/broken in master?


by Adam Heinz - 03:21 - 1 Jul 2024

Reference

  • v18 early migration work based on master
    Hi everybody,

    We would like to start working on migrating some base modules to v18 before it gets released.

    AFAIR there's no "official" policy for it, if not "do it on your own fork and then open PRs when the release is out".

    From my POV it would be nice to define one.

    For the branch, I see these options:

    1. add a `master` branch that can be used w/ any version
    2. add a `$nextVersion-[master|dev]` branch that can be used w/ odoo master for a specific version
    3. simply have $nextVersion branch and stick to version policy nr 2 (see below)

    For the module version:

    1. append `dev`to the version (eg: 18.0.1.0.0dev)
    2. start w/ a number lesser than 1.0.0 and switch to 1.0.0 only when the release is out (eg: 18.0.0.0.1)

    I'd go for branch opt 3 + mod version opt 2.

    For the test suite: I'm not sure we have a way to run tests against master ATM.

    Am I missing something?

    In general, what do you think?

    --
    Simone Orsi

    Full stack Python web developer, Odoo specialist, Odoo Community Board Member, in love with open source.

    by Simone Orsi - 12:41 - 1 Jul 2024