Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: v18 early migration work based on master

by
Camptocamp SA, Simone Orsi
- 18/07/2024 11:22:59
Thanks everybody for the feedback :)


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

I agree on not pushing to PyPI but we should merge, to not enter a valley of pain later.
IMO the version of the module should serve as the way to check if it is fully migrated or not and we could update the repo readme generation to make it more visible, same for the module's readme. Maybe a ribbon?

We could also add a non blocking warning test in the CI.

WDYT?
 

On Tue, Jul 16, 2024 at 3:27 PM Mignon, Laurent <notifications@odoo-community.org> wrote:
>  I'd go for branch opt 3 + mod version opt 2.

+1

On Tue, Jul 16, 2024 at 2:48 PM Alexandre Fayolle <notifications@odoo-community.org> wrote:
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

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

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



--
Simone Orsi

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

Reference