Page MenuHomePhabricator

Make Herald add #Pywikibot to any tasks with a #Pywikibot-* project tag
Closed, ResolvedPublic

Description

The rule should be similar then H6 for pywikibot:

When all of these conditions are met:

  • Project tags include any of (tags of H6 excluding Pywikibot
  • Security is not any of Software security bug
  • Pywikibot project tag is not included

Take these actions the first time this rule matches:

  • Add Pywikibot project tag

Event Timeline

The proper solution would be to move most tags of H6 to become subprojects of Pywikibot, I guess? Though that means they are mutually exclusive and a task cannot be in more than one subproject.

As I can see all of the projects ending with .py are script releated subprojects and attributed as Component; they are exclusive. The other are marked as Tag and should also be usable with the script related projects/components. Pywikibot-i18n may refer to both, the i18n gerrit repository component and a i18n tag meaning i18n and L10N issues. Maybe we could combine L10N/i18n as a tag and keep the i18n component as a subproject.

Seems this is similar to T170090. I created this task because I fortuitously found some pywikibot related task without pywikibot project. This should never be because they may not be noticed then.

The proper solution would be to move most tags of H6 to become subprojects of Pywikibot, I guess? Though that means they are mutually exclusive and a task cannot be in more than one subproject.

We discussed this earlier, but there were some disadvantages of this approach. That's why we asked for a different solution in T195855

I take care of adding Pywikibot to new pywikibot tasks since April 2018. This Harold rule would just do my job (and also back in time) automatically, thus I really support the idea (it indeed is a duplicate of T170090 I created 2 years ago).

BTW there are cca 169 tasks, that are missing the Pywikibot tag (out of cca 984 Pywikibot tasks)

I take care of adding Pywikibot to new pywikibot tasks since April 2018. This Harold rule would just do my job (and also back in time) automatically, thus I really support the idea (it indeed is a duplicate of T170090 I created 2 years ago).

T170090 got so complicated and lost in details that I did not follow up anymore at some point. :(

I've created H314. ("Security is not any of Software security bug" does not make sense here.)

BTW there are cca 169 tasks, that are missing the Pywikibot tag (out of cca 984 Pywikibot tasks)

Do you want me to add that tag to those 163 tasks?

Aklapper renamed this task from Add a new Herald rule for pywikibot to Make Herald add #Pywikibot to any tasks with a #Pywikibot-* project tag.Mar 23 2019, 9:38 PM
Aklapper moved this task from To Triage to Herald rules on the Phabricator board.

I've created H314. ("Security is not any of Software security bug" does not make sense here.)

BTW there are cca 169 tasks, that are missing the Pywikibot tag (out of cca 984 Pywikibot tasks)

Do you want me to add that tag to those 163 tasks?

It would be perfect!

Aklapper claimed this task.

Added Pywikibot to 163 tasks by using @Phabricator_maintenance. Resolving task.