4 ms·
Great, and now how do you reasonably share a dependency between multiple repositories while correctly tracking the exact version of that dependency at each poin
by Peaker 12y ago
Great, and now how do you reasonably share a dependency between multiple repositories while correctly tracking the exact version of that dependency at each point in history?
- aeroevan 12y agoUse the repo tool used by android? I'm not sure bout dependency versions at each point in history since AOSP usually just points to tags or branches directly, but it seems to work for their style of large, multiple git repo projects.
- Touche 12y agoUse the dependency tool your language provides. Node for example lets you specify an exact commit, I'm sure most others do as well.
- gsnedders 12y agoPython at least doesn't provide any reasonable dependency tool for third-party test suite data. I can't really package a third-party test suite as a Python program.
- dustingetz 12y agoNot that simple, sometimes you want to change a dependency and test the change without pushing the commit.
- Touche 12y agoWhy can't you do that with the language package manager? In Node you simply change the version number, run npm install, test the changes, either commit or don't.
- mnem 12y agoI find using subtrees much easier than submodules - http://blogs.atlassian.com/2013/05/alternatives-to-git-submodule-git-subtree/ http://blogs.atlassian.com/2013/05/alternatives-to-git-submo... The command line is a little obscure (at least, I can never remember the command to pull the latest remote changes first time) but overall the use of them is a lot nicer, for the way I work at least. Being able to have "local" edits to subtrees while still allowing remote updating and colleagues to clone the repo with the local updates is rather useful.
- dustingetz 12y agoSubtree and submodule solve different problems. I use both often. Sorry about the downvote, I fat thumbed you
- tvon 12y agoA window to change votes would be nice, much like there is a window to edit your comment.