News for hackers. Stuff that matters.
Re:Go Module Mirror and Checksum Database Launched by donatj on Friday August 30, 2019 @10:24AM (#20838888)
Which is what I’m attempting to refute the need for. These are solved and non-problems respectively.
Re:Go Module Mirror and Checksum Database Launched by skybrian on Friday August 30, 2019 @10:38AM (#20839033)
You're saying things work fine for you, but it doesn't follow that they work fine for everyone else. Maybe there are larger Go modules out there than the largest one you've personally built? Or people with slower network access to Github? (Consider China and Australia.) Or maybe they're anticipating that there will be larger Go projects in the future?
Re:Go Module Mirror and Checksum Database Launched by aloknnikhil on Friday August 30, 2019 @10:59AM (#20839246)
Most Go projects are hosted on Github. Github is backed by a global CDN and can handle significantly large projects. I don't think the focus of this project was to address slow network access. It was primarily driven by the need to analyze dependency usage and perhaps add redundancy to some extent.
Re:Go Module Mirror and Checksum Database Launched by FiloSottile on Friday August 30, 2019 @12:28PM (#20840089)
Fetching a module from GitHub often requires cloning the repository, when all you needed was the contents of a specific version, or even just the go.mod to do version resolution. The proxy protocol provides the artifacts you need, for sometimes a 10x bandwidth saving.

(Also, lots of security issues in "go get" came from using git to fetch untrusted repositories.)

Re:Go Module Mirror and Checksum Database Launched by aloknnikhil on Friday August 30, 2019 @02:45PM (#20841369)
Ok that makes sense. Thanks! Also, this sounds like a perfectly neat use case for svn sparse check-out.
Re:Go Module Mirror and Checksum Database Launched by lokar on Friday August 30, 2019 @10:31AM (#20838970)
The point about go.mod only protecting you from changes after you first use it is valid.
Re:Go Module Mirror and Checksum Database Launched by ownagefool on Friday August 30, 2019 @11:44AM (#20839676)
Another reason is what if upstream deletes the package? What if github goes down?

Still, maybe we are better off vendoring packages. At least that would make us consider our use of deps.