3 ms·
Even with git, it should be possible to grab the single file needed without the rest of the repo, but i'ts still trying to round a square peg.
by jayd16 10mo ago
Even with git, it should be possible to grab the single file needed without the rest of the repo, but i'ts still trying to round a square peg.
- skywhopper 10mo agoHonestly I think the article is a bit ahistorical on this one. ‘go get’ pulls the source code into a local cache so it can build it, not just to fetch the go.mod file. If they were having slow CI builds because they didn’t or couldn’t maintain a filesystem cache, that’s annoying, but not really a fault in the design. Anyway, Go improved the design and added an easy way to do faster, local proxies. Not sure what the critique is here. The Go community hit a pain point and the Go team created an elegant solution for it.
- everforward 10mo agoI was thinking this too. I think it might be talking about operations like “go mod tidy” or update operations where it updates your go.mod/sum but doesn’t actually build the code. I would guess enterprise tools do a lot of checking whether there are updates without actually doing any building.