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

ocabot migration duplicating lines in migration issue? #214

Closed
sbidoul opened this issue Oct 5, 2022 · 7 comments · Fixed by #215
Closed

ocabot migration duplicating lines in migration issue? #214

sbidoul opened this issue Oct 5, 2022 · 7 comments · Fixed by #215
Labels
bug Something isn't working

Comments

@sbidoul
Copy link
Member

sbidoul commented Oct 5, 2022

See for example OCA/server-env#120 where the issue was created correctly but now lines with references to a PR are duplicated.

@sbidoul sbidoul added the bug Something isn't working label Oct 5, 2022
@pedrobaeza
Copy link
Member

I have observed it in some cases, but I'm not able to deduce what is reason. A problem in the regex?

@sbidoul
Copy link
Member Author

sbidoul commented Oct 7, 2022

Another example: OCA/partner-contact#1353

@eLBati
Copy link
Member

eLBati commented Nov 11, 2022

Something similar is still happening:

OCA/l10n-italy#3026 (comment)
produced

image

@SirTakobi
Copy link
Contributor

Something similar is still happening:

OCA/l10n-italy#3026 (comment) produced

image

That is because the alphabetical order of modules is checked in

: when the bot reads l10n_it_ipa, it adds (before l10n_it_ipa) the l10n_it_declaration_of_intent line because 'l10n_it_ipa' > 'l10n_it_declaration_of_intent'.

TL;DR: the bot misbehaves when the modules are not written in alphabetical order, should we fix it?

@pedrobaeza
Copy link
Member

It's not the same. This bot command assumes an alphabetical order in the migration issue, which is not the case.

@pedrobaeza
Copy link
Member

You should order the modules IMO instead of over-complicating the bot.

@eLBati
Copy link
Member

eLBati commented Nov 11, 2022

Thanks, ordered

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants