Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] UTC timestamps for Tycho ?

> 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 

Awesome! 

You just gave me another reason to move up from Tycho 0.11 ;)

/max

> 
> 
> -----Original Message-----
> From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] 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@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user

/max
http://about.me/maxandersen





Back to the top