Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-perl
Navigation:
Lists: gentoo-perl: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-perl@g.o
From: Michael Cummings <mcummings@g.o>
Subject: Re: [Patch] up2date-ng and CPAN package list
Date: Wed, 07 Feb 2007 15:28:49 -0500
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Daniel Westermann-Clark wrote:
> The comparison in the patch is too simplistic ... to catch this case I
> think up2date-ng.pl would need to generate a list of version numbers
> from CPAN with zeroes in place of the decimal points (instead of
> having the decimal points stripped).
> 
> /me goes to check if the same process would work for version numbers
> on the Perl ebuilds
> 

if we're going to go hog wild on this....split on the decimals, pad 0's
at the end for equal lengths, then compare...i think....seem to remember
using that technique once successfully, but then i dropped the code for
sanity reasons (unrelated to the padding for equal lengths bit)

- --

- -----o()o----------------------------------------------
Michael Cummings   |    #gentoo-dev, #gentoo-perl
Gentoo Perl Dev    |    on irc.freenode.net
Gentoo/SPARC
Gentoo/AMD64
GPG: 0543 6FA3 5F82 3A76 3BF7  8323 AB5C ED4E 9E7F 4E2E
- -----o()o----------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFFyjaBq1ztTp5/Ti4RAlLNAJ9QLJPbeS+T15xZEOJ5Ywoh2pi9+QCbBGsm
pbAfzJldprsKc5R/3oqdlA0=
=sRTN
-----END PGP SIGNATURE-----
-- 
gentoo-perl@g.o mailing list


References:
[Patch] up2date-ng and CPAN package list
-- Daniel Westermann-Clark
Re: [Patch] up2date-ng and CPAN package list
-- Christian Hartmann
Re: [Patch] up2date-ng and CPAN package list
-- Michael Cummings
Re: [Patch] up2date-ng and CPAN package list
-- Daniel Westermann-Clark
Navigation:
Lists: gentoo-perl: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: [Patch] up2date-ng and CPAN package list
Next by thread:
Big Perl Packages and g-cpan
Previous by date:
Re: [Patch] up2date-ng and CPAN package list
Next by date:
Perl ebuilds needing updates


Updated Jun 17, 2009

Summary: Archive of the gentoo-perl mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.