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

Add/Fix META.yml files to ease specs to WPT mapping #26970

Merged
merged 1 commit into from
Dec 21, 2020

Conversation

tidoust
Copy link
Contributor

@tidoust tidoust commented Dec 21, 2020

I am trying to map specs listed in w3c/browser-specs to their test suites in WPT. Thanks to META.yml files, I can map about 200 specs in that list directly to a WPT folder based on the spec's URL. I can also associate 30 other specs with WPT folders that do not link to a spec explicitly based on the spec's shortname.

There remain 32 cases for which the spec and folder cannot be directly associated because:

  1. The URL in the META.yml file is not the right one, either because it targets an outdated version of the spec (e.g. because the spec has migrated from WICG to a working group), because it targets the GitHub repository instead of the spec itself, or simply because it is invalid.
  2. There is no spec URL in the META.yml file or there is no META.yml file, and the folder's name does not match the spec's shortname.

This pull request fixes these cases.

I would also be happy to add META.yml files for the 30 folders that do not expose a URL and that I can only map based on their name, so that the mapping uses a consistent mechanism throughout. Should I complete the PR? Here is the list:

List of folders that can only be mapped to a spec based on their name

I note that there exist both a lifecycle and a page-lifecycle folder for the Page Lifecycle specification. Is that intended?

Linked to w3c/browser-specs#201

This commit fixes `spec` entries in `META.yml` files that were pointing to the
wrong URL (either because the URL is a broken link, redirects to a newer URL,
or targets the GitHub repository instead of the spec itself), so that it becomes
easier to map specifications to WPT folders based on the URL of their
Editor/Living Draft.

This commit also adds several `META.yml` files to folders that cannot easily be
mapped to a spec because their name does not match the spec's shortname.
@foolip
Copy link
Member

foolip commented Dec 21, 2020

Awesome, thanks @tidoust!

Since touching many directories will subscribe lots of people, I'll merge this. Please feel free to open another PR for the remaining cases, that would be much appreciated!

@foolip foolip merged commit d3d67f3 into web-platform-tests:master Dec 21, 2020
@web-platform-tests web-platform-tests deleted a comment Sep 15, 2021
Copy link

@protechq88 protechq88 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BackgroundSync/META.yml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants