[ET Trac] [Einstein Toolkit] #248: Enhance GetComponents functionality when dealing with git branches
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Wed Feb 9 09:26:34 CST 2011
#248: Enhance GetComponents functionality when dealing with git branches
----------------------------+-----------------------------------------------
Reporter: bmundim | Owner: eric9
Type: enhancement | Status: closed
Priority: minor | Milestone:
Component: GetComponents | Version:
Resolution: fixed | Keywords: git branches
----------------------------+-----------------------------------------------
Changes (by eric9):
* status: accepted => closed
* resolution: => fixed
Comment:
> {{{
> # this will setup stable and experimental as remote-tracking branches,
> # and then checkout the ET_2010_11 tagged commit
> !TARGET = $ROOT/bin
> !TYPE = git
> !URL = git://github.com/gridaphobe/CRL.git
> !REPO_BRANCH = stable, experimental, ET_2010_11
> !CHECKOUT = GetComponents
>
> # this will clone into CRL-experimental, and checkout the experimental
branch
> !TARGET = $ROOT/bin
> !TYPE = git
> !URL = git://github.com/gridaphobe/CRL.git
> !REPO_BRANCH = experimental
> !CHECKOUT = GetComponents
> !NAME = CRL-experimental
> }}}
Last night I implemented this functionality. As Bruno said, the second bit
doesn't follow standard git practices, so I would discourage using it like
that. However, there could be cases where renaming the repository would be
useful, i.e. someone has their own git repo called CRL, which is unrelated
to !GetComponents.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/248#comment:16>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list