Dependabot-core: Ability to define update groups (monorepos)

Created on 22 Jun 2019  路  6Comments  路  Source: dependabot/dependabot-core

With Greenkeeper, one cool feature is that I can have it update a dependency across multiple packages in the same repo in a single PR.

In the config you would create these groups and they would be (example for JavaScript) an array containing paths to the package root relative to the repository's root

Most helpful comment

馃憢 Supporting ways to group pull requests is high on our list of enhancements to add to Dependabot as soon as our team gets the capacity to focus on them.

All 6 comments

We have some repos using Renovate and it seems to have similar capabilities - our devs would like to have the ability to group minor and major upgrades separately:

I don't think it offers a convenient way to split out minor package upgrades from major ones (see "Groups" https://renovatebot.com/docs/presets-group/)

Current:
Screen Shot 2019-09-24 at 4 51 54 PM

Expected:
Screen Shot 2019-09-24 at 4 52 07 PM

I don't think I explained this well enough. What I want is an option so that dependabot only opens one PR which updates a given dependency across all the packages in a monorepo instead of one per package in that repo

Agreed. Dependabot is much better than greenkeeper in many ways, but this is something I miss after migrating away from greenkeeper very much. Having to merge separate PRs for what is ultimately a single update (eg. babel, jest, react) causes all sorts of rebase conflicts, etc...

馃憢 Supporting ways to group pull requests is high on our list of enhancements to add to Dependabot as soon as our team gets the capacity to focus on them.

Duplicate of #1190

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bennycode picture bennycode  路  3Comments

rafaelrocha-hotmart picture rafaelrocha-hotmart  路  4Comments

v1sion picture v1sion  路  3Comments

artzag picture artzag  路  3Comments

kiprasmel picture kiprasmel  路  3Comments