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

Re: How to check out the repository at a particular point in time

From
Jens Lehmann <jens.lehmann@web.de>
Date
Aug 22, 2011, 16:56 UTC
Message-ID
<4E528A3E.2070505@web.de>
In-Reply-To
<1314026326.37332.YahooMailClassic@web25408.mail.ukl.yahoo.com>
Am 22.08.2011 17:18, schrieb R. Diez:
Show 5 quoted lines
> But that problem the daily build is trying to solve is precisely that it's
> too hard to keep track of all component versions in all repositories. Things
> just move too fast, and as far as I understand it, git submodules require
> manual intervention. If I ever tag anything manually, it must have already
> passed the daily build!

Submodules can easily be scripted too. Why don't you let your buildsystem automatically create a commit with the current HEADs in the superproject when building and testing all repositories was successful? Then each developer can use one of those superproject commits as starting point and happily hack away on a repository. And as a bonus he can see in the superproject how many changes he did from the nightly build he started with. And if he doesn't care, he can forget about the superproject until he needs to sync again.

Show 6 quoted lines
> The development model looks like this: the latest HEAD versions of all
> components should always work well with each other. If something breaks,
> the daily build will let the developer know by the next day. If two
> developers make incompatible changes, they'll speak to each other and
> commit their changes within a few hours. During that time, they will be
> trouble, but that's quite alright (at least for the moment).

You can decide later if you want to use the superproject to coordinate such possibly conflicting changes, but that would mean your developers would have to commit their changes in the superproject too.

Previous: R. DiezNext: Michael Witten
Message 4 of 12 in “How to check out the repository at a particular point in time”
  1. R. DiezAug 22, 2011
  2. Thomas RastAug 22, 2011
  3. R. DiezAug 22, 2011
  4. Jens LehmannAug 22, 2011
  5. Michael WittenAug 23, 2011
  6. Jonathan NiederAug 23, 2011
  7. Matthieu MoyAug 23, 2011
  8. Michael WittenAug 23, 2011
  9. Jonathan NiederAug 23, 2011
  10. Andreas EricssonAug 24, 2011
  11. Randal L. SchwartzAug 24, 2011
  12. Michael WittenAug 24, 2011

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.