-
Notifications
You must be signed in to change notification settings - Fork 652
Cleanup go.sum #364
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
Comments
Hi @grosser ,
I don't think it would slow down installation or increases binary size. And I don't think multiple versions in go.sum hurts anything (other than a few Bytes of storage on the repository :) ). The closest tool I can think of to trim them, is to run One thing to note out is that even The current opinion of the upstream folks is that the historical version checksums in go.sum is intended. We will see how it goes. But I think the bottom line is, we can follow upstream's decision, and just use the I also thought about adding a presubmit test or automation to run So I think the best way is to NOT automate this, unless we can have a good understanding of the build tags that people are using. For now, I think we should just do a manual trim once a while (since it really doesn't hurt anything major). |
/assign @xueweiz |
👍 yeah not worth the effort I guess |
there are so many duplicated dependencies in there, which
for example:
I'd propose some CI step that makes sure it is only using 1 version per dependency ... does that make sense ?
The text was updated successfully, but these errors were encountered: