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

Add option to run go mod tidy for upstream projects where go.sum is out of sync #47

Open
jfkw opened this issue Apr 15, 2024 · 0 comments

Comments

@jfkw
Copy link
Collaborator

jfkw commented Apr 15, 2024

Some upstream Go projects can have a committed go.mod and go.sum where go.sum is out of sync with missing our outdated entries. Running go mod tidy can often fix these errors.

The best mitigation is to get the go.sum update into the upstream repository and ask for a new tagged release.

obs-service-go_modules will consider an experimental argument to the service to run go mod tidy before go mod vendor to preserve the ability to update and build independently of upstream fixing go.sum in a tagged release.

Running go mod tidy will not be on by default. The capability will not initially be designated as stable API and could be removed in a future release.

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

No branches or pull requests

1 participant