Skip to content
This repository has been archived by the owner on Dec 12, 2020. It is now read-only.

How to group bump related dependencies together? #488

Closed
1 of 10 tasks
stephaniewang526 opened this issue Jan 2, 2020 · 2 comments
Closed
1 of 10 tasks

How to group bump related dependencies together? #488

stephaniewang526 opened this issue Jan 2, 2020 · 2 comments

Comments

@stephaniewang526
Copy link

stephaniewang526 commented Jan 2, 2020

Which Renovate are you using? x the right box:

  • Renovate Open Source CLI
  • WhiteSource Renovate App
  • Renovate Pro
  • Other (please write below)

Which platform are you using? x the right box:

  • [ x ] GitHub.com
  • GitHub Enterprise
  • GitLab.com
  • GitLab self-hosted
  • Bitbucket Server
  • Bitbucket Cloud
  • Azure DevOps

Have you checked the logs? Don't forget to include them if relevant

What would you like to do?

Is there a way to group a couple related dependencies together when renovate-bot bumps them?

For instance, I had to raise this PR: googleapis/java-bigquery#46 in order to bump gax, google-core, and auth together. Bumping one by one caused build failure since one is dependent on another - so they needed to be bumped together. This also happens with easyMock and Objenesis -- which should be bumped together.

Please let me know how to configure and what parameters to use to enable this.

Thank you!

@rarkins
Copy link
Collaborator

rarkins commented Jan 3, 2020

Hi @stephaniewang526, were you able to find out the answer on your own, or would you like any help? In short, Renovate uses the config option groupName to group together related packages. Any packages which you think should be always grouped together for everyone (e.g. because they're published from a monorepo) could be added to the app's global presets: https://github.com/renovatebot/presets

Otherwise if they are repository-specific then you can define them in packageRules.

@stephaniewang526
Copy link
Author

stephaniewang526 commented Jan 3, 2020 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants