Hello,
Sorry for the late reply but .Final-SNAPSHOT is not good for many reasons. First, the page
below [1] has an implicit version for -SNAPSHOT by the virtue of
"major.minor.micro.TIMESTAMP-Mn". .Final or any other moniker added (eg. .Beta)
after the actual version and before -SNAPSHOT, will break the versioning for the timed
snapshots. Second, it really makes the -SNAPSHOT moniker obsolete, because we will never
have .Beta-SNAPSHOT (or if we do we will confuse absolutely everybody). So we might as
well not use .SNAPSHOT at all and switch to use exclusively the labels in the document.
And third, it just makes the version unnecessarily long since it does not provide any more
context to potential users.
I totally agree with mandating the released version numbers to be in accordance with the
JBoss standards. But let's keep the -SNAPSHOT version as short as possible
(x.y.z-SNAPSHOT).
[1]
From: "Heiko W.Rupp" <hrupp(a)redhat.com>
To: "Discussions around Hawkular development"
<hawkular-dev(a)lists.jboss.org>
Sent: Wednesday, November 11, 2015 8:36:30 AM
Subject: Re: [Hawkular-dev] versioning schema
The mentioned link does not mention .Final-SNAPSHOT anywhere.
Either x.y.z-SNAPSHOT (which has other issues, as discussed)
or x.y.z-Final.
(but then it does not even mention SNAPSHOT :-).
On 11 Nov 2015, at 14:57, John Mazzitelli wrote:
> I like and use x.y.z.Final-SNAPSHOT if only because the mvn release
> plugin sets that all automatically for you. You just hit <enter> at
> the prompts and go. If you use x.y.x-SNAPSHOT you have to remember to
> change the value of the version at the mvn release plugin prompt,
> which can lead to typos/fat-fingering the version string ;)
>
> Make it easy on ourselves - just use x.y.z.ABC-SNAPSHOT - and let the
> mvn release plugin automatically determine the versions for us.
>
> ----- Original Message -----
>> Hello,
>> I'd like to ask about the policy we want to use for the versioning
>> schema.
>> I've raised a PR [1] that will check the project version and fails
>> the
>> build if it's wrong. This should catch the releases with malformed
>> versions. It's aligned with the JBoss project versioning [2],
>> however,
>> it's not clear how to use the "-SNAPSHOT" suffix. Peter has a
good
>> point
>> in the PR comment that some use the x.y.z.Final-SNAPSHOT (final can
>> be
>> also AlphaN, BetaN and CRN) and some x.y.z-SNAPSHOT and when
>> releasing, we
>> add the Final/Alpha, etc.
>>
>> Looking into wildfly repo, they use the former method. Is this what
>> we want?
>> I personally consider the latter method more natural and we use it in
>> the
>> inventory, despite the fact the hawkular/hawkular uses the
>> x.y.z.AlphaN-SNAPSHOT.
>>
>> jk
>>
>>
>> [1]:
https://github.com/hawkular/hawkular-parent-pom/pull/54
>> [2]:
https://developer.jboss.org/wiki/JBossProjectVersioning
>> _______________________________________________
>> hawkular-dev mailing list
>> hawkular-dev(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/hawkular-dev
>>
> _______________________________________________
> hawkular-dev mailing list
> hawkular-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/hawkular-dev
--
Reg. Adresse: Red Hat GmbH, Technopark II, Haus C,
Werner-von-Siemens-Ring 14, D-85630 Grasbrunn
Handelsregister: Amtsgericht München HRB 153243
Geschäftsführer: Charles Cachera, Michael Cunningham, Paul Hickey,
Charlie Peters
_______________________________________________
hawkular-dev mailing list
hawkular-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hawkular-dev