Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] jgit timestamp provider ignores local changes

On 03/05/2013 04:51 PM, Igor Fedorenko wrote:
https://git.eclipse.org/c/tycho/org.eclipse.tycho.extras.git/tree/tycho-buildtimestamp-jgit/src/main/java/org/eclipse/tycho/extras/buildtimestamp/jgit/JGitBuildTimestampProvider.java?id=tycho-extras-0.16.0#n82

I'll be willing to review a quality patch... but if somebody with good
jgit knowledge did that it'd be even better.

What would you think about the following approach:
1. In case tree is dirty, JBitBuildTimestampProvider returns null
2. In case the timestamp provider returns null, tycho-packaging plugin would use "SNAPSHOT" instead of the timestamp string
?
--
Mickael Istria
Eclipse developer at JBoss, by Red Hat
My blog - My Tweets

Back to the top