- changed status to open
- changed component to GetComponents
- removed comment
expand $1 and $2 in GIT_REPO,DARCS_REPO,HG_REPO
I propose to apply the patch below to allow $1 and $2 to be expanded in GIT_REPO etc. this allows for things like:
!TARGET = $ARR !TYPE = git !URL = $USER@numrel.org:/home/numrel/arrangements/$1/$2 !REPO_PATH = ../$2 !CHECKOUT = Scotch/SoundSpeed Scotch/TotalRestMass
to check out both SoundSpeed an TotalRestMass, which are both separate git repositories.
Without the patch one has to repeat the whole $TARGET stanza for each and every thorn (since each thorn is a repository) only changing $1/$2 to Scotch/ThornName.
I tested the patch with einsteintoolkit.th and the resulting checkout (using --parallel) is identical with and without the patch.
Keyword:
Comments (3)
-
reporter -
- assigned issue to
- removed comment
-
- changed status to resolved
- removed comment
Thanks for the patch Roland. It all seems to work for me, so consider it applied :)
- Log in to comment