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

What is a standard URL to reference IETF RFC? #1012

Closed
bact opened this issue Jul 26, 2024 · 9 comments · Fixed by #1107 or #1129
Closed

What is a standard URL to reference IETF RFC? #1012

bact opened this issue Jul 26, 2024 · 9 comments · Fixed by #1107 or #1129
Assignees
Milestone

Comments

@bact
Copy link
Collaborator

bact commented Jul 26, 2024

Currently, five styles of referencing IETF RFC found across spdx-spec and spdx-3-model

  1. https://tools.ietf.org/html/rfc1321 - Found in Normative References. Also used by References section in Bob's Word doc 2024-07-22.
  2. http://www.ietf.org/rfc/rfc3986.txt - packageVerificationCodeExcludedFile
  3. https://datatracker.ietf.org/doc/rfc1319/ - HashAlgorithm
  4. https://datatracker.ietf.org/doc/html/rfc7693 - HashAlgorithm
  5. https://www.rfc-editor.org/rfc/rfc4634 - HashAlgorithm

Additionally, there are other two styles of referencing IETF RFCs:

  1. https://www.rfc-editor.org/info/rfc2046 - Used by a bibtex produced from IETF Datatracker (click on "Formats: bibtex" button).
  2. https://doi.org/10.17487/RFC3986 - Digital object identifier (DOI) for RFC, according to RFC 7669

These seven URLs land on different pages, but few of them are actually redirections:

  • (4)-style redirects to (1)-style
  • (7)-style redirects to (6)-style

In terms of functionality, they are all pretty much the same, as all of them (except (2)) have links to different file formats and other pages of the same RFC.

--

Which one should we stick with?

  • Having multiple ways to refer to a single resource may require the automatic production of footnotes/bibliography to aware that all of these are the same. Or we are at risk of producing duplicated references.
  • I'm thinking about (6) as it is the one preferred by IETF themselves. But the downside of (6) (and (3)) is that you cannot link directly to subsection; while (1), (4), and (5) can. For example, https://tools.ietf.org/html/rfc7693#section-4 .
@bact
Copy link
Collaborator Author

bact commented Jul 26, 2024

I'm started to try (6) - the one like this: https://www.rfc-editor.org/info/rfc2046 to few docs, see:

These can be changed upon what we agreed about the URL style.

@zvr
Copy link
Member

zvr commented Jul 26, 2024

I propose we use https://datatracker.ietf.org/doc/rfc1/
As with most of the alternatives, it has links to different formats, if one has a strong preference for viewing.

Of course, consistency is more important than any specific choice we made.

@bobmartin3000
Copy link

Agree on this approach to use https://datatracker.ietf.org/doc/rfc1/

@zvr
Copy link
Member

zvr commented Aug 11, 2024

@bact are we in agreement for https://datatracker.ietf.org/doc/rfcXXXX/ ?

@kestewart
Copy link
Contributor

All the URLs have been standardized in the big PR from Alexios, but still need a discussion to see if need be resolved.

@kestewart kestewart added this to the 3.0.1 milestone Aug 11, 2024
@zvr
Copy link
Member

zvr commented Aug 11, 2024

The References chapter has everything correct, but not all instances inside the other files are. Expect two PRs tomorrow (one in spec repo, one in model).

@bact
Copy link
Collaborator Author

bact commented Aug 11, 2024

I prefer https://www.rfc-editor.org/info/rfcXXX/ (Option 6), only because it is the format used by a bibtex produced from IETF themselves (click on "bibtex" button).

But as both https://datatracker.ietf.org/doc/rfcXXX (Option 3) and https://www.rfc-editor.org/info/rfcXXX (Option 6) are sharing the same disadvantage of not being able to link directly to a subsection of a document, choosing any of them is no difference for me in that respect. So no strong objection against Option 3.

Option 6 is now the only format that is being used in every instances in the spdx-3-model repo -- which should make it easier to be replaced by any other format, if needed.

@goneall
Copy link
Member

goneall commented Aug 27, 2024

Need a PR in the model repo and a PR in the spec Repo.

@bact will create the PRs.

@bact
Copy link
Collaborator Author

bact commented Sep 9, 2024

2 PRs created to update all RFC links to use https://datatracker.ietf.org/doc/rfcXXX format

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