Skip to content

fix: Include refs to pre-RFC drafts as refs to the RFC#6784

Merged
rjsparks merged 10 commits intoietf-tools:mainfrom
jennifer-richards:rfc-refs
Dec 18, 2023
Merged

fix: Include refs to pre-RFC drafts as refs to the RFC#6784
rjsparks merged 10 commits intoietf-tools:mainfrom
jennifer-richards:rfc-refs

Conversation

@jennifer-richards
Copy link
Copy Markdown
Member

On the person profile page, fixes ref counts to agree with what was showed pre-RFC model refactoring.

On the doc referencedBy page:

  • includes references to the draft that became the RFC
  • fixes the "As draft-..." badge which was broken during the feat/rfc work due to a confusing shadowed variable name

@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 15, 2023

Codecov Report

Attention: 17 lines in your changes are missing coverage. Please review.

Comparison is base (501a5b8) 88.81% compared to head (12868c9) 88.78%.
Report is 6 commits behind head on main.

Files Patch % Lines
ietf/doc/views_search.py 28.57% 15 Missing ⚠️
ietf/doc/views_doc.py 50.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6784      +/-   ##
==========================================
- Coverage   88.81%   88.78%   -0.04%     
==========================================
  Files         285      285              
  Lines       40291    40324      +33     
==========================================
+ Hits        35785    35800      +15     
- Misses       4506     4524      +18     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

The test_referenced_by_rfcs_as_rfc_or_draft() test
fails because there's a bug!
Let's do include refs to an rfc and its precursor draft
as separate refs. This almost surely indicates a data
error because it would mean an rfc referenced both an
rfc and the draft that it came from. That should never
be allowed, so at least let some light fall on it if
it happens.
Comment thread ietf/doc/views_doc.py
@rjsparks rjsparks merged commit 149f82f into ietf-tools:main Dec 18, 2023
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Dec 22, 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