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

Fix and improve processing of IETF specs #1138

Merged
merged 1 commit into from
Nov 23, 2023
Merged

Fix and improve processing of IETF specs #1138

merged 1 commit into from
Nov 23, 2023

Conversation

tidoust
Copy link
Member

@tidoust tidoust commented 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.

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.
@tidoust tidoust merged commit e67ff26 into main Nov 23, 2023
1 check passed
@tidoust tidoust deleted the ietf-take-3 branch November 23, 2023 19:07
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.

Detect when IETF specs gets obsoleted / replaced by another one
2 participants