top | item 41443950

Maybe You Should Commit Everything You Need to Run Your Code

2 points| georgf | 1 year ago |danielantos.com

1 comment

order

pltvss|1 year ago

Great article. I was doing this before with Go projects, and always did "go mod vendor" which downloaded all packages into a vendor folder. But now I let CI do it, as I like to keep the repositories small. You could achieve the same if your code relies on some stable registry cache that ensures over time that your vendor packages are reproducible.