Closed sbidoul closed 2 years ago
Hi @sbidoul : I'm very interested by this one. I don't know how to implement it however.
Use case :
account_template_active
in https://github.com/OCA/account-financial-tools (branch 12.0). linkDifferent approaches at the first sight :
account_template_active
. Check if the user that call ocabot merge
is the maintainer of the latest version of the module.https://github.com/OCA/account-financial-tools/blob/XX.0/account_template_active/__manifest__.py
files and check if the manifest contains the author of the call.account_template_active
is not available on OCA website)Cool :+1: This would, indeed, be very helpfull... There would still be some cases the bot wouldn't pick up (when it is renamed or moved to a different repo) but it would still cover the majority of the cases and would already be of great help.
Option 1 gived by @legalsylvain seems to be the easiest one
thanks @joao-p-marques for your review.
@sbidoul, @pedrobaeza : any point of view regarding the different possibilities ?
As I don't know the internals of how this is done, I can't say which one is the best approach, but it seems the third option is not very feasible. I see the number 1 as the way to go.
Yep, 1 or 2.
Option 2 (with requests.get) is probably faster and since it is not the API it should not be sensitive to API rate limits.
Cool, then 2 is lighter
First thing is to write down the algorithm...