Skip Menu |

This queue is for tickets about the Image-MetaData-GQview CPAN distribution.

Report information
The Basics
Id: 37185
Status: resolved
Priority: 0/
Queue: Image-MetaData-GQview

People
Owner: Nobody in particular
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.10
Fixed in: v2.0.0



Subject: Decreasing version number
Please take into account that 1.10 is smaller than 1.9. Alternatives exist: % perl -le ' use version; for (@ARGV){ print $_, ": ", version->new($_) <=> version->new("1.9"); } ' 1.10 1.91 1.901 2.0 1.10: -1 1.91: 1 1.901: 1 2.0: 1 Please adjust your release versions. Users who have written use Image::MetaData::GQview 1.9; now need to rewrite their programs and downgrade. Probably not what you intended. Thanks,
Subject: Re: [rt.cpan.org #37185] Decreasing version number
Date: Sat, 28 Jun 2008 10:16:21 +0100
To: Andreas Koenig via RT <bug-Image-MetaData-GQview [...] rt.cpan.org>
From: Klaus Ethgen <Klaus [...] Ethgen.de>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Andreas, Am Sa den 28. Jun 2008 um 3:11 schrieb Andreas Koenig via RT: Show quoted text
> Please take into account that 1.10 is smaller than 1.9. Alternatives
What? 10 is smaller than 9? Show quoted text
> % perl -le ' > use version; > for (@ARGV){ > print $_, ": ", version->new($_) <=> version->new("1.9"); > } > ' 1.10 1.91 1.901 2.0 > 1.10: -1 > 1.91: 1 > 1.901: 1 > 2.0: 1
Ui, than this seems to be a bug of perl? 10 is bigger than 9 at all. And the numbering scheme is common to use complete numbers (not character wise). In simply all open source software 1.10 is bigger than 1.9. Also seeing the version as number the handling of perl is incorrect. I see no way to have a higher number than 9 with a single character as there is no one! Do you have any solution for this? Show quoted text
> now need to rewrite their programs and downgrade. Probably not what you > intended.
Indeed. But is there any useful solution? I see no way to increase the single number above 9. And it is just such a jump as between 1.8 and 1.9 I fix between 1.9 and 1.10. There is no release jump to increase the mayor number. Gruß Klaus - -- Klaus Ethgen http://www.ethgen.de/ pub 2048R/D1A4EDE5 2000-02-26 Klaus Ethgen <Klaus@Ethgen.de> Fingerprint: D7 67 71 C4 99 A6 D4 FE EA 40 30 57 3C 88 26 2B -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iQEVAwUBSGYBZZ+OKpjRpO3lAQImUgf/VkNkFIK+Fya5QyrEna7reuvua9SUv+b0 EU/Ul72mMtzUsu81lUGnN1SujTYIP8ZsrvOOczjrN9cZXNEgxmptPVSAnjjWeqJL n8o877oVAvHyKuLCcPvgUMRNxRjO3QAB3+e8bm8UiM/mgBKeAWYbIl6bQPiabYS1 /1YzjIxMIh6gfGUwukzUydkCBX2VhyDvqTrzQh7uQckU45Dwjspdb2Srv5ZZK436 3hvIxsiw28wWKS8r+TT6Ngh6c1IPL6R9HhCz6RWzPPASqDyG2gmM5Ejk02+4kZ9Y 2qzJda/O1/F2DGCeNKpvxjl293CP+j7awtlBzvrvQ0lanP1OwVUz4g== =LIfT -----END PGP SIGNATURE-----
Subject: Re: [rt.cpan.org #37185] Decreasing version number
Date: Sat, 28 Jun 2008 10:19:16 +0100
To: Andreas Koenig via RT <bug-Image-MetaData-GQview [...] rt.cpan.org>
From: Klaus Ethgen <Klaus [...] Ethgen.de>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 By the way, the documentation says: The "use" will perform an automatic $VERSION comparison using the floating point number So 1.10 is biger than 1.9. Gruß Klaus - -- Klaus Ethgen http://www.ethgen.de/ pub 2048R/D1A4EDE5 2000-02-26 Klaus Ethgen <Klaus@Ethgen.de> Fingerprint: D7 67 71 C4 99 A6 D4 FE EA 40 30 57 3C 88 26 2B -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iQEVAwUBSGYCFJ+OKpjRpO3lAQKEiQf/VlPuwCgPGaFpVPx67gg0cgKZVF+deQcZ GuJdCkK+rxIRG6z9Mt/bXmesERQWoVqp7gPOATOfruz6ganYluOlQUeFOgr7H9Lz rh2scmaY0OuDTux1Sx0ZO1TnCDNHTz6F+ywzDoesCh+GVfoJwnuYIKGkQjzIeZ9m gBHpXYtmPlDbez3rpZoemN++07rVm6qQiK4KHC6yOEx3GhgT3oHXVWL6GINnTyex ZElXuWL65zSCF26niKPZSYdPPa/EYKiHHmZ7CLzTvgoCOV7hTnQo5t0PUOMEllGs yTPc2+4ccNBcFM0fPiSGWeskviIbzEjBBewWSgHyaXsdHGnK1YwSKQ== =WNWu -----END PGP SIGNATURE-----
CC: ANDK [...] cpan.org
Subject: Re: [rt.cpan.org #37185] Decreasing version number
Date: Sat, 28 Jun 2008 21:24:37 +0200
To: bug-Image-MetaData-GQview [...] rt.cpan.org
From: andreas.koenig.7os6VVqR [...] franz.ak.mind.de (Andreas J. Koenig)
Show quoted text
>>>>> On Sat, 28 Jun 2008 05:17:02 -0400, "Klaus Ethgen via RT" <bug-Image-MetaData-GQview@rt.cpan.org> said:
Show quoted text
>> Please take into account that 1.10 is smaller than 1.9. Alternatives
Show quoted text
> What? 10 is smaller than 9?
Thank you for your considerations. No. I was not talking about 9 and 10 but about 1.9 and 1.10. The latter are, in perl, treated as floating point numbers. Would you mind reading the small program again, maybe run it, maybe try variations? Show quoted text
>> % perl -le ' >> use version; >> for (@ARGV){ >> print $_, ": ", version->new($_) <=> version->new("1.9"); >> } >> ' 1.10 1.91 1.901 2.0 >> 1.10: -1 >> 1.91: 1 >> 1.901: 1 >> 2.0: 1
Show quoted text
> Indeed. But is there any useful solution?
1.91, 1.901, 1.900.1, etc., etc. Please try the porgram above and I'm sure you'll find a pragmatic solution. Thank you for your considerations. -- andreas
Subject: Re: [rt.cpan.org #37185] Decreasing version number
Date: Sun, 29 Mar 2009 00:30:40 +0100
To: "(Andreas J. Koenig) via RT" <bug-Image-MetaData-GQview [...] rt.cpan.org>
From: Klaus Ethgen <Klaus [...] Ethgen.de>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Hi, Am Sa den 28. Jun 2008 um 20:25 schrieb (Andreas J. Koenig) via RT: Show quoted text
> > Indeed. But is there any useful solution?
> > 1.91, 1.901, 1.900.1, etc., etc. > > Please try the porgram above and I'm sure you'll find a pragmatic > solution.
I did not find any other solution than starting from 2.0.0 now. However, I know for future modules. The issue should be closed now. Gruß Klaus - -- Klaus Ethgen http://www.ethgen.de/ pub 2048R/D1A4EDE5 2000-02-26 Klaus Ethgen <Klaus@Ethgen.de> Fingerprint: D7 67 71 C4 99 A6 D4 FE EA 40 30 57 3C 88 26 2B -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iQEVAwUBSc6zIJ+OKpjRpO3lAQo/1Af/aLq7lVmf/PCB84Uvbag+IGw0rAixjQF0 UV8KowGd2hI+cfsJjl77XM9ES8e1r97hvz4WBb+FEYz0oCwNojCZjFi9R4gMn14W PpERJzgTV8Xre67ILcgH3Npfxq85r6bOzUKMwl0cbsydChkzoeYYfbMgWhyItyUc g5uKXRnRNro+MFhOu4fUljrVJ2YwSNgHFPZmqivUGfKxDM7kkM6HrQSKLR8aoHmL ZIy6M8HkwX4Bk/OnQ+KYtPMKUZiTp+G/WNHOmpJmRI83ouSFBEhCW4TeQ7HfMrUR yhMsndsTTkT/UplBEzdpfakLRLGdED1eAEtlIGBl5Yst9LpL+iw21w== =9rF5 -----END PGP SIGNATURE-----