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

Re: How to add daily tags for a central repo?

From
RLRoy Lee <roylee17@gmail.com>
Date
Jun 2, 2010, 07:55 UTC
Message-ID
<AANLkTilbhfc_lyV6C_daaDZJvN5B-jvIUYyTBMeimtJD@mail.gmail.com>
In-Reply-To
<7vaareoxmv.fsf@alter.siamese.dyndns.org>
Hi,
On Wed, Jun 2, 2010 at 12:40 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 23 quoted lines
> Roy Lee <roylee17@gmail.com> writes:
>
>>> * Create a tag for the state of a ref (such as HEAD) on the central repo
>>> at a specific date and time.
>>
>> Yes, for the daily build stuff.
>
> If this is really "the daily build", the easiest is to
>
>  - arrange the "daily build" environment to be kept up-to-date (either
>   developers will be pushing into it, or there is another canonical
>   central repository developer pushes into, and the daily build
>   repository pulls from that canonical central repository via cron just
>   before starting to build);
>
>  - tag the version that is being built; and
>
>  - do the "daily build".
>
> Even if the automated "daily build" runs an hour after midnight, I
> wouldn't imagine that you would want to grab the version that was the
> latest as of midnight, building that slightly stale one, excluding the
> development that happened within an our since that version.
The daily build process for our company is still under development.

I'll feel more comfortable if the timing of tagging can be decoupled with the target revision date. In case one day the mechanism is asked to tag more branches on during different time interval or even backtrack to snapshots earlier than now.

So far, the reflog mechanism seems to be able to fulfill this requirement, since it allows us to backtrack earlier updates and do the tagging. I'm taking it as a starting point or as a building block unless more attractive alternatives show up.

Regards, Roy

Previous: Junio C Hamano
Message 10 of 10 in “How to add daily tags for a central repo?”
  1. roylee17Jun 1, 2010
  2. Michael J GruberJun 1, 2010
  3. Roy LeeJun 1, 2010
  4. Michael J GruberJun 1, 2010
  5. Roy LeeJun 1, 2010
  6. Michael J GruberJun 1, 2010
  7. Roy LeeJun 1, 2010
  8. Ilari LiusvaaraJun 1, 2010
  9. Junio C HamanoJun 2, 2010
  10. Roy LeeJun 2, 2010

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.