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

Regression: tools->datatracker: no access to drafts XML from datatracker #3308

Closed
ietf-svn-bot opened this issue Jun 16, 2021 · 8 comments
Closed

Comments

@ietf-svn-bot
Copy link

keyword_regression owner:krathnayake@ietf.org resolution_fixed type_defect | by tte+anima@cs.fau.de


Datatracker does not provide access to the XML version of drafts once they have become RFC. This may have never ben the case, but it was provided for on tools.ietf.org, so users could easily access XML of drafts via their tools.ietf.org web page. Since this year, those URLs redirect to datatracker, where this is not possible anymore.

Example:
https://datatracker.ietf.org/doc/draft-ietf-anima-autonomic-control-plane/27/
There is no link to the XML of this document to be found on this page. Nevertheless, it does of course exist:
https://www.ietf.org/archive/id/draft-ietf-anima-autonomic-control-plane-27.xml

Note that this problem only applies to documents that have turned RFC. Before they are RFC, dataracker correctly shows the XML links, e.g.:
https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-cache-16

The html'ized renderings of RFC since the new RFC formatting are missing hotlinks from the section numbers in the TOC to the sections. The tags for those missing hotlinks still exist, and the section titles still use them.

Example:
https://datatracker.ietf.org/doc/html/rfc8994

Table of Contents
1. Introduction (Informative)
^^ No hotlink

Compare to older RFC:
https://datatracker.ietf.org/doc/html/rfc7994
Table of Contents
1. Introduction .................................2
^^ Hotlink

These hotlinks would be the only option to navigate from TOC to a section in question.


Issue migrated from trac:3308 at 2022-03-04 08:43:11 +0000

@ietf-svn-bot
Copy link
Author

@krathnayake@ietf.org commented


This is because datatracker looks at the path defined in settings.INTERNET_DRAFT_PATH for 'txt', 'html', 'xml', 'pdf' and 'ps' formats of IDs.
But when a draft is expired it's moved from settings.INTERNET_DRAFT_PATH to path defined in settings.INTERNET_DRAFT_ARCHIVE_DIR.

I assume fix for this issue and #3309 is using settings.INTERNET_DRAFT_ARCHIVE_DIR for the expired drafts.

NOTE: pdf (only if file is not found in the settings.INTERNET_DRAFT_PATH), htmlized and bibtex entries get artificially injected for IDs.

@ietf-svn-bot
Copy link
Author

@rjsparks@nostrum.com commented


The right thing to do is always use INTERNET_DRAFT_ARCHIVE_DIR for this view - the current versions of the draft are already in the archive. The view will do the right thing when looking at older versions as well.

@ietf-svn-bot
Copy link
Author

@krathnayake@ietf.org changed status from new to assigned

@ietf-svn-bot
Copy link
Author

@krathnayake@ietf.org set owner to krathnayake@ietf.org

@ietf-svn-bot
Copy link
Author

@krathnayake@ietf.org changed status from assigned to closed

@ietf-svn-bot
Copy link
Author

@krathnayake@ietf.org set resolution to fixed

@ietf-svn-bot
Copy link
Author

@krathnayake@ietf.org commented


Fixed in 6b9f088:

Use INTERNET_ALL_DRAFTS_ARCHIVE_DIR serve all IDs. Fixes #3308 and #3309. Commit ready for merge.

@ietf-svn-bot
Copy link
Author

@rjsparks@nostrum.com commented


Fixed in 688f938:

Merged in 6b9f088 from krathnayake@ietf.org:
Use INTERNET_ALL_DRAFTS_ARCHIVE_DIR serve all IDs. Fixes #3308 and #3309.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant