'CPANPLUS' => {
'MAINTAINER' => 'kane',
- 'DISTRIBUTION' => 'BINGOS/CPANPLUS-0.9114.tar.gz',
+ 'DISTRIBUTION' => 'BINGOS/CPANPLUS-0.9115.tar.gz',
'FILES' => q[cpan/CPANPLUS],
'EXCLUDED' => [
qr{^inc/},
use vars qw( @EXPORT @ISA $VERSION );
@EXPORT = qw( shell fetch get install );
@ISA = qw( Exporter );
- $VERSION = "0.9114"; #have to hardcode or cpan.org gets unhappy
+ $VERSION = "0.9115"; #have to hardcode or cpan.org gets unhappy
}
### purely for backward compatibility, so we can call it from the commandline:
$Conf->{'conf'}->{'allow_build_interactivity'} = 1;
+=item allow_unknown_prereqs
+
+Boolean flag to indicate that unresolvable prereqs are acceptable.
+If C<true> then only warnings will be issued (the behaviour before 0.9114)
+when a module is unresolvable from any our sources (CPAN and/or
+C<custom_sources>). If C<false> then an unresolvable prereq will fail
+during the C<prepare> stage of distribution installation.
+Defaults to C<true>.
+
+=cut
+
+ $Conf->{'conf'}->{'allow_unknown_prereqs'} = 1;
+
=item base
The directory CPANPLUS keeps all its build and state information in.
my $conf = $cb->configure_object;
my %hash = @_;
- my ($prereqs, $format, $verbose, $target, $force, $prereq_build);
+ my ($prereqs, $format, $verbose, $target, $force, $prereq_build,$tolerant);
my $tmpl = {
### XXX perhaps this should not be required, since it may not be
### packaged, just installed...
target => { default => '', store => \$target,
allow => ['',qw[create ignore install]] },
prereq_build => { default => 0, store => \$prereq_build },
+ tolerant => { default => $conf->get_conf('allow_unknown_prereqs'),
+ store => \$tolerant },
};
check( $tmpl, \%hash ) or return;
my $core = $sub->( $mod );
unless ( defined $core ) {
error( loc( "No such module '%1' found on CPAN", $mod ) );
- $flag++;
+ $flag++ unless $tolerant;
next;
}
if ( $cb->_vcmp( $version, $core ) > 0 ) {
$ERROR_FH = \*STDERR;
$MSG_FH = \*STDOUT;
-package Log::Message::Handlers;
+package # Hide from Pause
+ Log::Message::Handlers;
use Carp ();
{
CPANPLUS::Internals::Report
];
-$VERSION = "0.9114";
+$VERSION = "0.9115";
=pod
BEGIN {
use vars qw[ $VERSION @ISA ];
@ISA = qw[ CPANPLUS::Shell::_Base::ReadLine ];
- $VERSION = "0.9114";
+ $VERSION = "0.9115";
}
load CPANPLUS::Shell;
$conf->set_conf( base => File::Spec->rel2abs(TEST_CONF_CPANPLUS_DIR));
$conf->set_conf( dist_type => '' );
$conf->set_conf( signature => 0 );
+ $conf->set_conf( allow_unknown_prereqs => 1 ); # just to make sure, eh
$conf->set_conf( verbose => 1 ) if $ENV{ $Env };
### never use a pager in the test suite
=item *
-L<XXX> has been upgraded from version 0.69 to version 0.70.
+L<CPANPLUS> has been upgraded from version 0.9113 to version 0.9115.
=back