App-lcpan-Bootstrap
view release on metacpan or search on metacpan
NAME
App::lcpan::Bootstrap - Bootstrap database for lcpan
VERSION
This document describes version 20230108.0.0 of App::lcpan::Bootstrap
(from Perl distribution App-lcpan-Bootstrap), released on 2023-01-08.
SYNOPSIS
DESCRIPTION
This distribution contains the database for lcpan (updated
periodically), so you can save time when setting up your local CPAN
mirror the first time. Without a boostrap database, indexing the mirror
for the first time can take several hours. With a fairly recent
bootstrap database, indexing time can be reduced to an hour or much
less.
Note however, that this particular bootstrap is produced with this lcpan
configuration:
max_file_size=209715200
; these are skipped because they are very large (contains thousands+ of
; autogenerated modules) and increase the indexing time by several times.
skip_index_file_patterns = ^eBay-API-\d
skip_index_file_patterns = ^Google-Ads-GoogleAds-Client-\d
skip_index_file_patterns = ^Google-Ads-AdWords-Client-\d
skip_index_file_patterns = ^GOOGLE-ADWORDS-PERL-CLIENT-\d
skip_index_file_patterns = ^Microsoft-AdCenter-\d
skip_index_file_patterns = ^Paws-\d
skip_index_file_patterns = ^VMOMI-\d
which means release files over 200MB as well as those matching the above
patterns are not processed (their distribution metadata are not
extracted and parsed, their PODs are also not parsed). This should be
fine for many use-cases, but if you do not want the above configuration,
you'll not be able to use this bootstrap.
The compressed bootstrap database is stored in the distribution's share
directory. lcpan will search for this bootstrap database the first time
it is run.
If you run lcpan before installing this distribution, your empty
database will already be created. To use the bootstrap database, install
this distribution, remove the empty created index.db, then run lcpan
again.
HOMEPAGE
Please visit the project's homepage at
<https://metacpan.org/release/App-lcpan-Bootstrap>.
SOURCE
Source repository is at
<https://github.com/perlancar/perl-App-lcpan-Bootstrap>.
SEE ALSO
App::lcpan, lcpan
AUTHOR
perlancar <perlancar@cpan.org>
CONTRIBUTING
To contribute, you can send patches by email/via RT, or send pull
requests on GitHub.
Most of the time, you don't need to build the distribution yourself. You
can simply modify the code, then test via:
% prove -l
If you want to build the distribution (e.g. to try to install it locally
( run in 0.797 second using v1.01-cache-2.11-cpan-39bf76dae61 )