2 ms·
> And unless you put in the effort to archive those dependencies yourself go makes this extremely easy to do https://go.dev/ref/mod#go-mod-vendor https://go.d
by xyst 3y ago
> And unless you put in the effort to archive those dependencies yourself
go makes this extremely easy to do
https://go.dev/ref/mod#go-mod-vendor https://go.dev/ref/mod#go-mod-vendor
rust tool chain also includes a vendor dependency process
https://doc.rust-lang.org/cargo/commands/cargo-vendor.html https://doc.rust-lang.org/cargo/commands/cargo-vendor.html
- bbkane 3y agoDo you use this and check in vendored code? I don't, maybe I should
- josephg 3y agoReading this thread makes me think about archiving my code too. I have backups of my project folders going back to the 90s when I started programming. But I often delete node_modules and other build artifacts before archiving because that stuff takes up so much space. But maybe it’s worth going through and actively and explicitly downloading all those dependencies too. Who knows when npm will get hacked again, or old package versions will get yanked. Disk space is cheap. I’ve written a lot of code over the years. It would be nice to know it all still runs.