git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Robert Buck <buck.robert.j@gmail.com>
To: git@vger.kernel.org
Subject: anything behaviourally like perforce branch-spec mappings in git?
Date: Sat, 8 May 2010 09:39:20 -0400	[thread overview]
Message-ID: <AANLkTikAPyfkAXLstPdEWyq2mKM0uBP1khSUV5t4-I23@mail.gmail.com> (raw)

Back at VeriSign we used branch-specs in Perforce to normalize
checked-in tooling to standard names (without version numbers). For
example:

Checked into the Perforce "releng" depot was the following:

//releng/
  head/
    vendor/
      junit-4.1/
        junit-4.1.jar
      junit-4.3
        junit-4.3.jar
  branches/
     same as above...

And a product specific depot may be:

//general
  head/
    ...
  branches/
    ...

The branch spec for a product would be:

//releng/branches/branch-name/vendor/junit-4.1   //workspace/releng/vendor/junit
...

You should be able to get the point. We supported workspace
composition, and the neat thing was that the build system itself was
versioned and could be separately versioned and changed as though it
were itself a product. But, as the build system was Ant based, rather
than constantly changing the build system to adapt to new versions of
junit, oro, and ivy jars, we simply used branch and view specs to
neutralize the workspace so the build system only referred to names
that lack version numbers. Further, a product could upgrade to a newer
version of the build system, almost always without consequence just by
changing these mappings.

So, is there some way to similarly accomplish this in Git? It was a
huge time-saver for release engineering at VeriSign, a pattern I'd
like to replicate using Git.

- Bob

                 reply	other threads:[~2010-05-08 13:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTikAPyfkAXLstPdEWyq2mKM0uBP1khSUV5t4-I23@mail.gmail.com \
    --to=buck.robert.j@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).