-
Notifications
You must be signed in to change notification settings - Fork 20
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
Implement legacy path pattern: IETF Internet-Drafts (bibxml3
, bibxml-id
)
#13
Comments
@ronaldtse where is legacy/XML data repository for bibxml3 in https://github.com/ietf-ribose? |
@strogonoff the data source is not available yet for bibxml3/bibxml-ids. |
Legacy path specification described here: ietf-ribose/bibxml-data-ids#1
|
Note: we don’t parse name or rev from data, the only formatting variable available in legacy path pattern currently is {ref} representing our canonical reference obtained from filename. Support for more formatting variables will be filed separately. |
|
Let me clarify:
Are the legacy paths for the BibXML service, currently defined here: This is code from the Datatracker service given by @rjsparks: url(r'^bibxml3/%(name)s(?:-%(rev)s)?.xml$' % settings.URL_REGEXPS, views_doc.document_bibxml), The source is: The Datatracker service is the "authoritative" endpoint for I-D documents. |
|
|
Ah, great… I think that means #28 would be unnecessary so far. |
Although, if filenames in our future |
The Relaton models for IETF ID and NIST differ a lot. So let's not make that comparison. |
Here is a report for a random subset of 128 paths (out of 90k+ total) under Most paths seem to fall back to original xml2rfc data, others resolve automatically to correct new bibitems in Testing all paths would take a while and incur many requests to Datatracker (part of path resolution logic) and xml2rfc tools (for reference comparison), but could be done. |
If needed, we could build a self-contained test instance with all the needed components (dev instance of the datatracker, etc) and do walk of the entire dataset without affecting the production datatracker, and (I assume) not needing significant other external I/O. |
Absolutely, this could help. Right now to use a different URL than “https://datatracker.ietf.org” as Datatracker API root requires a change in the code ( Otherwise there should be no issues. The test script can be passed a local BibXML service instance’s URL:
|
for the datatracker, you can build a local dev copy quickly. Just clone the datatracker repo and run (cd docker; ./run). |
IETF Internet-Drafts (
bibxml3
,bibxml-id
)Legacy pattern(s) to implement:
We need to parse the pattern to return the appropriate BibXML content.
The text was updated successfully, but these errors were encountered: