develooper Front page | perl.libwww | Postings from November 2001

CPAN indexing confused by VERSION 1.100 of LWP::UserAgent, encouragesdowngrading to VERSION 1.99

Thread Next
From:
David Dyck
Date:
November 21, 2001 10:28
Subject:
CPAN indexing confused by VERSION 1.100 of LWP::UserAgent, encouragesdowngrading to VERSION 1.99
Message ID:
Pine.LNX.4.33.0111210905310.2542-100000@dd.tc.fluke.com

I use the cpan shell "r" command to compare the version numbers
of the modules installed to the latest on CPAN.

when LWP::UserAgent was incremented to version 1.100 via the line
$VERSION = sprintf("%d.%02d", q$Revision: 1.100 $ =~ /(\d+)\.(\d+)/);

Package namespace         installed    latest  in CPAN file
LWP::UserAgent                1.100      1.99  G/GA/GAAS/libwww-perl-5.60.tar.gz

The software that creates one of the CPAN database file
02packages.details.txt.gz is indicating that
G/GA/GAAS/libwww-perl-5.60.tar.gz is where the
latest LWP::UserAgent.

LWP::UserAgent                     1.99  G/GA/GAAS/libwww-perl-5.60.tar.gz

When I searched for earlier discussions,
    http://www.google.com/search?q=cpan+version+numbers+perl
I found
    http://archive.develooper.com/perl5-porters@perl.org/msg61570.html
where Michael G Schwern <schwern@pobox.com> jokes:

    When you put out your 98th minor revision to your module, let me know
    and we'll fix it. :)

Where are the sources for the tools that index CPAN?

Perhaps it is time to fix them - or at least have them
detect these inconsistencies.

I've also thought about writting a tool to postprocess
    02packages.details.txt.gz

David


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About