[jbosstools-dev] Fwd: [tycho-user] UTC timestamps for Tycho ?

Max Rydahl Andersen max.andersen at redhat.com
Fri Jul 22 06:03:29 EDT 2011


https://issues.jboss.org/browse/JBIDE-9007 - the issue about hudson timestamps being "ahead" of Concord

This turns out to actually be a bug in Tycho.

Now fixed.

https://github.com/sonatype/sonatype-tycho/commit/e2eabb2d243e415d2c4a786e354c8cab2783a28e

Needs move to tycho 0.14 to fix though…


/max

Begin forwarded message:

> From: "Sievers, Jan" <jan.sievers at sap.com>
> Subject: Re: [tycho-user] UTC timestamps for Tycho ?
> Date: July 22, 2011 10:50:55 GMT+02:00
> To: Tycho user list <tycho-user at eclipse.org>
> Reply-To: Tycho user list <tycho-user at eclipse.org>
> 
> I think this is a bug.
> 
> We should use a fixed timezone (such as UTC) in tycho [1] to ensure globally comparable timestamps:
> 
> 		format.setTimeZone(TimeZone.getTimeZone("UTC"));
> 
> Jan
> 
> [1] https://github.com/sonatype/sonatype-tycho/blob/master/tycho-packaging-plugin/src/main/java/org/eclipse/tycho/buildversion/BuildQualifierMojo.java#L78 
> 
> 
> -----Original Message-----
> From: tycho-user-bounces at eclipse.org [mailto:tycho-user-bounces at eclipse.org] On Behalf Of Max Rydahl Andersen
> Sent: Freitag, 22. Juli 2011 01:39
> To: Tycho user list
> Subject: [tycho-user] UTC timestamps for Tycho ?
> 
> Hi,
> 
> We currently follows the standard pattern of <format>'v'yyyyMMdd-HHmm'-${BUILD_ALIAS}'</format> for our qualifiers.
> 
> This timestamp seem to be generated as the local build timezone.
> 
> That causes problems with a global team where i.e. devs are in San Francisco and build server in europe - if they use the CI build from europe
> those builds will always win over SF because the time is out in the future.
> 
> Any way of getting it to use UTC time always ?
> 
> thanks,
> /max
> http://about.me/maxandersen
> 
> 
> 
> _______________________________________________
> tycho-user mailing list
> tycho-user at eclipse.org
> https://dev.eclipse.org/mailman/listinfo/tycho-user
> _______________________________________________
> tycho-user mailing list
> tycho-user at eclipse.org
> https://dev.eclipse.org/mailman/listinfo/tycho-user

/max
http://about.me/maxandersen






More information about the jbosstools-dev mailing list