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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Wed, Jun 2, 2010 at 12:40 PM, Junio C Hamano <gitster@xxxxxxxxx> wrote:
> Roy Lee <roylee17@xxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]