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

Refresh the list of RFCs published under httpwg.org #766

Merged
merged 1 commit into from
Nov 23, 2023

Conversation

tidoust
Copy link
Collaborator

@tidoust tidoust commented Nov 23, 2023

The list was no longer complete as the IETF HTTP WG published a few other RFCs.

Also, the https://httpwg.org/specs page is not such a good source for the list because it fails to list a few specs, and also contains one RFC that is actually not published under https://httpwg.org/specs. The comment explains how to extract the list from the underlying GitHub repository instead.

In terms of updates, this will swap the URL of a few additional RFC entries from www.rfc-editor.org to httpwg.org/specs, notably RFC9110, RFC9111, RFC9112 and RFC9113. That's intended, the httpwg.org/specs versions are more readable, as discussed in: w3c/browser-specs#933

(Side note that updates in browser-specs to align the URLs are upcoming)

The list was no longer complete as the IETF HTTP WG published a few other RFCs.

Also, the https://httpwg.org/specs page is not such a good source for the list
because it fails to list a few specs, and also contains one RFC that is
actually not published under https://httpwg.org/specs. The comment explains how
to extract the list from the underlying GitHub repository instead.

In terms of updates, this will swap the URL of a few additional RFC entries
from `www.rfc-editor.org` to `httpwg.org/specs`, notably RFC9110, RFC9111,
RFC9112 and RFC9113. That's intended, the `httpwg.org/specs` versions are more
readable, as discussed in: w3c/browser-specs#933
tidoust added a commit to w3c/browser-specs that referenced this pull request Nov 23, 2023
Take 3 :)

PR #1135 actually had a couple of issues that made the code essentially useless
because it only ran on a handful of IETF specs:
- the code favored info from Specref over info from IETF
- the code only really applied to drafts due to a buggy RegExp

Fixing these problems yielded a new issue: the assumption that HTTP WG specs
are always available under `httpwg.org` turns out to be wrong. Also, there are
other specs that are not published by the HTTP WG but that still have an
`httpwg.org` version. The code now looks at the actual list of specs in the
underlying GitHub repository: https://github.com/httpwg/httpwg.github.io.

As a result, the nightly URL of all IETF specs that have an `httpwg.org`
version now targets that version, implementing the suggestion in #933 (see
that issue for the list of affected specs). A companion PR was sent to Specref
to implement a similar switch there:
tobie/specref#766

The code also looks at the obsolescence data in datatracker and sets the
`standing` and `obsoletedBy` properties accordingly. This fixes #327.
@dontcallmedom dontcallmedom merged commit f6950b1 into tobie:main Nov 23, 2023
1 check passed
tidoust added a commit to w3c/browser-specs that referenced this pull request Nov 23, 2023
Take 3 :)

PR #1135 actually had a couple of issues that made the code essentially useless
because it only ran on a handful of IETF specs:
- the code favored info from Specref over info from IETF
- the code only really applied to drafts due to a buggy RegExp

Fixing these problems yielded a new issue: the assumption that HTTP WG specs
are always available under `httpwg.org` turns out to be wrong. Also, there are
other specs that are not published by the HTTP WG but that still have an
`httpwg.org` version. The code now looks at the actual list of specs in the
underlying GitHub repository: https://github.com/httpwg/httpwg.github.io.

As a result, the nightly URL of all IETF specs that have an `httpwg.org`
version now targets that version, implementing the suggestion in #937.
A companion PR was sent to Specref to implement a similar switch there:
tobie/specref#766

The code also looks at the obsolescence data in datatracker and sets the
`standing` and `obsoletedBy` properties accordingly. This fixes #327.
@tidoust tidoust deleted the ietf-httpwg-refresh branch February 6, 2024 17:53
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 this pull request may close these issues.

2 participants