[ET Trac] [Einstein Toolkit] #303: expand $1 and $2 in GIT_REPO, DARCS_REPO, HG_REPO

Einstein Toolkit trac-noreply at einsteintoolkit.org
Wed Feb 23 09:26:34 CST 2011


#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 at 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.

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/303>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list