Git and version qualifiers [message #654350] |
Tue, 15 February 2011 05:44  |
Eclipse User |
|
|
|
Hi,
P2 normally asks the following version format "major.minor.service.qualifier" for plug-ins, though it's not really mandatory. What I think is mandatory is to have the version number be monotonically increasing. The usual pattern is to include the source control id in the qualifier. Unfortunately, git uses hash codes as ids, which doesn't ensure that the number increases with versions.
So how does it work for plug-in versions stored using git? I noticed that eGit and JGit plug-ins don't use the qualifier at the end of the version number: Should we do just that, forget about the qualifier?
Maxime
|
|
|
|
|
Re: Git and version qualifiers [message #654511 is a reply to message #654406] |
Wed, 16 February 2011 02:17  |
Eclipse User |
|
|
|
I think it makes sense indeed. Since the qualifier starts with the date, the nightly build always produces a higher qualifier, whatever the id after the date.
I guess we just have to take care if we do more than a build a day for some reasons, which should not happen too often.
|
|
|
Powered by
FUDForum. Page generated in 0.04159 seconds