Subject: | Dists are still indexed, even if they are in "path_filters" |
I've set up .minicpanrc with "path_filters: .", to avoid adding any
content from the public CPAN. However, all these distributions are
still indexed in modules/02packages.details.txt.gz and
modules/03modlist.data.gz... which causes searches to blow up, e.g. via
minicpan_webserver (CPAN::Mini::Webserver):
Error reading
/home/ether/cpanmini-real/content/authors/id/C/CH/CHRISY/Net-Elexol-EtherIO24-0.22.tar.gz
at
/home/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/Archive/Peek/Tar.pm line
10
Archive::Peek::Tar::tar('Archive::Peek::Tar=HASH(0x6337e58)') called
at
/home/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/Archive/Peek/Tar.pm line
17
Archive::Peek::Tar::files('Archive::Peek::Tar=HASH(0x6337e58)')
called at
/home/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/Parse/CPAN/Packages/Distribution.pm
line 31
Parse::CPAN::Packages::Distribution::list_files('Parse::CPAN::Packages::Distribution=HASH(0x9b2cdf8)')
called at
/home/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/Parse/CPAN/Packages/Package.pm
line 14
Parse::CPAN::Packages::Package::filename('Parse::CPAN::Packages::Package=HASH(0x9b2a668)')
called at
/home/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/Parse/CPAN/Packages/Package.pm
line 24
Parse::CPAN::Packages::Package::file_content('Parse::CPAN::Packages::Package=HASH(0x9b2a668)')
called at
/home/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/CPAN/Mini/Webserver.pm
line 358
CPAN::Mini::Webserver::_add_search_preview('CPAN::Mini::Webserver=HASH(0x4d5c780)',
'Parse::CPAN::Packages::Package=HASH(0x9b2a668)', 'ether') called at
/home/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/CPAN/Mini/Webserver.pm
line 350
CPAN::Mini::Webserver::_packages_with_search_preview('CPAN::Mini::Webserver=HASH(0x4d5c780)',
'ARRAY(0x4d7a040)', 'ether') called at
/home/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/CPAN/Mini/Webserver.pm
line 333
CPAN::Mini::Webserver::search_page('CPAN::Mini::Webserver=HASH(0x4d5c780)')
called at
/home/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/CPAN/Mini/Webserver.pm
line 231
CPAN::Mini::Webserver::dispatch('CPAN::Mini::Webserver=HASH(0x4d5c780)',
'/search/', undef, undef, undef, undef, undef, undef, undef, ...) called
at
/home/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/CPAN/Mini/Webserver.pm
line 224
CPAN::Mini::Webserver::_handle_request('CPAN::Mini::Webserver=HASH(0x4d5c780)')
called at
/home/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/CPAN/Mini/Webserver.pm
line 183
CPAN::Mini::Webserver::__ANON__() called at
/home/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/Try/Tiny.pm line 71
eval {...} called at
/home/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/Try/Tiny.pm line 67
Try::Tiny::try('CODE(0x6314e78)', 'Try::Tiny::Catch=REF(0x4d1d7b0)')
called at
/home/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/CPAN/Mini/Webserver.pm
line 188
CPAN::Mini::Webserver::handle_request('CPAN::Mini::Webserver=HASH(0x4d5c780)',
'CGI=HASH(0x62fd200)') called at
/home/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/HTTP/Server/Simple/CGI.pm
line 154
eval {...} called at
/home/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/HTTP/Server/Simple/CGI.pm
line 154
HTTP::Server::Simple::CGI::handler('CPAN::Mini::Webserver=HASH(0x4d5c780)')
called at
/home/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/HTTP/Server/Simple.pm
line 402
HTTP::Server::Simple::__ANON__('CPAN::Mini::Webserver::NetServer0')
called at
/home/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/HTTP/Server/Simple.pm
line 307
HTTP::Server::Simple::__ANON__('CPAN::Mini::Webserver::NetServer0',
'port', 5002) called at
/home/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/HTTP/Server/Simple.pm
line 271
HTTP::Server::Simple::run('CPAN::Mini::Webserver=HASH(0x4d5c780)')
called at /home/perlbrew/perls/perl-5.14.2/bin/minicpan_webserver line 23