Skip Menu |

This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id: 106367
Status: open
Priority: 0/
Queue: CPAN

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

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: install should grok distributions
$ cpan perl-ldap CPAN: Storable loaded ok (v2.41) Reading '/home/jhietaniemi/.cpan/Metadata' Database was generated on Tue, 11 Aug 2015 14:29:02 GMT Warning: Cannot install perl-ldap, don't know what it is. Try the command i /perl-ldap/ to find objects with matching identifiers. Argh. Sure, I can run the "i /perl-ldap/" to find that there is M/MA/MARSCHAP/perl-ldap-0.65.tar.gz ... but that doesn't help me that much as I'm trying to automate installation of hundreds of modules.
On 2015-08-11 07:39:16, JHI wrote: Show quoted text
> $ cpan perl-ldap > CPAN: Storable loaded ok (v2.41) > Reading '/home/jhietaniemi/.cpan/Metadata' > Database was generated on Tue, 11 Aug 2015 14:29:02 GMT > Warning: Cannot install perl-ldap, don't know what it is. > Try the command > > i /perl-ldap/ > > to find objects with matching identifiers. > > Argh. Sure, I can run the "i /perl-ldap/" to find that there is > M/MA/MARSCHAP/perl-ldap-0.65.tar.gz ... but that doesn't help me that > much as I'm trying to automate installation of hundreds of modules.
This would be tricky since distributions are not indexed; only modules are. Therefore, installing by distribution name would directly map to "search by pattern" in the implementation. Those distributions whose names don't match their modules really ought to be phased out. New ones are not allowed anymore -- the existing ones have been grandfathered, but they ought to transition away from that naming scheme. (my $0.02 as a perl toolchain gang member - I'm not a CPAN.pm maintainer.)
Show quoted text
> Those distributions whose names don't match their modules really ought > to be phased out. New ones are not allowed anymore -- the existing > ones have been grandfathered, but they ought to transition away from > that naming scheme.
Phased out, and/or the minimum the Definitive and Final mapping should be finalized and published. The old names will haunt us for years.