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

Ease discovery based on unversioned URLs #282

Closed
dontcallmedom opened this issue Apr 21, 2021 · 1 comment · Fixed by #291
Closed

Ease discovery based on unversioned URLs #282

dontcallmedom opened this issue Apr 21, 2021 · 1 comment · Fixed by #291

Comments

@dontcallmedom
Copy link
Member

Both release and nightly URLs can existing in versioned and unversioned URLs; browser-spec right now only tracks versioned nightly URLs for e.g. CSS specs, but it is difficult to walk back from an unversioned nightly URL to its current versioned one as tracked in browser-spec (see #279). The series shortname kind of does this, but it requires a lot of implicit knowledge about which types of drafts use that approach.

It would be useful to provide a way to identify a spec based on its unversioned URL.

@dontcallmedom
Copy link
Member Author

Proposal we discussed with @tidoust: add in the series object properties for the unversioned urls when they exist (possibly for both release and nightly)

tidoust added a commit that referenced this issue May 5, 2021
This adds a `releaseUrl` and `nightlyUrl` properties to `series` objects that
target the unversioned URLs.

The properties are set when possible. In many cases, typically when the spec is
a non-leveled spec, they are set to the same URLs as the `release.url` and
`nightly.url` properties.

Generation code remains fairly generic. This seems to work well.

Fixes #282.
tidoust added a commit that referenced this issue May 5, 2021
This adds a `releaseUrl` and `nightlyUrl` properties to `series` objects that
target the unversioned URLs.

The properties are set when possible. In many cases, typically when the spec is
a non-leveled spec, they are set to the same URLs as the `release.url` and
`nightly.url` properties.

Generation code remains fairly generic. This seems to work well.

Fixes #282.
tidoust added a commit that referenced this issue May 5, 2021
This adds a `releaseUrl` and `nightlyUrl` properties to `series` objects that
target the unversioned URLs.

The properties are set when possible. In many cases, typically when the spec is
a non-leveled spec, they are set to the same URLs as the `release.url` and
`nightly.url` properties.

Generation code remains fairly generic. This seems to work well.

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

Successfully merging a pull request may close this issue.

1 participant