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

Dependabot alternative: Renovate? #2307

Open
richardebeling opened this issue Oct 14, 2024 · 3 comments
Open

Dependabot alternative: Renovate? #2307

richardebeling opened this issue Oct 14, 2024 · 3 comments
Labels
[C] Infrastructure Infrastructural work around the main EvaP project Discussion This issue requires some discussion and a decision what a solution might look like.

Comments

@richardebeling
Copy link
Member

Things we don't like about dependabot:

  • It can't create grouped pull requests (I think it would make sense to just get one pr per week per eco system)
  • There is no (easy to find) way to prevent unnecessarily spammy lock file updates (I'd like to not have updates of poetry.lock unless there is a security issue -- but if there is a security issue, we should also pull up our version listed in pyproject.toml, so in general we could just have a "never update lock files only" policy)
  • It's configuration might be spread across all comments on github, which isn't really comprehensive or searchable

@Kakadus what's you experience with Renovate? Do you expect these things to work (better)?

@richardebeling richardebeling added the [C] Infrastructure Infrastructural work around the main EvaP project label Oct 14, 2024
@janno42 janno42 added the Discussion This issue requires some discussion and a decision what a solution might look like. label Oct 28, 2024
@Kakadus
Copy link
Collaborator

Kakadus commented Nov 11, 2024

  • Renovate supports grouped updates with their advantages and disadvantages. As we don't have such complex dependencies, we should not have problems with conflicting dependencies.
  • lockfiles are not updated by default (concerning transitive dependencies)
  • rangeStrategy=replace seems to be what we're after: https://docs.renovatebot.com/configuration-options/#rangestrategy
  • renovate's per-repo config can be placed at .github/renovate.json5.
    • Renovate does not support elaborate @renovate commands, instead there is auto rebase, a checkbox for manual rebase. If the PR will be reopened when there is another package update.
    • There is the option for a dependency dashboard issue, which lists all dependencies detected by renovate at all times. Also, there is a way to access the job logs if in depth debugging is required.

Personally, when I used renovate, it felt better than working with dependabot.

@niklasmohrin
Copy link
Member

Renovate also seems to support uv.lock, in case we move to uv2nix

@richardebeling
Copy link
Member Author

Sounds good to me, I'm open to switching.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[C] Infrastructure Infrastructural work around the main EvaP project Discussion This issue requires some discussion and a decision what a solution might look like.
Development

No branches or pull requests

4 participants