Contributors mailing list archives

contributors@odoo-community.org

Avatar

Re: Module name, name collision

by
Vauxoo, Nhomar Hernández
- 15/12/2022 22:45:32
IMHO.

Avoid prefixes or suffixes.

an script in the ci with a centralize DB with module names would be the practical solution.

1. A quick service with elastic.
2. An script that makes a push to such index.
3. Serve a quick rest search.
4. An script for the CI that makes:
    curl url/search/modules_here -r
    read_response.json -> found
5. Red if exists (with proper output).


Why not the prefix/suffix.

1. Nothing will avoid with such technique the duplication of functions and modules.
2. In dev time the developer will know where the problem is (now I do simply a search in google, but as I said it can be automated).

Regards.

El mar, 22 nov 2022 a la(s) 09:17, David Beal (notifications@odoo-community.org) escribió:
Hi all,

It seems there are miscellaneous practices to deal with name collision in OCA, mainly regarding Odoo SA module names

here mgmt is used

here and in some other repos oca is used

Is there any other practice ?

Should we converge on the same standard ? with a rename in future version with apriori openupgrade file ?

Personally I prefer oca, but it probably needs to be voted !?

What do you think?

Regards

Thanks

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



--

Nhomar G Hernández

Vauxoo | CEO

¡Construyamos algo genial!
Cel: +52 (477) 393.3942 | Telegram: nhomar | Twitter: @nhomar

México · Venezuela · Costa Rica · Perú

phone nhomar@vauxoo.com phone vauxoo.com/contactus  

Reference