Skip Menu |
 

This queue is for tickets about the Test-Pod-LinkCheck CPAN distribution.

Report information
The Basics
Id: 78729
Status: open
Priority: 0/
Queue: Test-Pod-LinkCheck

People
Owner: Nobody in particular
Requestors: TEAM [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Backends other than CPAN don't find all modules?
Download (untitled) / with headers
text/plain 1.7k
Hi there, This might be a local system config issue, if so I'd appreciate any pointers on tracing this. It seems that anything other than CPAN as a backend has difficulty finding all modules on CPAN, in particular CGI::Application - http://search.cpan.org/~markstos/CGI-Application- 4.50/lib/CGI/Application.pm - as the following script hopefully demonstrates: $ cat podcheck.pl #!/usr/bin/perl use strict; use warnings; =pod Test link to L<CGI::Application> =cut use Test::Pod::LinkCheck; # CPAN seems to work fine, but CPANPLUS (the default) and CPANSQLite both fail Test::Pod::LinkCheck->new(cpan_backend => $_)->pod_ok('./podcheck.pl') for qw(CPAN CPANPLUS CPANSQLite); __END__ $ perl podcheck.pl CPAN: Storable loaded ok (v2.35) Reading '/home/tom/.cpan/Metadata' Database was generated on Wed, 01 Aug 2012 11:43:03 GMT ok 1 - LinkCheck test for ./podcheck.pl not ok 2 - LinkCheck test for ./podcheck.pl # Failed test 'LinkCheck test for ./podcheck.pl' # at podcheck.pl line 13. # Erroneous links: # * ./podcheck.pl:7:14 - Unknown link type(pod) to(CGI::Application) - module doesn't exist in CPAN not ok 3 - LinkCheck test for ./podcheck.pl # Failed test 'LinkCheck test for ./podcheck.pl' # at podcheck.pl line 13. # Erroneous links: # * ./podcheck.pl:7:14 - Unknown link type(pod) to(CGI::Application) - unable to check CPAN # Tests were run but no plan was declared and done_testing() was not seen. $ cpan CPAN CPANPLUS CPAN::SQLite CPAN: Storable loaded ok (v2.35) Reading '/home/tom/.cpan/Metadata' Database was generated on Wed, 01 Aug 2012 11:43:03 GMT CPAN: Module::CoreList loaded ok (v2.69) CPAN is up to date (1.9800). CPANPLUS is up to date (0.9130). CPAN::SQLite is up to date (0.202). cheers, Tom
Download (untitled) / with headers
text/plain 2.1k
Hello, Thanks for reporting this! I've reworked how the module handles the backends to be less FAIL and to output more diagnostics. Can you please retry with v0.008 that I've just released to CPAN? Be sure to enable verbose mode in order to see the diagnostic output. Thanks! On Wed Aug 01 19:05:51 2012, TEAM wrote: Show quoted text
> Hi there, > > This might be a local system config issue, if so I'd appreciate any > pointers on tracing this. > > It seems that anything other than CPAN as a backend has difficulty > finding all modules on CPAN, in particular CGI::Application - > http://search.cpan.org/~markstos/CGI-Application- > 4.50/lib/CGI/Application.pm - as the following script hopefully > demonstrates: > > $ cat podcheck.pl > #!/usr/bin/perl > use strict; > use warnings; > > =pod > > Test link to L<CGI::Application> > > =cut > > use Test::Pod::LinkCheck; > # CPAN seems to work fine, but CPANPLUS (the default) and CPANSQLite > both fail > Test::Pod::LinkCheck->new(cpan_backend => $_)->pod_ok('./podcheck.pl') > for qw(CPAN CPANPLUS CPANSQLite); > > __END__ > > $ perl podcheck.pl > CPAN: Storable loaded ok (v2.35) > Reading '/home/tom/.cpan/Metadata' > Database was generated on Wed, 01 Aug 2012 11:43:03 GMT > ok 1 - LinkCheck test for ./podcheck.pl > not ok 2 - LinkCheck test for ./podcheck.pl > # Failed test 'LinkCheck test for ./podcheck.pl' > # at podcheck.pl line 13. > # Erroneous links: > # * ./podcheck.pl:7:14 - Unknown link type(pod) to(CGI::Application) - > module doesn't exist in CPAN > not ok 3 - LinkCheck test for ./podcheck.pl > # Failed test 'LinkCheck test for ./podcheck.pl' > # at podcheck.pl line 13. > # Erroneous links: > # * ./podcheck.pl:7:14 - Unknown link type(pod) to(CGI::Application) - > unable to check CPAN > # Tests were run but no plan was declared and done_testing() was not > seen. > $ cpan CPAN CPANPLUS CPAN::SQLite > CPAN: Storable loaded ok (v2.35) > Reading '/home/tom/.cpan/Metadata' > Database was generated on Wed, 01 Aug 2012 11:43:03 GMT > CPAN: Module::CoreList loaded ok (v2.69) > CPAN is up to date (1.9800). > CPANPLUS is up to date (0.9130). > CPAN::SQLite is up to date (0.202). > > cheers, > > Tom
-- ~Apocalypse


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.