-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build with rebuild.sh on a clean-room Debian 7 environment.
- Loading branch information
Showing
2,389 changed files
with
1,245,037 additions
and
31,630 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,8 +7,8 @@ BEGIN { pop @INC if $INC[-1] eq '.' } | |
use strict; | ||
use vars qw($VERSION); | ||
|
||
use App::Cpan '1.60_02'; | ||
$VERSION = '1.61'; | ||
use App::Cpan '1.64'; | ||
$VERSION = '1.64'; | ||
|
||
my $rc = App::Cpan->run( @ARGV ); | ||
|
||
|
@@ -25,7 +25,13 @@ cpan - easily interact with CPAN from the command line | |
cpan module_name [ module_name ... ] | ||
|
||
# with switches, installs modules with extra behavior | ||
cpan [-cfgimtTw] module_name [ module_name ... ] | ||
cpan [-cfFimtTw] module_name [ module_name ... ] | ||
|
||
# use local::lib | ||
cpan -I module_name [ module_name ... ] | ||
|
||
# one time mirror override for faster mirrors | ||
cpan -p ... | ||
|
||
# with just the dot, install from the distribution in the | ||
# current directory | ||
|
@@ -34,20 +40,8 @@ cpan - easily interact with CPAN from the command line | |
# without arguments, starts CPAN.pm shell | ||
cpan | ||
|
||
# force install modules (usually those that fail tests) | ||
cpan -f module_name [ module_name ... ] | ||
|
||
# install modules but without testing them | ||
cpan -T module_name [ module_name ... ] | ||
|
||
# dump the configuration | ||
cpan -J | ||
|
||
# load a different configuration to install Module::Foo | ||
cpan -j some/other/file Module::Foo | ||
|
||
# without arguments, but some switches | ||
cpan [-ahrvACDlLO] | ||
cpan [-ahpruvACDLOPX] | ||
|
||
=head1 DESCRIPTION | ||
|
||
|
@@ -77,7 +71,10 @@ Show the F<Changes> files for the specified modules | |
|
||
=item -D module [ module ... ] | ||
|
||
Show the module details. | ||
Show the module details. This prints one line for each out-of-date module | ||
(meaning, modules locally installed but have newer versions on CPAN). | ||
Each line has three columns: module name, local version, and CPAN | ||
version. | ||
|
||
=item -f | ||
|
||
|
@@ -114,13 +111,15 @@ distribution. | |
Print a help message and exit. When you specify C<-h>, it ignores all | ||
of the other options and arguments. | ||
|
||
=item -i | ||
=item -i module [ module ... ] | ||
|
||
Install the specified modules. | ||
Install the specified modules. With no other switches, this switch | ||
is implied. | ||
|
||
=item -I | ||
|
||
Load C<local::lib> (think like C<-I> for loading lib paths). | ||
Load C<local::lib> (think like C<-I> for loading lib paths). Too bad | ||
C<-l> was already taken. | ||
|
||
=item -j Config.pm | ||
|
||
|
@@ -146,23 +145,38 @@ List the modules by the specified authors. | |
|
||
Make the specified modules. | ||
|
||
=item -M mirror1,mirror2,... | ||
|
||
A comma-separated list of mirrors to use for just this run. The C<-P> | ||
option can find them for you automatically. | ||
|
||
=item -n | ||
|
||
Do a dry run, but don't actually install anything. (unimplemented) | ||
|
||
=item -O | ||
|
||
Show the out-of-date modules. | ||
|
||
=item -p | ||
|
||
Ping the configured mirrors | ||
Ping the configured mirrors and print a report | ||
|
||
=item -P | ||
|
||
Find the best mirrors you could be using (but doesn't configure them just yet) | ||
Find the best mirrors you could be using and use them for the current | ||
session. | ||
|
||
=item -r | ||
|
||
Recompiles dynamically loaded modules with CPAN::Shell->recompile. | ||
|
||
=item -t | ||
=item -s | ||
|
||
Drop in the CPAN.pm shell. This command does this automatically if you don't | ||
specify any arguments. | ||
|
||
=item -t module [ module ... ] | ||
|
||
Run a `make test` on the specified modules. | ||
|
||
|
@@ -190,6 +204,16 @@ UNIMPLEMENTED | |
Turn on cpan warnings. This checks various things, like directory permissions, | ||
and tells you about problems you might have. | ||
|
||
=item -x module [ module ... ] | ||
|
||
Find close matches to the named modules that you think you might have | ||
mistyped. This requires the optional installation of Text::Levenshtein or | ||
Text::Levenshtein::Damerau. | ||
|
||
=item -X | ||
|
||
Dump all the namespaces to standard output. | ||
|
||
=back | ||
|
||
=head2 Examples | ||
|
@@ -215,9 +239,10 @@ and tells you about problems you might have. | |
# force install modules ( must use -i ) | ||
cpan -fi CGI::Minimal URI | ||
|
||
=head1 ENVIRONMENT VARIABLES | ||
# install modules but without testing them | ||
cpan -Ti CGI::Minimal URI | ||
|
||
=over 4 | ||
=head2 Environment variables | ||
|
||
There are several components in CPAN.pm that use environment variables. | ||
The build tools, L<ExtUtils::MakeMaker> and L<Module::Build> use some, | ||
|
@@ -230,11 +255,21 @@ Oslo Concensus: L<https://github.com/Perl-Toolchain-Gang/toolchain-site/blob/mas | |
|
||
=over 4 | ||
|
||
=item NONINTERACTIVE_TESTING | ||
|
||
Assume no one is paying attention and skips prompts for distributions | ||
that do that correctly. C<cpan(1)> sets this to C<1> unless it already | ||
has a value (even if that value is false). | ||
|
||
=item PERL_MM_USE_DEFAULT | ||
|
||
Use the default answer for a prompted questions. C<cpan(1)> sets this | ||
to C<1> unless it already has a value (even if that value is false). | ||
|
||
=item CPAN_OPTS | ||
|
||
C<cpan> splits this variable on whitespace and prepends that list to C<@ARGV> | ||
before it processes the command-line arguments. For instance, if you always | ||
want to use C<local:lib>, you can set C<CPAN_OPTS> to C<-I>. | ||
As with C<PERL5OPTS>, a string of additional C<cpan(1)> options to | ||
add to those you specify on the command line. | ||
|
||
=item CPANSCRIPT_LOGLEVEL | ||
|
||
|
@@ -248,19 +283,6 @@ C<ERROR>, and C<FATAL>. The default is C<INFO>. | |
The path to the C<git> binary to use for the Git features. The default | ||
is C</usr/local/bin/git>. | ||
|
||
=item NONINTERACTIVE_TESTING | ||
|
||
Assume no one is paying attention and skips prompts for distributions | ||
that do that correctly. C<cpan(1)> sets this to C<1> unless it already | ||
has a value (even if that value is false). | ||
|
||
=item PERL_MM_USE_DEFAULT | ||
|
||
Use the default answer for a prompted questions. C<cpan(1)> sets this | ||
to C<1> unless it already has a value (even if that value is false). | ||
|
||
=back | ||
|
||
=back | ||
|
||
=head1 EXIT VALUES | ||
|
@@ -316,7 +338,7 @@ brian d foy, C<< <[email protected]> >> | |
|
||
=head1 COPYRIGHT | ||
|
||
Copyright (c) 2001-2014, brian d foy, All Rights Reserved. | ||
Copyright (c) 2001-2015, brian d foy, All Rights Reserved. | ||
|
||
You may redistribute this under the same terms as Perl itself. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.