wpt-pr-bot icon indicating copy to clipboard operation
wpt-pr-bot copied to clipboard

Automatically apply the "wg-css" label

Open frivoal opened this issue 7 years ago • 6 comments

There's a wg-css label, presumably to label tests that cover specs produced by the css working group.

I believe that at some point, this label was automatically applied to any pull request that contains tests under the css directory, but either that broke down at some point, or it never worked and I just imagined it.

Either way, it would be good to fix that, as that's a useful label, and it would be more useful if it was accurate.

frivoal avatar Apr 30 '18 03:04 frivoal

Or maybe it works, but not reliably. Here's a PR where this had to be added manually: https://github.com/w3c/web-platform-tests/pull/10700

frivoal avatar Apr 30 '18 03:04 frivoal

@frivoal The labelling is done by https://github.com/tobie/ganesh. The fundamental problem is that tr.rdf doesn't consistently include versionless URLs (it mostly does for non-CSS specs, oddly) and it uses that data to attribute directories to WGs; there's some bunch of emails on www-archive somewhere about that omission.

cc/ @tobie

gsnedders avatar Apr 30 '18 11:04 gsnedders

Yeah. Version/edition numbers at W3C are inconsistent even within each WG. Little we can do here except completely rethink Specref to handle it automatically (which no one seems ready to fund) or fix those manually by adding an alias to Specref. I recommend the latter.

tobie avatar Apr 30 '18 11:04 tobie

csswg has standardized to used unversioned shortnames for test directories. Does that mean we just need to add an unversionned alias to every versioned shortname in specref to workaround the problem?

frivoal avatar May 01 '18 02:05 frivoal

Yes.

tobie avatar May 01 '18 05:05 tobie

I don't know what data source we're using now (still specref AFAICT?), but webref at least has the unversioned shortnames as the "series", but doesn't have group affiliation data.

gsnedders avatar Oct 19 '20 14:10 gsnedders