For wildcard / globbing support in the dependabot.yml file, what behavior would you expect to see if directories overlap? #9823
Replies: 4 comments 1 reply
-
More specific should take priority.
|
Beta Was this translation helpful? Give feedback.
-
Can you expand on how this would work? Maybe an example of a configuration? |
Beta Was this translation helpful? Give feedback.
-
I would expect each entry to be applied sequentially. If I add the If I add the Negation functionality would be great, but there can still be bad configurations that introduce overlaps. Sequentially applying the rules will give predictability. UPDATE: Having said that, I could also understand if the rules were applied sequentially, and the first matching rule is used. |
Beta Was this translation helpful? Give feedback.
-
Thank you for all of your input! This validates to us that there are a number of different ways to support wildcard / globbing. We really like a lot of the ideas threaded too. We're going to start with this functionality. Starting here will get globbing out the fastest, and it doesn't prevent us later from using another strategy like a specificity algorithm or sequential execution order in the future.
|
Beta Was this translation helpful? Give feedback.
-
A quick informal straw poll for a gut check: what behavior would you expect to see if directories overlap?
I.e.
Given an existing configuration file like 👇
And a user adds the following entry 👇
When would you expect or want Dependabot to run? And who would you expect or want to be assigned as a reviewer?
29 votes ·
Beta Was this translation helpful? Give feedback.
All reactions