Scope wildcard content removal - #1524
Open
daviddavis wants to merge 1 commit into
Open
Conversation
daviddavis
force-pushed
the
distribution-component-modify-wildcards
branch
4 times, most recently
from
September 10, 2026 15:43
b184871 to
1a31fd5
Compare
Define wildcard repository removal according to the supplied distribution and component selectors: - remove_content_units=['*'] with a specified distribution and component removes all content from that release component. - remove_content_units=['*'] with a specified distribution and component='*' removes all content from that distribution. - remove_content_units=['*'] with distribution='*' and component='*' removes every content unit from the repository. - remove_content_units=['*'] without either selector preserves the existing behavior and removes every content unit from the repository. Scoped wildcards are expanded through binary and source package component relationships in the base repository version. Content that remain linked outside the selected scope are preserved, while matching relationships are removed. Also, add validation to prevent release and components from being named `*`, which seems unlikely but could present a real problem. Document the wildcard contract in the modify serializer and changelog, and add functional coverage for component-scoped, distribution-scoped, and complete repository removal. Assisted-by: GitHub Copilot
daviddavis
force-pushed
the
distribution-component-modify-wildcards
branch
from
September 10, 2026 20:03
1a31fd5 to
c66dd80
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Define wildcard repository removal according to the supplied distribution and component selectors:
Scoped wildcards are expanded through binary and source package component relationships in the base repository version. Content that remain linked outside the selected scope are preserved, while matching relationships are removed.
Document the wildcard contract in the modify serializer and changelog, and add functional coverage for component-scoped, distribution-scoped, and complete repository removal.
Assisted-by: GitHub Copilot