w3c / horizontal-issue-tracker

Tools and pages to track horizontal issues
https://www.w3.org/PM/horizontal/
MIT License
6 stars 4 forks source link

automatically add labels for working group to horizontal issues #39

Open aphillips opened 5 months ago

aphillips commented 5 months ago

The I18N WG would like to request a feature. We would like HR issues to be labeled with the working group.

We notice that a number of working groups create more than one spec. These get different s:shortname labels in our repo. It would be nice to be able to find all issues associated with a specific working group later, such as when we have a joint call or meeting with them.

We want to be able to search the i18n-activity repo (where our horizontal review issues are located) for a label by working group. For example, if we wanted to look up all issues for the VC working group, we would use a query like:

https://github.com/w3c/i18n-activity/issues?q=label:wg:vc

This is in response to w3c/i18n-actions#69. @plehegar and I traded email about it also.

plehegar commented 5 months ago

Hi @aphillips ,

Some of the i18n-activity issues would get a subset of the following labels: 'tf:i18n-sealreq', 'ig:i18n', 'wg:i18n-core', 'tf:i18n-hlreq', 'tf:i18n-jlreq', 'tf:i18n-mlreq', 'tf:i18n-tlreq'.

Is that desired or should I filter those out?

aphillips commented 5 months ago

@plehegar I think you can filter those. We already have tags explicitly for that and we know where those issues come from in any event.

plehegar commented 5 months ago

ok, we're not automatic yet but I have code that populated the horizontal issues, for example:

The group attribution is based on what a repository claims. Those claims are processed and gathered and are used in various context.

If the current result seems satisfying, I will:

  1. make it automatic
  2. update the documentation.
  3. add a board to display all of the horizontal issues associated with a Group (similar to the one we have for a specification)
plehegar commented 5 months ago

would it be useful to have labels for outside organizations, like 'whatwg', 'ietf' ?

aphillips commented 5 months ago

The examples (distributed-tracing and wicg) look good!

I think that outside organizations would be useful, notably whatwg

plehegar commented 4 months ago

short update: I added the handling for 'whatwg'. IETF isn't much of a use case yet.

aphillips commented 4 months ago

Looks pretty good. I noticed a bug: s:infra didn't get picked up as whatwg

plehegar commented 4 months ago

one remaining TODO: add the Group even if the issue doesn't link to another GH repo yet, eg https://github.com/w3c/i18n-activity/issues/192