-
Notifications
You must be signed in to change notification settings - Fork 32
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
Use source.config instead of configuration #1889
Conversation
The "global" `configuration` is deprecated. Instead, the `config` attribute for a certain policy source should be used. This commit updates acceptance tests and docs to use the new format. Ref: EC-688 Signed-off-by: Luiz Carvalho <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1889 +/- ##
=======================================
Coverage 80.79% 80.79%
=======================================
Files 68 68
Lines 5050 5050
=======================================
Hits 4080 4080
Misses 970 970
Flags with carried forward coverage won't be shown. Click here to find out more.
|
], | ||
"include": [ | ||
"always_checked", | ||
"@salsa_one_collection" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Out of scope, but I wondered - is this an intentional or unintentional comedy misspelling?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exclude: [] | ||
config: | ||
include: | ||
- '@minimal' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure what the behavior is when both legacy "collections" and "include" are set, but should this be as follows?
- '@minimal' | |
- "*" |
to match line 761 before this PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe it's inconsequential.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a good question. Arguably, even the old example was a bit odd. I think this probably better captures the intent.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, that was a lot!
The "global"
configuration
is deprecated. Instead, theconfig
attribute for a certain policy source should be used.This commit updates acceptance tests and docs to use the new format.
Ref: EC-688