Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Per dependency bump schedule #2165

Open
RohanNagar opened this issue Apr 8, 2019 · 17 comments
Open

Per dependency bump schedule #2165

RohanNagar opened this issue Apr 8, 2019 · 17 comments
Labels
F: configuration-file F: noise related to Dependabot being noisy, or initiatives to make Dependabot quieter Keep Exempt this from being marked by stalebot T: feature-request Requests for new features

Comments

@RohanNagar
Copy link

I'm not sure if there is already an open issue/backlog item for this, but it would be nice to be able to set bump schedules on a per-dependency basis.

For example, I typically want daily updates to my repositories so I can get the latest packages asap, except there are a few dependencies that release daily that I don't want to have to review and merge every day. For these few dependencies (usually AWS packages), I would want them to be bumped weekly or even monthly.

Right now I have this repository set to bump weekly because of those frequently updated packages, so I get a big dump of everything on Mondays. It would be nice to change it to daily for all packages except the frequently updated ones.

Thanks for all your work on dependabot!

@greysteil
Copy link
Contributor

greysteil commented Apr 10, 2019

Interesting, thanks for the feedback. Sounds like it would be nice to have a middle ground that stops short of asking Dependabot to completely ignore a dependency.

I'll have a think on this - we could possibly add a custom_schedules section to the the config file to support it. It's not likely to be something we add before June (we have our work cut out) but I'll keep this open and revisit next time we're prioritising.

Thanks for using Dependabot!

@BPScott
Copy link

BPScott commented May 17, 2019

Hi folks,

Popping in to say this my team would find this feature really useful too. For context:

I work on the design-system team at my company and we publish a public npm package that is then consumed by the various app repos that make up our web presence. Ideally we want our consumers to be notified of our releases ASAP as we want people to keep up to date. For our biggest consumers we even take responsibility for merging updates as soon as they are released.

At the same time we appreciate our developer buddies would prefer a weekly cadence for other updates so they're not overwhelmed.

It would be fantastic to be able to configure a repository to say:

  • Have a default of update_schedule: 'weekly'
  • Package names matching@shopify/polaris should use update_schedule: 'live'

@GaryGSC
Copy link

GaryGSC commented Oct 23, 2019

Bump.

brenetic referenced this issue in ministryofjustice/fb-runner-node Feb 11, 2020
It turns out that we cannot currently achieve what we would like with
the multiple schedules per package.

There is an issue about it here:

https://github.com/dependabot/feedback/issues/433

But it was closed recently :(

For the moment revert back to how it was.
@foglerek
Copy link

foglerek commented Apr 9, 2020

Any chance this could be considered? It would be very useful for cases where certain dependencies need to be as fresh as possible (such as browserslist/@babel-compat), but most other dependencies should have a weekly or even monthly cadence to reduce noise.

@infin8x infin8x transferred this issue from dependabot/feedback Jun 29, 2020
@infin8x infin8x added the T: feature-request Requests for new features label Jul 2, 2020
@RevolutionTech
Copy link

...we publish a public npm package that is then consumed by the various app repos that make up our web presence. Ideally we want our consumers to be notified of our releases ASAP as we want people to keep up to date...

At the same time we appreciate our developer buddies would prefer a weekly cadence for other updates so they're not overwhelmed.

We have a very similar use case, although just wanted to add that we use Dependabot to update dependencies in the package that we publish and then use Dependabot in the projects that use this package.

Since we update dependencies monthly, the updates for the package and the updates for the projects come at the same time. This really means that unless we manually re-execute Dependabot on all of the projects after updating the package, all of the projects' dependencies from the package will be consistently one month old.

Having the ability to mark our package to be updated as live would be great because then we could update the package first, push out a new version, and then the latest version of the package could be merged in along with the remaining Dependabot PRs for that month without manually running Dependabot on every project.

@feelepxyz feelepxyz added the F: noise related to Dependabot being noisy, or initiatives to make Dependabot quieter label Apr 9, 2021
@tsauvajon
Copy link

tsauvajon commented May 7, 2021

This is also a blocker for us. We want most dependencies to be as fresh as possible, but we have dependencies that are deployed daily, making Dependabot create an insane amount of PRs.

I tried a similar approach as others in this issue or one of the duplicates:

version: 1
update_configs:
  - package_manager: "go:modules"
    directory: "/"
    update_schedule: "live"
    ignored_updates:
      - match:
          dependency_name: "github.com/something/[...]"
      - match:
          dependency_name: "github.com/aws/aws-sdk-go"
  - package_manager: "go:modules"
    directory: "/"
    update_schedule: "weekly"

JWCook added a commit to requests-cache/requests-cache that referenced this issue Jul 28, 2021
@shavo007
Copy link

shavo007 commented Sep 3, 2021

I agree with sentiments here. Otherwise you get whats known as "dep fatigue" (actually i made that up!)

I used renovate before where you could slice and dice as you wish with diff schedules and presets. I was hoping dependabot would do the same.

@jmauerhan
Copy link

Would also appreciate this, we want to look for most updates on a weekly basis, and a few daily.

@JWCook
Copy link

JWCook commented Apr 17, 2022

This is especially relevant for plugin/extension type projects that are closely coupled with another project (typically a framework or other large project). In those cases, I want to bump the version of the "integration" dependency as soon as it's available to test for compatibility, and bump the rest of the dependencies less frequently.

Some non-ideal workarounds include:

  • Use a scheduled workflow in GitHub Actions to regularly test against the latest version of the integration dependency
  • Use dependabot for only the integration dependency and handle other updates manually

@Nezteb
Copy link

Nezteb commented Apr 21, 2022

One of my colleagues wrote a blog post about why this functionality would be useful in dependabot; currently we have a custom CircleCI script for this.

@vishen
Copy link

vishen commented Apr 28, 2022

+1 this is also a requirement for something my team is working on.

@cbrgm
Copy link

cbrgm commented May 24, 2022

Same here, we are using AWS go dependencies in our projects and as they're releasing a new version on a daily basis it's really hard to keep up with dependabot PRs.

@jtrein
Copy link

jtrein commented Nov 4, 2022

+1 would be really useful

@dependabot dependabot deleted a comment from stale bot Feb 6, 2023
@dependabot dependabot deleted a comment from malliapi Feb 6, 2023
@abdulapopoola abdulapopoola added the F: grouped-updates 🎳 Relates to bumping more than one dependency in a single PR label Mar 31, 2023
@abdulapopoola
Copy link
Member

Update: We've started doing some grouped updates work! This particular issue might not be part of the first ship but if you want to track our updates, do follow #1190.

@abdulapopoola
Copy link
Member

Closing this out as we've officially released grouped version updates; please feel free to reopen or reach out if there are more questions or feedback.

@jeffwidman
Copy link
Member

This should get re-opened, the existing grouped version updates functionality doesn't provide this AFAICT.

@elstgav
Copy link

elstgav commented Jan 18, 2024

Agreed— @abdulapopoola or @carogalvin can we reopen this? I don’t believe the grouping feature allows for separate schedules

@carogalvin carogalvin reopened this Jan 18, 2024
@abdulapopoola abdulapopoola removed the F: grouped-updates 🎳 Relates to bumping more than one dependency in a single PR label Apr 18, 2024
@jonjanego jonjanego added the Keep Exempt this from being marked by stalebot label May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F: configuration-file F: noise related to Dependabot being noisy, or initiatives to make Dependabot quieter Keep Exempt this from being marked by stalebot T: feature-request Requests for new features
Projects
Archived in project
Development

No branches or pull requests