Skip to content

fix: name changelog rules that sit directly under a top-level label - #96

Merged
futamura merged 1 commit into
developfrom
fut-506-update-pslpy-do-not-collapse-changelog-rules-whose
Nov 23, 2026
Merged

futamura merged 1 commit into
developfrom
fut-506-update-pslpy-do-not-collapse-changelog-rules-whose

Conversation

@futamura

Copy link
Copy Markdown
Owner

update-psl.py collapsed five or more rules added directly under one TLD into a single fragment such as "5 rules under app". Nearly every .app rule sits under app, so that fragment hid the names and told the reader nothing; #94 had to be reworded by hand to list them.

_patterns now offers a parent-suffix key only when the parent has at least two labels, so a TLD is never the shared parent. Grouping under multi-label suffixes such as azurewebsites.net, the middle-label patterns, and the per-domain grouping are unchanged.

  • Two tests cover rules added and removed directly under a TLD, including a wildcard; both failed before the change.
  • python -m unittest discover -p "test_*.py": 32 tests pass.
  • CLAUDE.md's description of the grouping notes the exception.

Fixes FUT-506

@codecov

codecov Bot commented Nov 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@futamura
futamura merged commit fea4164 into develop Nov 23, 2026
16 checks passed
@futamura
futamura deleted the fut-506-update-pslpy-do-not-collapse-changelog-rules-whose branch November 23, 2026 07:27
@futamura futamura mentioned this pull request Nov 23, 2026
2 of 3 tasks
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.

1 participant