Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check module name availability on apps.odoo.com #120

Closed
sbidoul opened this issue Jun 4, 2020 · 3 comments
Closed

Check module name availability on apps.odoo.com #120

sbidoul opened this issue Jun 4, 2020 · 3 comments
Labels
Bot Task A task the bot does or should do

Comments

@sbidoul
Copy link
Member

sbidoul commented Jun 4, 2020

When a PR that adds new addons is opened, check apps.odoo.com and odoo-community.org/apps to verify if the new addons name are available.

From OCA/web#1602 (comment)

@sbidoul sbidoul added the Bot Task A task the bot does or should do label Jun 4, 2020
@legalsylvain
Copy link
Collaborator

Thanks for reporting :

2 remarks :

  • I think we should check if the module exist in any available version. AFAIK, if a PR propose a module for 12.0 serie named xxx and a module exists in the appstore named xxx for another serie like 10.0 for exemple, the existing module will block the possibility to have the OCA module available;
  • anybody know how to call the odoo appstore via api ? I don't found where is the code used by odoo for its appstore. not sure it's public. it could be a mess to have to parse the HTML.

algorithm proposal :

  • call Odoo appstore ; check if module exists in any revision. If yes, check if website is OCA current website. If not, raise a warning;
  • call OCA appstore : check if module exist in any revision. if yes, and if repository is not the same, raise a warning.

@pedrobaeza
Copy link
Member

There's simply no API.

@sbidoul sbidoul changed the title Check module name availability on apps.odoo.com Check module name availability on apps.odoo.com and PyPI.org Aug 2, 2021
@sbidoul sbidoul changed the title Check module name availability on apps.odoo.com and PyPI.org Check module name availability on apps.odoo.com Aug 2, 2021
@legalsylvain
Copy link
Collaborator

Closing. supersed by #149. (to do).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bot Task A task the bot does or should do
Projects
None yet
Development

No branches or pull requests

3 participants