Skip to Content

Contributors

Re: v18 early migration work based on master

I think this could be nice.

I would favor Option 2 for branch naming. This could be an indicator for 
the OCAbot to behave differently about the version numbers when a PR s 
merged (and we can have option 1 for module version).


Alexandre


On 01/07/2024 12:42, Simone Orsi 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 

> <https://odoo-community.org/groups/contributors-15>

> Post to: mailto:contributors@odoo-community.org

> Unsubscribe: https://odoo-community.org/groups?unsubscribe 

> <https://odoo-community.org/groups?unsubscribe>

> 


-- 
Alexandre Fayolle
Senior Software Engineer

Camptocamp France SAS
18 rue du Lac Saint André
73 370 Le Bourget-du-Lac
France

http://www.camptocamp.com


by Alexandre Fayolle - 02:43 - 16 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