Subject: | Shipwright doesn't follow its internal dependencies |
I have imported a module that doesn't exist on CPAN. If I try to import
a second module that depends on the first, Shipwright crashes:
% shipwright import -r fs:`pwd`
file:/home/bradc/development/starlink/perlmods/Starlink/HDSPACK/Starlink-HDSPACK-undef.tar.gz
CPAN related output will be at /tmp/shipwright_cpan.log
Use of uninitialized value in numeric eq (==) at
/local/perl-5.8/lib/site_perl/5.8.8/Shipwright/Source/CPAN.pm line 85.
invalid source: can't find 'NDF' in your CPAN mirror(s)
[http://cpan.mirror.facebook.com http://cpan.knowledgematters.net
http://cpan.yahoo.com]. at
/local/perl-5.8/lib/site_perl/5.8.8/Shipwright/Source/CPAN.pm line 97
Shipwright::Source::CPAN::run('Shipwright::Source::CPAN=HASH(0x789c8d0)') called
at /local/perl-5.8/lib/site_perl/5.8.8/Shipwright/Source/Base.pm line 441
Shipwright::Source::Base::_follow('Shipwright::Source::Compressed=HASH(0x6ca0770)',
'/tmp/shipwright_source_gIMm9O/Starlink-HDSPACK-undef') called at
/local/perl-5.8/lib/site_perl/5.8.8/Shipwright/Source/Compressed.pm line 33
Shipwright::Source::Compressed::run('Shipwright::Source::Compressed=HASH(0x6ca0770)',
'copy', 'HASH(0x661ac80)') called at
/local/perl-5.8/lib/site_perl/5.8.8/Shipwright/Script/Import.pm line 157
Shipwright::Script::Import::run('Shipwright::Script::Import=HASH(0x639b500)',
'file:/home/bradc/development/starlink/perlmods/Starlink/HDSPA...')
called at /local/perl-5.8/lib/site_perl/5.8.8/App/CLI/Command.pm line 53
App::CLI::Command::run_command('Shipwright::Script::Import=HASH(0x639b500)',
'file:/home/bradc/development/starlink/perlmods/Starlink/HDSPA...')
called at /local/perl-5.8/lib/site_perl/5.8.8/App/CLI.pm line 79
App::CLI::dispatch('Shipwright::Script') called at
/local/perl/bin/shipwright line 16
Shipwright should first check to see if a required module has already
been imported to its repository before going off to CPAN.