Skip to content
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

[IMP] Advanced filtering #21

Merged
merged 4 commits into from
Jul 17, 2024
Merged

[IMP] Advanced filtering #21

merged 4 commits into from
Jul 17, 2024

Conversation

fkantelberg
Copy link
Member

@fkantelberg fkantelberg commented Jul 15, 2024

This change allows the module filtering to be overrules by more specific rules. Following example:

repos:
  parts/test:
    modules:
      - "!ab*"
      - "a*"
      -  "abc*
  • Module ab is forbidden because the !ab* blacklist rule is more specific than the a* rule
  • Module abcd is allowed because the abc* whitelist rule is more specific than the !ab* rule

Additionally the application of the default repository is moving to the post processing of the config.

@fkantelberg fkantelberg merged commit 71f2206 into master Jul 17, 2024
1 check 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.

2 participants