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

Replace Dependabot with Renovate #478

Open
mkilchhofer opened this issue Oct 21, 2024 · 0 comments
Open

Replace Dependabot with Renovate #478

mkilchhofer opened this issue Oct 21, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@mkilchhofer
Copy link
Collaborator

mkilchhofer commented Oct 21, 2024

Background

We often receive a Dependabot PR where we manually need to ammend more things like

  • run "go mod tidy"
  • commit and push

Example PRs:

Requested changes

I propose that we completely replace Dependabot with Renovate. Renovate offer much more flexibility like

  • run "go mod tidy" before pushing the changes

  • pin specific deps

  • Replace massaging

    Replace massaging

    Renovate can massage replace statements it finds prior to running go commands, and then massage them back afterwards.
    This capability was added - and originally default behavior - because relative replace statements outside of the current repo will not work when Renovate clones the repo locally.

    On the other hand, this massaging of replace statements may lead to unexpected results, especially because go mod tidy may not fully tidy the go.sum if it is missing the replace directives in go.mod.
    It has therefore been disabled by default.

    To enable this replace massaging behavior, add gomodMassage to your postUpdateOptions array.


Created a discussion in the Slack channel to enable it for this repo:

https://cloud-native.slack.com/archives/C022F03E6BD/p1729502385131449

FYI @the-technat @oboukili @blakepettersson @onematchfox

@mkilchhofer mkilchhofer added the enhancement New feature or request label Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant