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

fix: Set authors when publishing an RFC #6957

Merged
merged 3 commits into from Jan 23, 2024

Conversation

jennifer-richards
Copy link
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
5 of 7 checks passed
@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.

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