Support multiple directories to bump the same package across dependency files #3856
Labels
F: grouped-updates 🎳
Relates to bumping more than one dependency in a single PR
F: monorepo 📦
Issues related to bumping a dep in manifests from multiple apps
T: feature-request
Requests for new features
Workaround 🔁
Workaround for an upstream bug or unsupported feature
In https://github.com/web-platform-tests/wpt we track Python dependencies with a number of files named requirements_*.txt across directories, since the project is used in a number of different contexts (mostly browser engines like Chromium, Gecko and WebKit) where only a subset of the dependencies are needed.
We switched from pyup to Dependabot in web-platform-tests/wpt#29161, and quickly found that Dependabot is creating separate pull requests for the same dependency across files, for example web-platform-tests/wpt#29223 + web-platform-tests/wpt#29227 or web-platform-tests/wpt#29219 + web-platform-tests/wpt#29224 + web-platform-tests/wpt#29225.
We want those dependencies to stay in sync, so it would be much better if they were updated together. Unfortunately, there doesn't seem to be a way to specify multiple directories. This was the state of our config when the PRs were created:
https://github.com/web-platform-tests/wpt/blob/f44fd9953ebdbe8ef90ddf3bae8daaaa0173a92c/.github/dependabot.yml
Note that this is not the same request as #2178, wildcards would not help us since there's no pattern that would match everything we want to update and still exclude all the things we don't want to touch (third party code).
The text was updated successfully, but these errors were encountered: