From ce6b844f14369920da04406f5366b964688cbb16 Mon Sep 17 00:00:00 2001 From: Chris 'BinGOs' Williams Date: Fri, 6 Jan 2012 00:16:06 +0000 Subject: [PATCH] Update CPANPLUS to CPAN version 0.9116 [DELTA] Changes for 0.9116 Thu Jan 5 22:45:06 2012 ================================================ * add NAME headings in modules with POD, Debian Lintian fixes, http://bugs.debian.org/65045 * Implement reload command in the shell --- Porting/Maintainers.pl | 2 +- cpan/CPANPLUS/lib/CPANPLUS.pm | 2 +- cpan/CPANPLUS/lib/CPANPLUS/Backend.pm | 2 +- cpan/CPANPLUS/lib/CPANPLUS/Backend/RV.pm | 2 +- cpan/CPANPLUS/lib/CPANPLUS/Config.pm | 2 +- cpan/CPANPLUS/lib/CPANPLUS/Configure.pm | 2 +- cpan/CPANPLUS/lib/CPANPLUS/Dist.pm | 2 +- cpan/CPANPLUS/lib/CPANPLUS/Dist/Autobundle.pm | 2 +- cpan/CPANPLUS/lib/CPANPLUS/Dist/MM.pm | 2 +- cpan/CPANPLUS/lib/CPANPLUS/Error.pm | 2 +- cpan/CPANPLUS/lib/CPANPLUS/FAQ.pod | 4 ++++ cpan/CPANPLUS/lib/CPANPLUS/Hacking.pod | 2 +- cpan/CPANPLUS/lib/CPANPLUS/Internals.pm | 4 ++-- cpan/CPANPLUS/lib/CPANPLUS/Internals/Extract.pm | 2 +- cpan/CPANPLUS/lib/CPANPLUS/Internals/Fetch.pm | 2 +- cpan/CPANPLUS/lib/CPANPLUS/Internals/Report.pm | 2 +- cpan/CPANPLUS/lib/CPANPLUS/Internals/Search.pm | 2 +- cpan/CPANPLUS/lib/CPANPLUS/Internals/Source.pm | 2 +- cpan/CPANPLUS/lib/CPANPLUS/Internals/Utils.pm | 2 +- cpan/CPANPLUS/lib/CPANPLUS/Module.pm | 2 +- cpan/CPANPLUS/lib/CPANPLUS/Module/Author.pm | 2 +- cpan/CPANPLUS/lib/CPANPLUS/Module/Author/Fake.pm | 2 +- cpan/CPANPLUS/lib/CPANPLUS/Module/Checksums.pm | 2 +- cpan/CPANPLUS/lib/CPANPLUS/Module/Fake.pm | 2 +- cpan/CPANPLUS/lib/CPANPLUS/Selfupdate.pm | 2 +- cpan/CPANPLUS/lib/CPANPLUS/Shell.pm | 2 +- cpan/CPANPLUS/lib/CPANPLUS/Shell/Default.pm | 11 +++++++++-- .../CPANPLUS/Shell/Default/Plugins/CustomSource.pm | 2 +- .../lib/CPANPLUS/Shell/Default/Plugins/Remote.pm | 2 +- .../lib/CPANPLUS/Shell/Default/Plugins/Source.pm | 2 +- pod/perldelta.pod | 2 +- 31 files changed, 43 insertions(+), 32 deletions(-) diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl index 886ad43746e0..284c0f283a98 100755 --- a/Porting/Maintainers.pl +++ b/Porting/Maintainers.pl @@ -446,7 +446,7 @@ package Maintainers; 'CPANPLUS' => { 'MAINTAINER' => 'kane', - 'DISTRIBUTION' => 'BINGOS/CPANPLUS-0.9115.tar.gz', + 'DISTRIBUTION' => 'BINGOS/CPANPLUS-0.9116.tar.gz', 'FILES' => q[cpan/CPANPLUS], 'EXCLUDED' => [ qr{^inc/}, diff --git a/cpan/CPANPLUS/lib/CPANPLUS.pm b/cpan/CPANPLUS/lib/CPANPLUS.pm index 5c405dbae2f6..995308c00339 100644 --- a/cpan/CPANPLUS/lib/CPANPLUS.pm +++ b/cpan/CPANPLUS/lib/CPANPLUS.pm @@ -13,7 +13,7 @@ BEGIN { use vars qw( @EXPORT @ISA $VERSION ); @EXPORT = qw( shell fetch get install ); @ISA = qw( Exporter ); - $VERSION = "0.9115"; #have to hardcode or cpan.org gets unhappy + $VERSION = "0.9116"; #have to hardcode or cpan.org gets unhappy } ### purely for backward compatibility, so we can call it from the commandline: diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Backend.pm b/cpan/CPANPLUS/lib/CPANPLUS/Backend.pm index 1ea888106b59..bb11f4736187 100644 --- a/cpan/CPANPLUS/lib/CPANPLUS/Backend.pm +++ b/cpan/CPANPLUS/lib/CPANPLUS/Backend.pm @@ -36,7 +36,7 @@ $ENV{'PERL5_CPANPLUS_IS_VERSION'} = __PACKAGE__->VERSION; =head1 NAME -CPANPLUS::Backend +CPANPLUS::Backend - programmer's interface to CPANPLUS =head1 SYNOPSIS diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Backend/RV.pm b/cpan/CPANPLUS/lib/CPANPLUS/Backend/RV.pm index f8bd7d75d003..4a7dec12f0de 100644 --- a/cpan/CPANPLUS/lib/CPANPLUS/Backend/RV.pm +++ b/cpan/CPANPLUS/lib/CPANPLUS/Backend/RV.pm @@ -19,7 +19,7 @@ local $Params::Check::VERBOSE = 1; =head1 NAME -CPANPLUS::Backend::RV +CPANPLUS::Backend::RV - return value objects =head1 SYNOPSIS diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Config.pm b/cpan/CPANPLUS/lib/CPANPLUS/Config.pm index c734f8a27279..e148b8fca75d 100644 --- a/cpan/CPANPLUS/lib/CPANPLUS/Config.pm +++ b/cpan/CPANPLUS/lib/CPANPLUS/Config.pm @@ -25,7 +25,7 @@ use version; =head1 NAME -CPANPLUS::Config +CPANPLUS::Config - configuration defaults and heuristics for CPANPLUS =head1 SYNOPSIS diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Configure.pm b/cpan/CPANPLUS/lib/CPANPLUS/Configure.pm index 9ef8cb140f66..04a08753d55b 100644 --- a/cpan/CPANPLUS/lib/CPANPLUS/Configure.pm +++ b/cpan/CPANPLUS/lib/CPANPLUS/Configure.pm @@ -39,7 +39,7 @@ for my $meth ( qw[conf _lib _perl5lib]) { =head1 NAME -CPANPLUS::Configure +CPANPLUS::Configure - configuration for CPANPLUS =head1 SYNOPSIS diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Dist.pm b/cpan/CPANPLUS/lib/CPANPLUS/Dist.pm index 73b0d633745e..5df2ef0c64f3 100644 --- a/cpan/CPANPLUS/lib/CPANPLUS/Dist.pm +++ b/cpan/CPANPLUS/lib/CPANPLUS/Dist.pm @@ -22,7 +22,7 @@ local $Params::Check::VERBOSE = 1; =head1 NAME -CPANPLUS::Dist +CPANPLUS::Dist - base class for plugins =head1 SYNOPSIS diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Dist/Autobundle.pm b/cpan/CPANPLUS/lib/CPANPLUS/Dist/Autobundle.pm index bf1d24963ea3..546f1ba63826 100644 --- a/cpan/CPANPLUS/lib/CPANPLUS/Dist/Autobundle.pm +++ b/cpan/CPANPLUS/lib/CPANPLUS/Dist/Autobundle.pm @@ -10,7 +10,7 @@ use base qw[CPANPLUS::Dist::Base]; =head1 NAME -CPANPLUS::Dist::Autobundle +CPANPLUS::Dist::Autobundle - distribution class for installation snapshots =head1 SYNOPSIS diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Dist/MM.pm b/cpan/CPANPLUS/lib/CPANPLUS/Dist/MM.pm index 4ef9fc1933a8..9121a9502fe2 100644 --- a/cpan/CPANPLUS/lib/CPANPLUS/Dist/MM.pm +++ b/cpan/CPANPLUS/lib/CPANPLUS/Dist/MM.pm @@ -23,7 +23,7 @@ local $Params::Check::VERBOSE = 1; =head1 NAME -CPANPLUS::Dist::MM +CPANPLUS::Dist::MM - distribution class for MakeMaker related modules =head1 SYNOPSIS diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Error.pm b/cpan/CPANPLUS/lib/CPANPLUS/Error.pm index 74acdce19131..968cead5605d 100644 --- a/cpan/CPANPLUS/lib/CPANPLUS/Error.pm +++ b/cpan/CPANPLUS/lib/CPANPLUS/Error.pm @@ -8,7 +8,7 @@ use Log::Message private => 0;; =head1 NAME -CPANPLUS::Error +CPANPLUS::Error - error handling for CPANPLUS =head1 SYNOPSIS diff --git a/cpan/CPANPLUS/lib/CPANPLUS/FAQ.pod b/cpan/CPANPLUS/lib/CPANPLUS/FAQ.pod index f7c41285966b..00c186ab0d74 100644 --- a/cpan/CPANPLUS/lib/CPANPLUS/FAQ.pod +++ b/cpan/CPANPLUS/lib/CPANPLUS/FAQ.pod @@ -2,6 +2,10 @@ =head1 NAME +CPANPLUS::FAQ - CPANPLUS Frequently Asked Questions + +=head1 NAME + CPANPLUS::FAQ =head1 DESCRIPTION diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Hacking.pod b/cpan/CPANPLUS/lib/CPANPLUS/Hacking.pod index 130cfb76d0cb..c226b0716914 100644 --- a/cpan/CPANPLUS/lib/CPANPLUS/Hacking.pod +++ b/cpan/CPANPLUS/lib/CPANPLUS/Hacking.pod @@ -2,7 +2,7 @@ =head1 NAME -CPANPLUS::Hacking +CPANPLUS::Hacking - developing CPANPLUS =head1 DESCRIPTION diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Internals.pm b/cpan/CPANPLUS/lib/CPANPLUS/Internals.pm index 569b06b8a076..9295e1be1264 100644 --- a/cpan/CPANPLUS/lib/CPANPLUS/Internals.pm +++ b/cpan/CPANPLUS/lib/CPANPLUS/Internals.pm @@ -42,13 +42,13 @@ use vars qw[@ISA $VERSION]; CPANPLUS::Internals::Report ]; -$VERSION = "0.9115"; +$VERSION = "0.9116"; =pod =head1 NAME -CPANPLUS::Internals +CPANPLUS::Internals - CPANPLUS internals =head1 SYNOPSIS diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Internals/Extract.pm b/cpan/CPANPLUS/lib/CPANPLUS/Internals/Extract.pm index 5447a5f333dc..2f8b730ca54b 100644 --- a/cpan/CPANPLUS/lib/CPANPLUS/Internals/Extract.pm +++ b/cpan/CPANPLUS/lib/CPANPLUS/Internals/Extract.pm @@ -19,7 +19,7 @@ local $Params::Check::VERBOSE = 1; =head1 NAME -CPANPLUS::Internals::Extract +CPANPLUS::Internals::Extract - internals for archive extraction =head1 SYNOPSIS diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Internals/Fetch.pm b/cpan/CPANPLUS/lib/CPANPLUS/Internals/Fetch.pm index b36eab553201..f8a232e1f8e1 100644 --- a/cpan/CPANPLUS/lib/CPANPLUS/Internals/Fetch.pm +++ b/cpan/CPANPLUS/lib/CPANPLUS/Internals/Fetch.pm @@ -19,7 +19,7 @@ $Params::Check::VERBOSE = 1; =head1 NAME -CPANPLUS::Internals::Fetch +CPANPLUS::Internals::Fetch - internals for fetching files =head1 SYNOPSIS diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Internals/Report.pm b/cpan/CPANPLUS/lib/CPANPLUS/Internals/Report.pm index ec237d1eab58..f704bf0091df 100644 --- a/cpan/CPANPLUS/lib/CPANPLUS/Internals/Report.pm +++ b/cpan/CPANPLUS/lib/CPANPLUS/Internals/Report.pm @@ -20,7 +20,7 @@ require CPANPLUS::Internals; =head1 NAME -CPANPLUS::Internals::Report +CPANPLUS::Internals::Report - internals for sending test reports =head1 SYNOPSIS diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Internals/Search.pm b/cpan/CPANPLUS/lib/CPANPLUS/Internals/Search.pm index e10e66b09b89..6a5a6cf9a48b 100644 --- a/cpan/CPANPLUS/lib/CPANPLUS/Internals/Search.pm +++ b/cpan/CPANPLUS/lib/CPANPLUS/Internals/Search.pm @@ -19,7 +19,7 @@ $Params::Check::VERBOSE = 1; =head1 NAME -CPANPLUS::Internals::Search +CPANPLUS::Internals::Search - internals for searching for modules =head1 SYNOPSIS diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Internals/Source.pm b/cpan/CPANPLUS/lib/CPANPLUS/Internals/Source.pm index b93cc1c96b3d..85e1bd2ca8fb 100644 --- a/cpan/CPANPLUS/lib/CPANPLUS/Internals/Source.pm +++ b/cpan/CPANPLUS/lib/CPANPLUS/Internals/Source.pm @@ -74,7 +74,7 @@ $Params::Check::VERBOSE = 1; =head1 NAME -CPANPLUS::Internals::Source +CPANPLUS::Internals::Source - internals for updating source files =head1 SYNOPSIS diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Internals/Utils.pm b/cpan/CPANPLUS/lib/CPANPLUS/Internals/Utils.pm index ba7c00a33656..afd472579895 100644 --- a/cpan/CPANPLUS/lib/CPANPLUS/Internals/Utils.pm +++ b/cpan/CPANPLUS/lib/CPANPLUS/Internals/Utils.pm @@ -18,7 +18,7 @@ local $Params::Check::VERBOSE = 1; =head1 NAME -CPANPLUS::Internals::Utils +CPANPLUS::Internals::Utils - convenience functions for CPANPLUS =head1 SYNOPSIS diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Module.pm b/cpan/CPANPLUS/lib/CPANPLUS/Module.pm index b9ddf408b56c..4d470c6a71ca 100644 --- a/cpan/CPANPLUS/lib/CPANPLUS/Module.pm +++ b/cpan/CPANPLUS/lib/CPANPLUS/Module.pm @@ -27,7 +27,7 @@ $Params::Check::VERBOSE = 1; =head1 NAME -CPANPLUS::Module +CPANPLUS::Module - CPAN module objects for CPANPLUS =head1 SYNOPSIS diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Module/Author.pm b/cpan/CPANPLUS/lib/CPANPLUS/Module/Author.pm index f466f0255861..9ce12ebfde2e 100644 --- a/cpan/CPANPLUS/lib/CPANPLUS/Module/Author.pm +++ b/cpan/CPANPLUS/lib/CPANPLUS/Module/Author.pm @@ -13,7 +13,7 @@ local $Params::Check::VERBOSE = 1; =head1 NAME -CPANPLUS::Module::Author +CPANPLUS::Module::Author - CPAN author object for CPANPLUS =head1 SYNOPSIS diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Module/Author/Fake.pm b/cpan/CPANPLUS/lib/CPANPLUS/Module/Author/Fake.pm index f0d37818de50..0c8447149815 100644 --- a/cpan/CPANPLUS/lib/CPANPLUS/Module/Author/Fake.pm +++ b/cpan/CPANPLUS/lib/CPANPLUS/Module/Author/Fake.pm @@ -17,7 +17,7 @@ $Params::Check::VERBOSE = 1; =head1 NAME -CPANPLUS::Module::Author::Fake +CPANPLUS::Module::Author::Fake - dummy author object for CPANPLUS =head1 SYNOPSIS diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Module/Checksums.pm b/cpan/CPANPLUS/lib/CPANPLUS/Module/Checksums.pm index 55d6258853cb..8dde1cc05544 100644 --- a/cpan/CPANPLUS/lib/CPANPLUS/Module/Checksums.pm +++ b/cpan/CPANPLUS/lib/CPANPLUS/Module/Checksums.pm @@ -19,7 +19,7 @@ $Params::Check::VERBOSE = 1; =head1 NAME -CPANPLUS::Module::Checksums +CPANPLUS::Module::Checksums - checking the checksum of a distribution =head1 SYNOPSIS diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Module/Fake.pm b/cpan/CPANPLUS/lib/CPANPLUS/Module/Fake.pm index e6338e1bd6ab..b0db1dae1096 100644 --- a/cpan/CPANPLUS/lib/CPANPLUS/Module/Fake.pm +++ b/cpan/CPANPLUS/lib/CPANPLUS/Module/Fake.pm @@ -17,7 +17,7 @@ $Params::Check::VERBOSE = 1; =head1 NAME -CPANPLUS::Module::Fake +CPANPLUS::Module::Fake - fake module object for internal use =head1 SYNOPSIS diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Selfupdate.pm b/cpan/CPANPLUS/lib/CPANPLUS/Selfupdate.pm index 654f48fc35f4..26d3dc81f5bb 100644 --- a/cpan/CPANPLUS/lib/CPANPLUS/Selfupdate.pm +++ b/cpan/CPANPLUS/lib/CPANPLUS/Selfupdate.pm @@ -13,7 +13,7 @@ $Params::Check::VERBOSE = 1; =head1 NAME -CPANPLUS::Selfupdate +CPANPLUS::Selfupdate - self-updating for CPANPLUS =head1 SYNOPSIS diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Shell.pm b/cpan/CPANPLUS/lib/CPANPLUS/Shell.pm index e80a79e52f2c..047352751213 100644 --- a/cpan/CPANPLUS/lib/CPANPLUS/Shell.pm +++ b/cpan/CPANPLUS/lib/CPANPLUS/Shell.pm @@ -20,7 +20,7 @@ $DEFAULT = SHELL_DEFAULT; =head1 NAME -CPANPLUS::Shell +CPANPLUS::Shell - base class for CPANPLUS shells =head1 SYNOPSIS diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Shell/Default.pm b/cpan/CPANPLUS/lib/CPANPLUS/Shell/Default.pm index 4ce8bea60a53..c06c1a66c0cd 100644 --- a/cpan/CPANPLUS/lib/CPANPLUS/Shell/Default.pm +++ b/cpan/CPANPLUS/lib/CPANPLUS/Shell/Default.pm @@ -26,7 +26,7 @@ local $Data::Dumper::Indent = 1; # for dumpering from ! BEGIN { use vars qw[ $VERSION @ISA ]; @ISA = qw[ CPANPLUS::Shell::_Base::ReadLine ]; - $VERSION = "0.9115"; + $VERSION = "0.9116"; } load CPANPLUS::Shell; @@ -56,6 +56,7 @@ my $map = { 'u' => '_uninstall', '/' => '_meta', # undocumented for now 'c' => '_reports', + 'e' => '_reload_shell', }; ### free letters: e g j k n y ### @@ -73,7 +74,7 @@ my $Prompt = $Brand . '> '; =head1 NAME -CPANPLUS::Shell::Default +CPANPLUS::Shell::Default - the default CPANPLUS shell =head1 SYNOPSIS @@ -141,6 +142,7 @@ CPANPLUS::Shell::Default cpanp> w # show last search results again cpanp> q # quit the shell + cpanp> e # exit the shell and reload cpanp> /plugins # list available plugins cpanp> /? PLUGIN # list help test of @@ -544,6 +546,7 @@ sub _quit { loc('[General]' ), loc(' h | ? # display help' ), loc(' q # exit' ), +loc(' e # exit and reload' ), loc(' v # version information' ), loc('[Search]' ), loc(' a AUTHOR ... # search by author(s)' ), @@ -1896,6 +1899,10 @@ sub _read_configuration_from_rc { } } +sub _reload_shell { + { exec ($^X, '-MCPANPLUS', '-e', 'shell') }; print STDERR "couldn't exec foo: $!"; +} + 1; __END__ diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Shell/Default/Plugins/CustomSource.pm b/cpan/CPANPLUS/lib/CPANPLUS/Shell/Default/Plugins/CustomSource.pm index 7ec2978e0744..b602a547ac33 100644 --- a/cpan/CPANPLUS/lib/CPANPLUS/Shell/Default/Plugins/CustomSource.pm +++ b/cpan/CPANPLUS/lib/CPANPLUS/Shell/Default/Plugins/CustomSource.pm @@ -9,7 +9,7 @@ use Locale::Maketext::Simple Class => 'CPANPLUS', Style => 'gettext'; =head1 NAME -CPANPLUS::Shell::Default::Plugins::CustomSource +CPANPLUS::Shell::Default::Plugins::CustomSource - add custom sources to CPANPLUS =head1 SYNOPSIS diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Shell/Default/Plugins/Remote.pm b/cpan/CPANPLUS/lib/CPANPLUS/Shell/Default/Plugins/Remote.pm index 239c4cd6e115..9d14a5976dce 100644 --- a/cpan/CPANPLUS/lib/CPANPLUS/Shell/Default/Plugins/Remote.pm +++ b/cpan/CPANPLUS/lib/CPANPLUS/Shell/Default/Plugins/Remote.pm @@ -9,7 +9,7 @@ use Locale::Maketext::Simple Class => 'CPANPLUS', Style => 'gettext'; =head1 NAME -CPANPLUS::Shell::Default::Plugins::Remote +CPANPLUS::Shell::Default::Plugins::Remote - connect to a remote CPANPLUS =head1 SYNOPSIS diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Shell/Default/Plugins/Source.pm b/cpan/CPANPLUS/lib/CPANPLUS/Shell/Default/Plugins/Source.pm index e0266cd6925d..74c3582ffb40 100644 --- a/cpan/CPANPLUS/lib/CPANPLUS/Shell/Default/Plugins/Source.pm +++ b/cpan/CPANPLUS/lib/CPANPLUS/Shell/Default/Plugins/Source.pm @@ -6,7 +6,7 @@ use Locale::Maketext::Simple Class => 'CPANPLUS', Style => 'gettext'; =head1 NAME -CPANPLUS::Shell::Default::Plugins::Source +CPANPLUS::Shell::Default::Plugins::Source - read in CPANPLUS commands =head1 SYNOPSIS diff --git a/pod/perldelta.pod b/pod/perldelta.pod index b50f81723498..f98061367559 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -173,7 +173,7 @@ Version::Requirements has now been merged as CPAN::Meta::Requirements. =item * -L has been upgraded from version 0.9113 to version 0.9115. +L has been upgraded from version 0.9113 to version 0.9116. =item *