4 ms·
> bypassing your normal dependency management system You can use release tags when using Git submodules, which makes it closer to a "normal dependency manageme
by gitgud 4y ago
> bypassing your normal dependency management system
You can use release tags when using Git submodules, which makes it closer to a "normal dependency management system".
It's better than using the commit hash or branch, but still not that great without flexible semver dependencies...
- FrenchyJiby 4y agoIndeed! I've enjoyed the middle ground that some package managers provide, where one can point to a git repo's tag/branch/commit hash instead of the upstream package repository of choice. This means if you REALLY wanted to do some vendoring approach with custom code, you don't have to do the git submodule, just use the dependency as usual, it's just fetched from git, and built the normal way. It's not for everybody (I still recommend to point to known packages first), but it's cool to acknowledge the usecase of "I need to get this from git repo" without being savages about it and throwing away our tools.