Re: CPAN::Reporter: test results were not valid, Prerequisite version too *high*

2010-07-13 Thread David Cantrell
On Mon, Jul 12, 2010 at 01:58:03PM +0200, Eirik Berg Hanssen wrote: > On Mon, Jul 12, 2010 at 1:08 PM, David Cantrell wrote: > > I suppose this exposes another bug: that you can compare different data > > types (in this case a number and a version) without an explicit cast :-) > I thought that wa

Re: CPAN::Reporter: test results were not valid, Prerequisite version too *high*

2010-07-12 Thread David Golden
On Mon, Jul 12, 2010 at 3:44 PM, Serguei Trouchelle wrote: > David Golden wrote: > >> I have ranted in many other forums that dotted decimal versions should >> always be expressed in "normal" form -- meaning a leading v and at >> least 3 parts (v2.17.1 or v2.6.0) to avoid confusion. > > I strongly

Re: CPAN::Reporter: test results were not valid, Prerequisite version too *high*

2010-07-12 Thread Serguei Trouchelle
David Golden wrote: I have ranted in many other forums that dotted decimal versions should always be expressed in "normal" form -- meaning a leading v and at least 3 parts (v2.17.1 or v2.6.0) to avoid confusion. I strongly disagree. ExtUtils::MakeMaker doesn't handle v-strings. It's documente

Re: CPAN::Reporter: test results were not valid, Prerequisite version too *high*

2010-07-12 Thread Eirik Berg Hanssen
On Mon, Jul 12, 2010 at 1:08 PM, David Cantrell wrote: > On Fri, Jul 09, 2010 at 02:41:41PM +0200, The Sidhekin wrote: > > On Fri, Jul 9, 2010 at 2:01 PM, Nigel Horne wrote: > > > On 09/07/10 12:36, David Cantrell wrote: > > >> On Thu, Jul 08, 2010 at 08:48:26AM +0100, Nigel Horne wrote: > > >>>

Re: CPAN::Reporter: test results were not valid, Prerequisite version too *high*

2010-07-12 Thread David Golden
On Mon, Jul 12, 2010 at 7:08 AM, David Cantrell wrote: > 2.17.1 isn't a version *number* at all as it isn't a number.  It is a > higher *version* than 2.6. > > I suppose this exposes another bug: that you can compare different data > types (in this case a number and a version) without an explicit

Re: CPAN::Reporter: test results were not valid, Prerequisite version too *high*

2010-07-12 Thread David Cantrell
On Fri, Jul 09, 2010 at 02:41:41PM +0200, The Sidhekin wrote: > On Fri, Jul 9, 2010 at 2:01 PM, Nigel Horne wrote: > > On 09/07/10 12:36, David Cantrell wrote: > >> On Thu, Jul 08, 2010 at 08:48:26AM +0100, Nigel Horne wrote: > >>> Module Need Have > >>> ! DBD::Pg

Re: CPAN::Reporter: test results were not valid, Prerequisite version too *high*

2010-07-10 Thread The Sidhekin
On Fri, Jul 9, 2010 at 2:01 PM, Nigel Horne wrote: > On 09/07/10 12:36, David Cantrell wrote: > >> On Thu, Jul 08, 2010 at 08:48:26AM +0100, Nigel Horne wrote: >> >> >> >>> CPAN::Reporter: test results were not valid, Prerequisite version too >>> low: >>> requires: >>> >>> Module

Re: CPAN::Reporter: test results were not valid, Prerequisite version too *high*

2010-07-09 Thread Serguei Trouchelle
Nigel Horne wrote: I have raised bug reports against both RWDE and DBD::Pg. DBD::Pg is not to blame, they have consistent numbering: 1.xx then 2.x.y The problem is with RWDE. -- Serguei Trouchelle

Re: CPAN::Reporter: test results were not valid, Prerequisite version too *high*

2010-07-09 Thread David Cantrell
On Fri, Jul 09, 2010 at 05:56:35PM +0200, Jerome Quelin wrote: > btw. this is not the only version problem encountered when dealing with > cpan modules. i think the "best" one i got is the guy who used ddmm > as a version scheme! :-) That's INSANE! -- David Cantrell | http://www.cantrell.

Re: CPAN::Reporter: test results were not valid, Prerequisite version too *high*

2010-07-09 Thread Jerome Quelin
On 10/07/09 16:33 +0100, Nigel Horne wrote: > Are there other CPAN modules with the same bug? plenty of them. i encounter this problem regularly since i package perl modules for mandriva. (around 700 at the time of writing) i'm generally opening a bug on rt (see the bugs i opened), which is fixed

Re: CPAN::Reporter: test results were not valid, Prerequisite version too *high*

2010-07-09 Thread Nigel Horne
I have raised bug reports against both RWDE and DBD::Pg. Are there other CPAN modules with the same bug? Is there a way that we can test for the problem? -Nigel -- Nigel Horne. Arranger, Adjudicator, Band Trainer, Composer, Tutor, Typesetter. NJH Music, ICQ#20252325, twitter: @nigelhorne n..

Re: CPAN::Reporter: test results were not valid, Prerequisite version too *high*

2010-07-09 Thread David Cantrell
On Fri, Jul 09, 2010 at 02:54:13PM +0100, Nigel Horne wrote: > >No, the latest is 2.017001, and there doesn't appear to have ever been a > >2.6. Note that 2.6.0 == 2.006000 != 2.6. > 2.6.0 is the closest, it was produced in April 2008. No it isn't. If you remember that 2.6.0 == 2.006 and 2.17.1

Re: CPAN::Reporter: test results were not valid, Prerequisite version too *high*

2010-07-09 Thread Nigel Horne
David Cantrell wrote: >On Thu, Jul 08, 2010 at 08:48:26AM +0100, Nigel Horne wrote: >>CPAN::Reporter: test results were not valid, Prerequisite version too >>low: >>requires: >> Module Need Have >> -- --- >> ! DBD::Pg2.6 2.1

Re: CPAN::Reporter: test results were not valid, Prerequisite version too *high*

2010-07-09 Thread David Cantrell
On Fri, Jul 09, 2010 at 01:01:12PM +0100, Nigel Horne wrote: > On 09/07/10 12:36, David Cantrell wrote: > >On Thu, Jul 08, 2010 at 08:48:26AM +0100, Nigel Horne wrote: > >>CPAN::Reporter: test results were not valid, Prerequisite version too low: > >>requires: > >> Module Need H

Re: CPAN::Reporter: test results were not valid, Prerequisite version too *high*

2010-07-09 Thread Nigel Horne
On 09/07/10 12:36, David Cantrell wrote: On Thu, Jul 08, 2010 at 08:48:26AM +0100, Nigel Horne wrote: CPAN::Reporter: test results were not valid, Prerequisite version too low: requires: Module Need Have -- --- ... ! DBD::Pg

Re: CPAN::Reporter: test results were not valid, Prerequisite version too *high*

2010-07-09 Thread David Cantrell
On Thu, Jul 08, 2010 at 08:48:26AM +0100, Nigel Horne wrote: > CPAN::Reporter: test results were not valid, Prerequisite version too low: > requires: > > Module Need Have > -- --- > ... > ! DBD::Pg2.6 2.17.1 > ... > > Now th

Re: CPAN::Reporter: test results were not valid, Prerequisite version too *high*

2010-07-08 Thread David Golden
On Thu, Jul 8, 2010 at 7:15 AM, Nigel Horne wrote: >> I can't help it if module authors do stupid things with their version >> numbers. > > That doesn't address the issue that I raised of informing developers that > they've made a mistake. Historically, authors have complained about getting FAIL

Re: CPAN::Reporter: test results were not valid, Prerequisite version too *high*

2010-07-08 Thread Nigel Horne
I can't help it if module authors do stupid things with their version numbers. That doesn't address the issue that I raised of informing developers that they've made a mistake. -Nigel

Re: CPAN::Reporter: test results were not valid, Prerequisite version too *high*

2010-07-08 Thread David Golden
On Thu, Jul 8, 2010 at 3:48 AM, Nigel Horne wrote: >  ! DBD::Pg                2.6  2.17.1 Let's review version number math: 2.6 = 2.60 2.17.1 = 2.017001 2.60 > 2.017001 I can't help it if module authors do stupid things with their version numbers. C.f. http://www.dagolden.com/i

CPAN::Reporter: test results were not valid, Prerequisite version too *high*

2010-07-08 Thread Nigel Horne
I understand that when a prerequisite for a module isn't installed, or is a version that is too early that CPAN::Reporter shouldn't report it. That is reasonable, it stops false positives. But look at this which happens when you try to test/install RWDE ('install RWDE'): ... CPAN::Reporter: