All of lore.kernel.org
 help / color / mirror / Atom feed
* any way to apply tag across all branches in repository?
@ 2009-05-19 16:26 Chris Friesen
  2009-05-19 16:52 ` Tomas Carnecky
  2009-05-19 17:05 ` Brandon Casey
  0 siblings, 2 replies; 17+ messages in thread
From: Chris Friesen @ 2009-05-19 16:26 UTC (permalink / raw)
  To: git


Hi all,

I'm hoping you can help me out...please CC me on replies, I'm not
subscribed to the list.

We have a piece of software with a "main" branch and multiple
architecture-specific "target" branches.  At each "official" compile,
we'd like to tag the commits that went into that compile with an identifier.

Using tags normally requires that the tag be assigned to each branch
individually--is there any way to apply some sort of designator to the
head of each branch in the repository all at once rather than doing it
separately for each branch?

Thanks,

Chris

^ permalink raw reply	[flat|nested] 17+ messages in thread
* Re: any way to apply tag across all branches in repository?
@ 2009-05-20  8:58 Mark Struberg
  0 siblings, 0 replies; 17+ messages in thread
From: Mark Struberg @ 2009-05-20  8:58 UTC (permalink / raw)
  To: Linus Torvalds, Chris Friesen; +Cc: Brandon Casey, git


> We have one "official" branch for each target board...so
> maybe a dozen or so branches.

Chis, to me this sounds more like you abuse SCM branches for what should be into 'modules'
In SVN this would make not a big difference (because of the silly svn:copy thingy) but for any sane SCM, tags are not directories!

If you move all your board specific code into child-modules, then you could happily tag over your whole project (including all those modules).

LieGrue,
strub

--- Chris Friesen <cfriesen@nortel.com> schrieb am Di, 19.5.2009:

> Von: Chris Friesen <cfriesen@nortel.com>
> Betreff: Re: any way to apply tag across all branches in repository?
> An: "Linus Torvalds" <torvalds@linux-foundation.org>
> CC: "Brandon Casey" <casey@nrlssc.navy.mil>, git@vger.kernel.org
> Datum: Dienstag, 19. Mai 2009, 23:31
> Linus Torvalds wrote:
> > 
> > On Tue, 19 May 2009, Chris Friesen wrote:
> >> The tagging would be done only by the "official"
> build process (which
> >> pulls from an "official" repository), not by each
> designer.  Typically
> >> the official builds would be done weekly, more
> frequently if requested.
> > 
> > Well, you can tag when you do that official build. Do
> you really do 
> > "official" builds from all branches? That sounds a bit
> insane.
> 
> We have one "official" branch for each target board...so
> maybe a dozen
> or so branches.
> 
> Developers do private builds, but they're not tagged.
> 
> > Remember: you don't have to tag whatever is the "top"
> - tagging can happen 
> > later. Tagging at build-time is perfectly fine.
> 
> Tagging at build-time is actually the plan.
> 
> > In fact, I'd suggest going even further. Don't tag the
> source branch when 
> > you build - tag it after it has passed whatever
> testing you do (I hope you 
> > _do_ have some extensive test-suite before release),
> and as you actually 
> > make it public (or whatever you do). Only at _that_
> point, tag the tree 
> > with "release-$branch-$date" or something like that.
> 
> There's a fairly extensive test suite.  This might be
> an option.
> 
> > Remember: you don't have to tag the top-of branch. You
> can tag any commit, 
> > after-the-fact. So even if you've done other
> development since, just make 
> > sure to tag the commit you actually built and tested.
> 
> Good point.  I think I've got enough information to
> get something
> working.  Thanks for all the help.
> 
> Chris
> --
> To unsubscribe from this list: send the line "unsubscribe
> git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


      

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2009-05-20  8:58 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-19 16:26 any way to apply tag across all branches in repository? Chris Friesen
2009-05-19 16:52 ` Tomas Carnecky
2009-05-19 16:59   ` Chris Friesen
2009-05-19 17:05 ` Brandon Casey
2009-05-19 17:48   ` Chris Friesen
2009-05-19 18:33     ` Linus Torvalds
2009-05-19 19:05       ` Chris Friesen
2009-05-19 20:14         ` Linus Torvalds
2009-05-19 20:56           ` Chris Friesen
2009-05-19 21:06             ` Linus Torvalds
2009-05-19 21:31               ` Chris Friesen
2009-05-19 18:36     ` Brandon Casey
2009-05-19 19:05       ` Chris Friesen
2009-05-19 19:30         ` Brandon Casey
2009-05-19 19:49           ` Chris Friesen
2009-05-19 19:58             ` Brandon Casey
  -- strict thread matches above, loose matches on Subject: below --
2009-05-20  8:58 Mark Struberg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.