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

fix renovate go.sum updates #428

Open
kranurag7 opened this issue Mar 28, 2024 · 1 comment
Open

fix renovate go.sum updates #428

kranurag7 opened this issue Mar 28, 2024 · 1 comment
Assignees
Labels
good first issue Good for newcomers

Comments

@kranurag7
Copy link
Member

Currently, renovate is not updating go.sum entries correctly. It's adding lines in go.sum files where as similar lines from the previous version needs to be removed as well.

This issue tracks updating renovate config accordingly so that renovate also removes corresponding lines from the previous versions.

I think we should enable tidying here because if we merge additional entries in go.sum only and run go mod tidy or make on main then we get a diff with lines being removed from go.sum

https://docs.renovatebot.com/golang/#module-tidying

Alternative solution would be running a post upgrade task.

https://docs.renovatebot.com/configuration-options/#postupgradetasks

This way we ran an arbitrary command and get the diff in a PR.

@kranurag7 kranurag7 added the good first issue Good for newcomers label Mar 28, 2024
@EraKin575
Copy link
Contributor

I would like to work on this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants