#303: expand $1 and $2 in GIT_REPO,DARCS_REPO,HG_REPO -------------------------+-------------------------------------------------- Reporter: rhaas | Owner: Type: enhancement | Status: new Priority: minor | Milestone: Component: Other | Version: Keywords: | -------------------------+-------------------------------------------------- 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.
#303: expand $1 and $2 in GIT_REPO,DARCS_REPO,HG_REPO ----------------------------+----------------------------------------------- Reporter: rhaas | Owner: Type: enhancement | Status: review Priority: minor | Milestone: Component: GetComponents | Version: Resolution: | Keywords: ----------------------------+----------------------------------------------- Changes (by rhaas):
* status: new => review * component: Other => GetComponents
#303: expand $1 and $2 in GIT_REPO,DARCS_REPO,HG_REPO ----------------------------+----------------------------------------------- Reporter: rhaas | Owner: eric9 Type: enhancement | Status: review Priority: minor | Milestone: Component: GetComponents | Version: Resolution: | Keywords: ----------------------------+----------------------------------------------- Changes (by knarf):
* owner: => eric9
#303: expand $1 and $2 in GIT_REPO,DARCS_REPO,HG_REPO ----------------------------+----------------------------------------------- Reporter: rhaas | Owner: eric9 Type: enhancement | Status: closed Priority: minor | Milestone: Component: GetComponents | Version: Resolution: fixed | Keywords: ----------------------------+----------------------------------------------- Changes (by eric9):
* status: review => closed * resolution: => fixed
Comment:
Thanks for the patch Roland. It all seems to work for me, so consider it applied :)
trac@lists.einsteintoolkit.org