This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id:
39319
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
frank.wiegand [...] gmail.com
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
  • 1.92_58
  • 1.92_59
  • 1.92_60
  • 1.92_61
  • 1.92_62
  • 1.92_63
  • 1.92_64
Fixed in:
(no value)



Subject: Order of module list produced by the "r" command
Hi, since it's not documented maybe this is not a bug. The "r" command since 1.92_58 does not correctly sort its output. Thanks, Frank % sudo cpan [...] cpan shell -- CPAN exploration and modules installation (v1.9205) [...]
Show quoted text
cpan> r
Package namespace installed latest in CPAN file Apache::RPC::Server 1.29 1.30 RJRAY/RPC-XML-0.60.tar.gz B 1.09_01 1.17 RGARCIA/perl-5.10.0.tar.gz Cairo 1.043 1.060 TSCH/Cairo-1.060.tar.gz DBD::mysql 4.005 4.008 CAPTTOFU/DBD-mysql-4.008.tar.gz DB_File 1.814 1.817 PMQS/DB_File-1.817.tar.gz Glib 1.161 1.183 TSCH/Glib-1.183.tar.gz Gnome2 1.040 1.042 TSCH/Gnome2-1.042.tar.gz Gnome2::VFS 1.080 1.081 TSCH/Gnome2-VFS-1.081.tar.gz Gtk2 1.161 1.183 TSCH/Gtk2-1.183.tar.gz Image::Magick 6.3.7 6.004000 JCRISTY/PerlMagick-6.40.tar.gz Net::DBus 0.33.5 0.033006 DANBERR/Net-DBus-0.33.6.tar.gz Purple 0.01 1.0 CDENT/Purple/Purple-1.0.tar.gz RPC::PlClient 0.2017 0.2020 MNOONING/PlRPC/PlRPC-0.2020.tar.gz [...] % sudo cpan [...] cpan shell -- CPAN exploration and modules installation (v1.9258) [...]
Show quoted text
cpan> r
[...] Package namespace installed latest in CPAN file Cairo 1.043 1.060 TSCH/Cairo-1.060.tar.gz DBD::mysql 4.005 4.008 CAPTTOFU/DBD-mysql-4.008.tar.gz DB_File 1.814 1.817 PMQS/DB_File-1.817.tar.gz Glib 1.161 1.183 TSCH/Glib-1.183.tar.gz Gnome2 1.040 1.042 TSCH/Gnome2-1.042.tar.gz Gnome2::VFS 1.080 1.081 TSCH/Gnome2-VFS-1.081.tar.gz Gtk2 1.161 1.183 TSCH/Gtk2-1.183.tar.gz Net::DBus 0.33.5 0.033006 DANBERR/Net-DBus-0.33.6.tar.gz Purple 0.01 1.0 CDENT/Purple/Purple-1.0.tar.gz RPC::XML 1.36 1.40 RJRAY/RPC-XML-0.60.tar.gz B 1.09_01 1.17 RGARCIA/perl-5.10.0.tar.gz CPAN::Nox 5.402371 5.402411 ANDK/CPAN-1.9205.tar.gz Image::Magick 6.3.7 6.004000 JCRISTY/PerlMagick-6.40.tar.gz RPC::PlClient 0.2017 0.2020 MNOONING/PlRPC/PlRPC-0.2020.tar.gz [...]
Subject: Re: [rt.cpan.org #39319] Order of module list produced by the "r" command
Date: Tue, 16 Sep 2008 20:51:11 +0200
To: bug-CPAN@rt.cpan.org
From: andreas.koenig.7os6VVqR@franz.ak.mind.de (Andreas J. Koenig)
Show quoted text
>>>>> On Tue, 16 Sep 2008 03:37:15 -0400, "Frank Wiegand via RT" <bug-CPAN@rt.cpan.org> said:
Show quoted text
> since it's not documented maybe this is not a bug. > The "r" command since 1.92_58 does not correctly sort its > output.
* address #32525: when running the 'r' command, try to display the module name that is best suited for the distribution name (suggestion and prove of concept implementation by imacat) I had to decide about a trade-off. In the old times the r command sorted by module names but per distribution the first module name that came by reigned the distro and the result was ugly. Sorting the complete list before displaying is inacceptable because the user would have to wait long before the whole list comes at once. So the solution to sort in two passes seemed like an acceptable compromise. In the first pass all modules are listed that have an obvious connection between distroname and one of the modules in the distro. In the second pass the rest is displayed the old way. Suggestions welcome where this should be documented (and how:) -- andreas
I believe the explanation counts as a resolved. If not, let me know if there's a different possible solution.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.