From: Roy Lee <roylee17@gmail.com>
To: Junio C Hamano <gitster@pobox.com>
Cc: Michael J Gruber <git@drmicha.warpmail.net>, git@vger.kernel.org
Subject: Re: How to add daily tags for a central repo?
Date: Wed, 2 Jun 2010 15:55:11 +0800 [thread overview]
Message-ID: <AANLkTilbhfc_lyV6C_daaDZJvN5B-jvIUYyTBMeimtJD@mail.gmail.com> (raw)
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:
> 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
prev parent reply other threads:[~2010-06-02 7:55 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-01 5:21 How to add daily tags for a central repo? roylee17
2010-06-01 6:43 ` Michael J Gruber
2010-06-01 7:55 ` Roy Lee
2010-06-01 8:05 ` Michael J Gruber
2010-06-01 8:25 ` Roy Lee
2010-06-01 8:52 ` Michael J Gruber
2010-06-01 9:45 ` Roy Lee
2010-06-01 22:20 ` Ilari Liusvaara
2010-06-02 4:40 ` Junio C Hamano
2010-06-02 7:55 ` Roy Lee [this message]
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=AANLkTilbhfc_lyV6C_daaDZJvN5B-jvIUYyTBMeimtJD@mail.gmail.com \
--to=roylee17@gmail.com \
--cc=git@drmicha.warpmail.net \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/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).