Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: v18 early migration work based on master

by
Acsone SA/NV, Stéphane Bidoul
- 03/07/2024 08:49:34
Hi Simone,

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

+1

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

We'd likely need to craft an oca/oca-ci image that masquerades Odoo master as 18.0.

I'd also suggest not merging nor pushing to PyPI until the Odoo 18.0 branch has been created, so work only with git PR references in test-requirements.txt for dependencies.
So we'd probably need to add protections in the bot to avoid premature merges or pushes to PyPI.

For reference https://github.com/OCA/maintainer-tools/issues/582 is the issue that we used to track tooling updates to support 17.0.
That should give inspiration on the lists of things to pay attention to.

So yeah, quite a few things to do, but not impossible.

-sbi

On Mon, Jul 1, 2024 at 12:42 PM Simone Orsi <notifications@odoo-community.org> wrote:
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.

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

Reference