renovate
renovate copied to clipboard
feat(autodiscover)!: move autodiscovery filter from string to array
Changes
Change type of autodiscoverFilter
from string to array.
Context
tracking issue: https://github.com/renovatebot/renovate/issues/8763 Supersedes #13100
This is a breaking change which affects administrators running a self hosted instance which uses CLI or ENV for filter configuration and uses ,
.
e.g. this forces admins which uses minimatches like this project/{a,b,c,d,*-app}
to migrate to regex ( /project/(a|b|c|d|.*-app)/
) or to use a config file.
Documentation (please check one with an [x])
- [x] I have updated the documentation, or
- [ ] No documentation update is required
How I've tested my work (please tick one)
I have verified these changes via:
- [ ] Code inspection only, or
- [ ] Newly added/modified unit tests, or
- [ ] No unit tests but ran on a real repository, or
- [x] Both unit tests + ran on a real repository
Does it even make sense to have more than one negation?
no, but users tend to think they can do it now. so we should document it's not possible.
I'm currently trying to use the list and the renovate-config-validator is saying that the array on my json file should be a string.
ERROR: config.json contains errors
"errors": [
{
"topic": "Configuration Error",
"message": "Configuration option `autodiscoverFilter` should be a string"
}
]
Is this a problem with the validator, my config or just not available yet?
this isn't yet released, so you can't use it.
Is this gonna get merged anytime soon? I'm currently trying to set up a pretty big deployment of renovate and would like to use this feature asap