Skip to content

fix: Local PIs need to override global ones, not the other way around #1237

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

Merged
merged 3 commits into from
May 22, 2025

Conversation

cabo
Copy link
Contributor

@cabo cabo commented May 10, 2025

get_relevant_pis searches from local to global, but then uses the most global PI, so a local override doesn't work.

@cabo cabo changed the title Local PIs need to override global ones, not the other way around fix: Local PIs need to override global ones, not the other way around May 10, 2025
@cabo cabo force-pushed the prefer-local-pi branch from 60f3e6c to 62eb778 Compare May 10, 2025 16:18
cabo added a commit to cbor-wg/draft-ietf-cbor-cde that referenced this pull request May 10, 2025
@kesara
Copy link
Member

kesara commented May 12, 2025

@cabo, PR LGTM. I've added a test for this: 8948861

@cabo
Copy link
Contributor Author

cabo commented May 12, 2025

@cabo, PR LGTM. I've added a test for this: 8948861

Thank you!
Can you add a test for two sibling tables that each have a PI to each get the closest preceding PI?

@cabo
Copy link
Contributor Author

cabo commented May 12, 2025

Thank you!

@kesara kesara requested a review from rjsparks May 12, 2025 21:26
@kesara kesara merged commit 9ed2219 into ietf-tools:main May 22, 2025
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants