Skip to content

fix: Set authors when publishing an RFC#6957

Merged
rjsparks merged 3 commits intoietf-tools:mainfrom
jennifer-richards:rfc-authors
Jan 23, 2024
Merged

fix: Set authors when publishing an RFC#6957
rjsparks merged 3 commits intoietf-tools:mainfrom
jennifer-richards:rfc-authors

Conversation

@jennifer-richards
Copy link
Copy Markdown
Member

Fixes #6949

Restores pre-v12 behavior- authors are assumed to be the same as the last rev of the draft.

Adds the reset_rfc_authors management command, which can be used to correct RFCs published from drafts. By default, this will not touch an RFC with at least one author, but a --force option will override this. Adds a DocEvent describing the change.

@rjsparks rjsparks merged commit 9782221 into ietf-tools:main Jan 23, 2024
@jennifer-richards jennifer-richards deleted the rfc-authors branch January 23, 2024 15:18

def handle(self, *args, **options):
try:
rfc = Document.objects.get(type="rfc", rfc_number=options["rfcnum"])

This comment was marked as spam.

Comment thread ietf/sync/rfceditor.py
author.id = None
author._state.adding = True
author.document = doc
author.save()

This comment was marked as spam.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jan 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Authors field missing in RFC 9521

3 participants