* Re: [mlmmj] Mlmmj 1.2.18a1 released
2012-03-12 17:30 [mlmmj] Mlmmj 1.2.18a1 released Ben Schmidt
@ 2012-03-13 7:16 ` Thomas Goirand
2012-03-13 12:14 ` Ben Schmidt
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Thomas Goirand @ 2012-03-13 7:16 UTC (permalink / raw)
To: mlmmj
On 03/13/2012 01:30 AM, Ben Schmidt wrote:
> An alpha release for the upcoming Mlmmj 1.2.18 has been published.
Hi!
Why suddenly changing versionning scheme? Does the "a" means alpha?
Later, if you publish 1.2.18.0, it's going to be considered smaller than
1.2.18a1, so I think it's not a nice numbering scheme (it might break
upgrading in Debian, for example). Something like:
1.2.18.0.rc1
would have been better. Then, you would release 1.2.18.1 ...
Cheers,
Thomas
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [mlmmj] Mlmmj 1.2.18a1 released
2012-03-12 17:30 [mlmmj] Mlmmj 1.2.18a1 released Ben Schmidt
2012-03-13 7:16 ` Thomas Goirand
@ 2012-03-13 12:14 ` Ben Schmidt
2012-03-13 20:07 ` Lukas Fleischer
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Ben Schmidt @ 2012-03-13 12:14 UTC (permalink / raw)
To: mlmmj
On 13/03/12 6:16 PM, Thomas Goirand wrote:
> On 03/13/2012 01:30 AM, Ben Schmidt wrote:
>> An alpha release for the upcoming Mlmmj 1.2.18 has been published.
>
> Hi!
>
> Why suddenly changing versioning scheme?
I didn't realise I changed anything.
> Does the "a" means alpha?
Yes, A is for alpha. Followed by B for beta, and RC for release
candidate. That's the system in my head, anyway.
> Later, if you publish 1.2.18.0, it's going to be considered smaller
> than 1.2.18a1, so I think it's not a nice numbering scheme
Well, that depends how you sort, doesn't it? What I've used is a fairly
common numbering system that a lot of packages use, so it wouldn't
surprise me if many sorting algorithms for version numbers dealt with it
OK. A simple ASCII sort won't though, it's true.
> (it might break upgrading in Debian, for example).
I'm not sure that an alpha release should be included in a distribution
anyway, to be honest.
> Something like:
>
> 1.2.18.0.rc1
>
> would have been better. Then, you would release 1.2.18.1 ...
I guess I probably should have had a hyphen in there, that's all.
1.2.18-a1 would be better, right? I'll do that for beta and beyond.
Cheers,
Ben.
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [mlmmj] Mlmmj 1.2.18a1 released
2012-03-12 17:30 [mlmmj] Mlmmj 1.2.18a1 released Ben Schmidt
2012-03-13 7:16 ` Thomas Goirand
2012-03-13 12:14 ` Ben Schmidt
@ 2012-03-13 20:07 ` Lukas Fleischer
2012-03-15 11:51 ` Ben Schmidt
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Lukas Fleischer @ 2012-03-13 20:07 UTC (permalink / raw)
To: mlmmj
On Tue, Mar 13, 2012 at 11:14:26PM +1100, Ben Schmidt wrote:
> On 13/03/12 6:16 PM, Thomas Goirand wrote:
> >On 03/13/2012 01:30 AM, Ben Schmidt wrote:
> >>An alpha release for the upcoming Mlmmj 1.2.18 has been published.
Works fine so far. Didn't notice any regression.
> >
> >Hi!
> >
> >Why suddenly changing versioning scheme?
>
> I didn't realise I changed anything.
>
> >Does the "a" means alpha?
>
> Yes, A is for alpha. Followed by B for beta, and RC for release
> candidate. That's the system in my head, anyway.
>
> >Later, if you publish 1.2.18.0, it's going to be considered smaller
> >than 1.2.18a1, so I think it's not a nice numbering scheme
>
> Well, that depends how you sort, doesn't it? What I've used is a fairly
> common numbering system that a lot of packages use, so it wouldn't
> surprise me if many sorting algorithms for version numbers dealt with it
> OK. A simple ASCII sort won't though, it's true.
Yeah, this is used by several projects and shouldn't cause any
trouble... It works under Arch Linux (pacman, which uses a version
comparison algorithm ripped off from RPM):
$ vercmp 1.2.17.0 1.2.18.0
-1
$ vercmp 1.2.18.0a1 1.2.18.0
-1
>
> >(it might break upgrading in Debian, for example).
>
> I'm not sure that an alpha release should be included in a distribution
> anyway, to be honest.
>
> >Something like:
> >
> >1.2.18.0.rc1
> >
> >would have been better. Then, you would release 1.2.18.1 ...
Works as well but looks kind of weird, imho:
$ vercmp 1.2.18.0.rc1 1.2.18.1
-1
>
> I guess I probably should have had a hyphen in there, that's all.
> 1.2.18-a1 would be better, right? I'll do that for beta and beyond.
Many distributions use hyphens for pkgrels/patches:
$ vercmp 1.2.18.0-a1 1.2.18.0
0
Feel free to use that anyway, it's your decision :)
>
> Cheers,
>
> Ben.
>
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [mlmmj] Mlmmj 1.2.18a1 released
2012-03-12 17:30 [mlmmj] Mlmmj 1.2.18a1 released Ben Schmidt
` (2 preceding siblings ...)
2012-03-13 20:07 ` Lukas Fleischer
@ 2012-03-15 11:51 ` Ben Schmidt
2012-03-17 12:16 ` Lukas Fleischer
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Ben Schmidt @ 2012-03-15 11:51 UTC (permalink / raw)
To: mlmmj
>>>> An alpha release for the upcoming Mlmmj 1.2.18 has been published.
>
> Works fine so far. Didn't notice any regression.
Thanks a lot for the feedback.
>>> Later, if you publish 1.2.18.0, it's going to be considered smaller
>>> than 1.2.18a1
In trying to figure out a better scheme, I disproved it for Debian:
$ dpkg --compare-versions 1.2.18a1 lt 1.2.18.0 && echo YES || echo NO
YES
It's a problem if the final .0 is omitted:
$ dpkg --compare-versions 1.2.18a1 lt 1.2.18 && echo YES || echo NO
NO
That is what I would have done, but due to this issue, I'm happy enough
to include the final .0 as occasionally we do have three-point releases
anyway, and this may be the best solution.
> Yeah, this is used by several projects and shouldn't cause any
> trouble... It works under Arch Linux (pacman, which uses a version
> comparison algorithm ripped off from RPM):
>
> $ vercmp 1.2.17.0 1.2.18.0
> -1
> $ vercmp 1.2.18.0a1 1.2.18.0
> -1
What about
$ vercmp 1.2.18a1 1.2.18.0
?
Smiles,
Ben.
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [mlmmj] Mlmmj 1.2.18a1 released
2012-03-12 17:30 [mlmmj] Mlmmj 1.2.18a1 released Ben Schmidt
` (3 preceding siblings ...)
2012-03-15 11:51 ` Ben Schmidt
@ 2012-03-17 12:16 ` Lukas Fleischer
2012-03-17 15:52 ` Ben Schmidt
2012-05-02 16:41 ` Quentin Heath
6 siblings, 0 replies; 8+ messages in thread
From: Lukas Fleischer @ 2012-03-17 12:16 UTC (permalink / raw)
To: mlmmj
On Thu, Mar 15, 2012 at 10:51:02PM +1100, Ben Schmidt wrote:
> >>>>An alpha release for the upcoming Mlmmj 1.2.18 has been published.
> >
> >Works fine so far. Didn't notice any regression.
>
> Thanks a lot for the feedback.
>
> >>>Later, if you publish 1.2.18.0, it's going to be considered smaller
> >>>than 1.2.18a1
>
> In trying to figure out a better scheme, I disproved it for Debian:
>
> $ dpkg --compare-versions 1.2.18a1 lt 1.2.18.0 && echo YES || echo NO
> YES
>
> It's a problem if the final .0 is omitted:
>
> $ dpkg --compare-versions 1.2.18a1 lt 1.2.18 && echo YES || echo NO
> NO
>
> That is what I would have done, but due to this issue, I'm happy enough
> to include the final .0 as occasionally we do have three-point releases
> anyway, and this may be the best solution.
Oh, I didn't even notice the missing revision/build part. Yeah, should
should include that...
>
> >Yeah, this is used by several projects and shouldn't cause any
> >trouble... It works under Arch Linux (pacman, which uses a version
> >comparison algorithm ripped off from RPM):
> >
> > $ vercmp 1.2.17.0 1.2.18.0
> > -1
> > $ vercmp 1.2.18.0a1 1.2.18.0
> > -1
>
> What about
>
> $ vercmp 1.2.18a1 1.2.18.0
It is pretty clever:
$ vercmp 1.2.18a1 1.2.18.0
-1
... :)
>
> ?
>
> Smiles,
>
> Ben.
>
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [mlmmj] Mlmmj 1.2.18a1 released
2012-03-12 17:30 [mlmmj] Mlmmj 1.2.18a1 released Ben Schmidt
` (4 preceding siblings ...)
2012-03-17 12:16 ` Lukas Fleischer
@ 2012-03-17 15:52 ` Ben Schmidt
2012-05-02 16:41 ` Quentin Heath
6 siblings, 0 replies; 8+ messages in thread
From: Ben Schmidt @ 2012-03-17 15:52 UTC (permalink / raw)
To: mlmmj
>> $ dpkg --compare-versions 1.2.18a1 lt 1.2.18.0 && echo YES || echo NO
>> YES
> $ vercmp 1.2.18a1 1.2.18.0
> -1
OK. This scheme wins.
Thanks for raising and clarifying the issue, guys.
Ben.
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [mlmmj] Mlmmj 1.2.18a1 released
2012-03-12 17:30 [mlmmj] Mlmmj 1.2.18a1 released Ben Schmidt
` (5 preceding siblings ...)
2012-03-17 15:52 ` Ben Schmidt
@ 2012-05-02 16:41 ` Quentin Heath
6 siblings, 0 replies; 8+ messages in thread
From: Quentin Heath @ 2012-05-02 16:41 UTC (permalink / raw)
To: mlmmj
Hi everyone,
I know this comes a little late, and I don't really ave the time to
introduce myself right now, but I would like to back on the 1.2.18-a1
/ 1.2.18 proposal. It seems to me that it is the most intuitive and
widely used.
If your only concern is to be compatible with debian's scheme, the
tilde was introduced for this reason: it is the only character smaller
than the empty string, meaning that
1.2.18~ < 1.2.18 < 1.2.18-
and therefore that
1.2.18~a3 < 1.2.18~b2 < 1.2.18~rc1 < 1.2.18 < 1.2.18-p1
You can even formally call the package 1.2.18-a1 and give the deb the
number 1.2.18~a1, I don't think anyone would get confused.
As soon as I have more time I will try to do more fundamental contributions.
--
Quentin
^ permalink raw reply [flat|nested] 8+ messages in thread