Skip to content

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

Merged
rjsparks merged 21 commits into
ietf-tools:feat/rfcfrom
jennifer-richards:canonical-name-dechartering
Jun 14, 2023
Merged

refactor: Do not use canonical_name() for charters#5818
rjsparks merged 21 commits into
ietf-tools:feat/rfcfrom
jennifer-richards:canonical-name-dechartering

Conversation

@jennifer-richards

Copy link
Copy Markdown
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

codecov Bot commented Jun 13, 2023

Copy link
Copy Markdown

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