git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: any way to apply tag across all branches in repository?

From
CFChris Friesen <cfriesen@nortel.com>
Date
May 19, 2009, 21:31 UTC
Message-ID
<4A132526.6050109@nortel.com>
In-Reply-To
<alpine.LFD.2.01.0905191403090.3301@localhost.localdomain>
Linus Torvalds wrote:
Show 8 quoted lines
> 
> 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.
Show 5 quoted lines
> 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
Previous: Linus TorvaldsNext: Brandon Casey
Message 11 of 16 in “any way to apply tag across all branches in repository?”
  1. Chris FriesenMay 19, 2009
  2. Tomas CarneckyMay 19, 2009
  3. Chris FriesenMay 19, 2009
  4. Brandon CaseyMay 19, 2009
  5. Chris FriesenMay 19, 2009
  6. Linus TorvaldsMay 19, 2009
  7. Chris FriesenMay 19, 2009
  8. Linus TorvaldsMay 19, 2009
  9. Chris FriesenMay 19, 2009
  10. Linus TorvaldsMay 19, 2009
  11. Chris FriesenMay 19, 2009
  12. Brandon CaseyMay 19, 2009
  13. Chris FriesenMay 19, 2009
  14. Brandon CaseyMay 19, 2009
  15. Chris FriesenMay 19, 2009
  16. Brandon CaseyMay 19, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.