NAME
MyCPAN::Indexer::Queue::ErrorReports - Try to index distributions with error reports
SYNOPSIS
Use this in backpan_indexer.pl by specifying it as the queue class:
# in backpan_indexer.config
queue_class MyCPAN::Indexer::Queue::ErrorReports
DESCRIPTION
This class returns a list of Perl distributions for the BackPAN indexer to process. It selects the distributions that had previous indexing errors by extracting the distribution path from the error report. If the distribution isn't in the same place it was during the original indexing, it won't be in the queue.
Methods
- get_queue
-
get_queue
sets the keyqueue
in$Notes
hash reference. It finds all of the tarballs or zip archives in under the directories named inbackpan_dir
andmerge_dirs
in the configuration.It specifically skips files that end in
.txt.gz
or.data.gz
since PAUSE creates those meta files near the actual module installations.If the
organize_dists
configuration value is true, it also copies any distributions it finds into a PAUSE-like structure using the value of thepause_id
configuration to create the path.
SEE ALSO
MyCPAN::Indexer, MyCPAN::Indexer::Tutorial, MyCPAN::Indexer::Queue
SOURCE AVAILABILITY
This code is in Github:
git://github.com/briandfoy/mycpan-indexer.git
AUTHOR
brian d foy, <bdfoy@cpan.org>
COPYRIGHT AND LICENSE
Copyright © 2008-2018, brian d foy <bdfoy@cpan.org>. All rights reserved.
You may redistribute this under the terms of the Artistic License 2.0.