3 ms·
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 v
by FiloSottile 7y ago
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.)
- aloknnikhil 7y agoOk that makes sense. Thanks! Also, this sounds like a perfectly neat use case for svn sparse check-out.