Re:Dependencies Belong in Version Control
by reactordev on Monday November 27, 2023 @04:18AM
(#38430071)
Git submodules work flawlessly for me because I use them correctly. So YMMV. There’s plenty of documentation out there on how to do a git clone —recursive or git submodule update —init —recursive
Never edit the code in the submodules, edit them in the parent repos where they properly live. Your repo is for your code only. Don’t go wandering:editing in those submodules.
For CVEs, if you use docker images you need to rebuild and redeploy all images which isn’t particularly different from updating committed code.
If you’ve modified a library you have to merge changes any which way. So not sure what difference it makes.
Checking in GPU drivers probably doesn’t make sense. That’s closer to Docker territory at least. Haven’t run into a case where I’ve wanted/needed to do that so no strong opinion.