- Mailing Lists
- Contributors
- Re: tool: Odoo Modules Migration
Archives
- By thread 1419
-
By date
- August 2019 59
- September 2019 118
- October 2019 165
- November 2019 97
- December 2019 35
- January 2020 58
- February 2020 204
- March 2020 121
- April 2020 172
- May 2020 50
- June 2020 158
- July 2020 85
- August 2020 94
- September 2020 193
- October 2020 277
- November 2020 100
- December 2020 159
- January 2021 38
- February 2021 87
- March 2021 146
- April 2021 73
- May 2021 90
- June 2021 86
- July 2021 123
- August 2021 50
- September 2021 68
- October 2021 66
- November 2021 74
- December 2021 75
- January 2022 98
- February 2022 77
- March 2022 68
- April 2022 31
- May 2022 59
- June 2022 87
- July 2022 141
- August 2022 38
- September 2022 73
- October 2022 152
- November 2022 39
- December 2022 50
- January 2023 93
- February 2023 49
- March 2023 106
- April 2023 47
- May 2023 69
- June 2023 92
- July 2023 64
- August 2023 103
- September 2023 91
- October 2023 101
- November 2023 94
- December 2023 46
- January 2024 75
- February 2024 79
- March 2024 104
- April 2024 63
- May 2024 40
- June 2024 160
- July 2024 80
- August 2024 70
- September 2024 62
- October 2024 121
- November 2024 117
- December 2024 89
- January 2025 59
- February 2025 104
- March 2025 96
- April 2025 107
- May 2025 52
- June 2025 72
- July 2025 60
- August 2025 81
- September 2025 124
- October 2025 63
- November 2025 22
Contributors
Re: tool: Odoo Modules Migration
You can send me an email if you want jc@komit-consulting.com and I could show you.
Hi,
I am the author of 'oca-port' so I'll try to answer your questions.
These two tools aim two different purposes, but have few common points:
- oca-port: it doesn't really know what is Odoo, this tool only plays with commits of git repositories to help the user to:
1) migrate the git history of the module ('git format-patch' dance) and run pre-commit before inviting the user to follow the OCA migration guide. It'll also request GitHub API to find a open PR to invite the user to review it instead of creating a new one.
2) for modules already migrated, it'll list the commits and related PRs that could be ported to fill the gap (fixes or features)
3) a parsable output is available so we at Camptocamp are using it to scan OCA repositories and generate reports to estimate the work to achieve for migration projects (which modules are 100% ported, missing some fixes/features, have to be migrated and which ones having a PR to review)
- odoo-module-migrator: from what I know (I do not use this tool yet) its job is to help you to migrate Odoo code to the target version (e.g. if a XML tag has been deprecated, it'll warn or update to the new format).
Both tools could be used together, my idea would be that 'oca-port' leverages 'odoo-module-migrator' to automatically update the code in a migration process. From now, the user can call 'oca-port' then call 'odoo-module-migrator' manually (not tested), no big deal.
I think the common points right now is that 'odoo-module-migrator' also does the 'git format-patch' step, and run pre-commit.
FYI I also started an Odoo project that scans all kind of git repositories (OCA, Odoo, private repos) to collect modules metadata and consolidate all these data in one place, and it leverages oca-port to collect the migration data presented above. This tool aims to help functional & technical people with these kind of features:
- get number of lines of code (Python/JS/XML/CSS) by module/repo/branch/organization or any filter you want
- for maintainers, get a quick overview of the state of their modules
- what are the most used OCA addons among all your Odoo projects
- in term of lines of code of a customer project, how are they distributed among Odoo, OCA and specifics
- generate reports to ease the estimation of migration projects for a given migration path (e.g. 14.0 -> 16.0)
- know all Python dependencies used in OCA to avoid versions conflicts or to improve security updates
A lot of use cases could be addressed I guess. I'll probably make a presentation of this at OCA Days (need to finish some stuff, do some cleanup, host the code in a OCA repository, and address some questions regarding the hosting).
Kind regards,
Le 04/10/2023 à 09:26, Rafael Blasco a écrit :
This is a really nice topic to have a doc/talk about for new contributor. Maybe for OCA DAys
- Which is the use of both tool?
- Why 2 and not just a single 1? (they should be different with different authors)
- A "How to" for newcontribs are really useful to increase OCA
It is not trivial and easy for everyone. The moment we take things for granted we lose contributors along the way.
https://github.com/OCA/oca-port
https://github.com/OCA/odoo-module-migrator
Thank you!
Regards
Rafael
De: Alexandre Fayolle <notifications@odoo-community.org>
Enviado el: martes, 26 de septiembre de 2023 10:03
Para: Contributors <contributors@odoo-community.org>
Asunto: Re: tool: Odoo Modules Migration
Hello, you should check oca-port too
https://github.com/OCA/oca-port
Best regards
--
Alexandre Fayolle
Senior Software Engineer
Tel : +33 4 58 48 20 30
De: Fernando La Chica <notifications@odoo-community.org>
Enviado el: lunes, 18 de septiembre de 2023 23:08
Para: Contributors <contributors@odoo-community.org>
Asunto: Re: tool: Odoo Modules Migration
Take a look at this tool
https://github.com/OCA/odoo-module-migrator
At first I thought it was the same tool. I understand that it is out of the scope of your tool but I think it can be useful for your final objective which is to migrate a large number of modules.
El lun, 18 sept 2023, 9:37, Jan Suhr | Nitrokey <notifications@odoo-community.org> escribió:
Hi!
I wrote a simple tool which helps me keeping an overview of module
upgrades during ongoing upgrade projects, especially for a large amount
of modules. I hope someone finds it useful.
https://github.com/Nitrokey/odoo-modules-migration
Best regards
Jan
__________________________________
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
-- Sébastien Alix Business Solutions Odoo Developer Camptocamp France SA https://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
by Jean-Charles Drubay - 04:41 - 5 Oct 2023
Reference
-
tool: Odoo Modules Migration
Hi! I wrote a simple tool which helps me keeping an overview of module upgrades during ongoing upgrade projects, especially for a large amount of modules. I hope someone finds it useful. https://github.com/Nitrokey/odoo-modules-migration Best regards Jan
by Jan Suhr - 09:35 - 18 Sep 2023