2 ms·
> This is why it may be worth committing your dependency's sources, despite "best practices" dictating otherwise. Maybe I'm not a hip young web developer but I
by taneq 9y ago
> This is why it may be worth committing your dependency's sources, despite "best practices" dictating otherwise.
Maybe I'm not a hip young web developer but I've always considered "best practice" to be keeping the currently-in-use version of all of your product's dependencies in a repo (either your main one or a separate 'dependencies' repo). If you update the dependency, you test against the new version and check it in if successful.
The idea of letting your build process depend on a third-party library that's downloaded ad-hoc (and may or may not be trustworthy) is terrifying.