Closed LPardue closed 2 years ago
This looks like an amazing and life-changing approach that I would love to apply, but when I build locally I get errors.
Can you say more about this "update your tooling" idea? I did a pip install --upgrade xml2rfc
, but no joy. What am I missing that makes it say this?:
$ make
cat draft-jholland-quic-multicast.md | kramdown-rfc2629 --v3 | lib/add-note.py | xml2rfc -q -s 'Setting consensus="true" for IETF STD document' --rfc-base-url https://www.rfc-editor.org/rfc/ --id-base-url https://datatracker.ietf.org/doc/html/ --cache=/Users/jholland/.cache/xml2rfc --v2v3 /dev/stdin -o /dev/stdout >draft-jholland-quic-multicast.xml
*** attributes left {"v"=>3, "venue"=>{"group"=>"QUIC", "type"=>"Individual Draft", "mail"=>"quic@ietf.org", "arch"=>"https://mailarchive.ietf.org/arch/browse/quic/", "github"=>"GrumpyOldTroll/draft-jholland-quic-multicast", "latest"=>"https://GrumpyOldTroll.github.io/draft-jholland-quic-multicast/draft-jholland-quic-multicast.html"}}!
/Users/jholland/.cache/xml2rfc/reference.I-D.draft-krose-multicast-security.xml: renewing (stale by 3.7 days)
/Users/jholland/.cache/xml2rfc/reference.I-D.draft-ietf-mboned-ambi.xml: renewing (stale by 3.7 days)
/Users/jholland/.cache/xml2rfc/reference.I-D.draft-ietf-mboned-cbacc.xml: renewing (stale by 3.7 days)
/Users/jholland/.cache/xml2rfc/reference.I-D.draft-ietf-quic-multipath.xml: renewing (stale by 3.7 days)
/Users/jholland/.cache/xml2rfc/reference.I-D.draft-ietf-webtrans-http3.xml: renewing (stale by 3.7 days)
/Users/jholland/.cache/xml2rfc/reference.I-D.draft-ietf-masque-h3-datagram.xml: renewing (stale by 3.7 days)
xml2rfc -q -s 'Setting consensus="true" for IETF STD document' --rfc-base-url https://www.rfc-editor.org/rfc/ --id-base-url https://datatracker.ietf.org/doc/html/ --cache=/Users/jholland/.cache/xml2rfc draft-jholland-quic-multicast.xml -o draft-jholland-quic-multicast.txt --text --no-pagination
draft-jholland-quic-multicast.xml(0): Error: IDREF attribute target references an unknown ID "Section_19.1_of_RFC9000", at None
draft-jholland-quic-multicast.xml(0): Error: IDREF attribute target references an unknown ID "Section_7.3_of_RFC8446", at None
draft-jholland-quic-multicast.xml(0): Error: IDREF attribute target references an unknown ID "Section_7.3_of_RFC8446", at None
draft-jholland-quic-multicast.xml(0): Error: IDREF attribute target references an unknown ID "Section_18.2_of_RFC9000", at None
draft-jholland-quic-multicast.xml(0): Error: IDREF attribute target references an unknown ID "Section_2.2_of_RFC9000", at None
draft-jholland-quic-multicast.xml(0): Error: IDREF attribute target references an unknown ID "Section_19.11_of_RFC9000", at None
draft-jholland-quic-multicast.xml(0): Error: IDREF attribute target references an unknown ID "Section_4.6_of_RFC9114", at None
draft-jholland-quic-multicast.xml(0): Error: IDREF attribute target references an unknown ID "Section_4_of_RFC9221", at None
draft-jholland-quic-multicast.xml(0): Error: IDREF attribute target references an unknown ID "Sections_4.6_and_19.14_of_RFC9000", at None
draft-jholland-quic-multicast.xml(0): Error: IDREF attribute target references an unknown ID "Section_12.2_of_I-D.draft-ietf-quic-multipath", at None
draft-jholland-quic-multicast.xml(0): Error: IDREF attribute target references an unknown ID "Section_10_of_RFC9000", at None
draft-jholland-quic-multicast.xml(0): Error: IDREF attribute target references an unknown ID "Section_17.3.1_of_RFC9000", at None
draft-jholland-quic-multicast.xml(0): Error: IDREF attribute target references an unknown ID "Section_17.1_of_RFC9000", at None
draft-jholland-quic-multicast.xml(0): Error: IDREF attribute target references an unknown ID "Section_4.1.1_of_RFC8085", at None
draft-jholland-quic-multicast.xml(0): Error: IDREF attribute target references an unknown ID "Section_19.4_of_RFC9000", at None
draft-jholland-quic-multicast.xml(0): Error: IDREF attribute target references an unknown ID "Section_19.2_of_RFC9000", at None
draft-jholland-quic-multicast.xml(0): Error: IDREF attribute target references an unknown ID "Section_5.2_of_RFC9000", at None
draft-jholland-quic-multicast.xml(0): Error: IDREF attribute target references an unknown ID "Section_5_of_RFC9000", at None
draft-jholland-quic-multicast.xml(0): Error: IDREF attribute target references an unknown ID "Section_6_of_RFC4607", at None
draft-jholland-quic-multicast.xml(0): Error: IDREF attribute target references an unknown ID "Section_2.1_of_RFC9000", at None
draft-jholland-quic-multicast.xml(0): Error: IDREF attribute target references an unknown ID "Section_19.8_of_RFC9000", at None
draft-jholland-quic-multicast.xml(0): Error: IDREF attribute target references an unknown ID "Section_4.1_of_RFC8085", at None
/Users/jholland/src/github/draft-jholland-quic-multicast/draft-jholland-quic-multicast.xml(13): Error: Invalid document before running preptool.
Unable to complete processing draft-jholland-quic-multicast.xml
make: *** [draft-jholland-quic-multicast.txt] Error 1
rm draft-jholland-quic-multicast.xml
OK, nm. sudo gem install kramdown-rfc
fixed it, thanks. I've been wanting this since the recent changes to the submit page, and didn't know what had happened.
You won't believe this one cool trick that will change your life*