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

Final changes for RFC 9420 #885

Merged
merged 7 commits into from
Jul 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@ venv/
lib
draft-ietf-mls-protocol.xml
draft-ietf-mls-protocol.tls

# AUTH48 temporary artifacts
auth48/rfc9420.gen.xml
28 changes: 28 additions & 0 deletions auth48/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
DRAFT=draft-ietf-mls-protocol
RFC=9420
RFC_ED_URL="https://www.rfc-editor.org/authors/rfc${RFC}.xml"

.PHONY: prepare gen diff

init:
curl -s ${RFC_ED_URL} | \
xmllint --exc-c14n - | \
xmllint --format - \
>rfc${RFC}.authors.xml

gen: rfc${RFC}.gen.xml

rfc${RFC}.gen.xml: ../${DRAFT}.md
make -C .. ${DRAFT}.xml
mv ../${DRAFT}.xml .
python3 xml-clean.py <${DRAFT}.xml | \
xmllint --exc-c14n - | \
xmllint --format - | \
python3 text-clean.py >rfc${RFC}.gen.xml
rm ${DRAFT}.xml

diff: rfc${RFC}.authors.xml rfc${RFC}.gen.xml
mvim -d rfc${RFC}.gen.xml rfc${RFC}.authors.xml

clean:
rm rfc${RFC}.gen.xml
Loading