glasgow-ipl / ietfdata

Python libraries to access the IETF DataTracker and RFC Index
BSD 2-Clause "Simplified" License
18 stars 13 forks source link

RFC documents no longer have submissions #140

Closed sbenthall closed 8 months ago

sbenthall commented 8 months ago

A few months ago, the following code would report that there were multiple submissions for each of the documents queried:

from ietfdata.datatracker import *
from ietfdata.datatracker_ext import *
import numpy as np

dt = DataTrackerExt()

g = dt.group_from_acronym('quic')
docs = list(dt.documents(group=g, doctype=dt.document_type_from_slug("rfc")))

np.array([len(draft.submissions) for draft in docs])

This made it possible to collect information about the date and authors of the final draft (by looking at the submissions list, ordering it by submission_date, and pulling the author information).

Now it seems that something has changed, and RFC documents appear to, as a rule, have 0 submissions.

What was the change? Is it documented anywhere?

How can one do the following:

Thanks!

csperkins commented 8 months ago

I suspect this is due to https://github.com/ietf-tools/datatracker/releases/tag/12.0.0

Maybe try to find the documents representing the RFCs for a group, then search for related documents with target equal to those documents, relationship became_rfc?

sbenthall commented 8 months ago

Thank you!