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

refactor: Do not use canonical_name() for charters #5818

Merged

Conversation

jennifer-richards
Copy link
Member

Removes the special case for charter type documents from canonical_name(). Uses of canonical_name() are replaced with charter.name or the equivalent. Prevents creation of charter Document instances with names not matching the expected format.

@codecov
Copy link

codecov bot commented Jun 13, 2023

Codecov Report

Merging #5818 (153c5ad) into feat/rfc (518aedb) will increase coverage by 0.03%.
The diff coverage is 80.72%.

@@             Coverage Diff              @@
##           feat/rfc    #5818      +/-   ##
============================================
+ Coverage     88.65%   88.69%   +0.03%     
============================================
  Files           288      288              
  Lines         39950    39922      -28     
============================================
- Hits          35419    35407      -12     
+ Misses         4531     4515      -16     
Impacted Files Coverage Δ
ietf/doc/models.py 89.01% <ø> (+0.14%) ⬆️
ietf/group/milestones.py 86.36% <0.00%> (ø)
ietf/secr/utils/group.py 91.30% <ø> (+22.88%) ⬆️
ietf/group/utils.py 93.66% <75.00%> (-0.51%) ⬇️
ietf/doc/views_charter.py 89.13% <80.88%> (+0.28%) ⬆️
ietf/doc/utils_charter.py 93.63% <100.00%> (-0.05%) ⬇️

... and 2 files with indirect coverage changes

@rjsparks rjsparks merged commit c8dcda0 into ietf-tools:feat/rfc Jun 14, 2023
@jennifer-richards jennifer-richards deleted the canonical-name-dechartering branch June 14, 2023 13:38
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 18, 2023
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.

2 participants