blib/lib/Acme/CPANModules/LocalCPANMirror.pm

filter: Statementstmt 100% 4 / 4 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a totaltotal 100% 4 / 4 SCAR 0
CC
0
Cov
0%
CRAP 0
↑ Summary
1 package Acme::CPANModules::LocalCPANMirror;
2  
3 1 our $DATE = '2019-01-09'; # DATE
4 1 our $VERSION = '0.001'; # VERSION
5  
6 1 our $LIST = {
7 summary => 'Creating a local CPAN mirror',
8 description => <<'_',
9  
10 Since CPAN repository is just a hierarchy of files, you can simply use a
11 recursive download/mirror tool over http/https/ftp. However, for additional
12 features you can take a look at the modules in this list.
13  
14 _
15 entries => [
16 {
17 module=>'CPAN::Mini',
18 description => <<'_',
19  
20 This module lets you create a so-called "mini mirror", which only contains the
21 newest release for each distribution (where CPAN might also contains previous
22 versions of a distribution as long as the CPAN author does not clean up his
23 previous releases). This produces a significantly smaller CPAN mirror which you
24 can use on your PC/laptop for offline development use.
25  
26 _
27 },
28 {
29 module=>'App::lcpan',
30 description => <<'_',
31  
32 This application not only lets you download a CPAN mini mirror (using
33 <pm:CPAN::Mini> actually) but also index the package list and distribution
34 metadata into a SQLite database so you can perform various queries, like list of
35 modules/distributions/scripts of a CPAN author, or related modules using
36 cross-mention information on modules' PODs, or various rankings.
37  
38 _
39 },
40 ],
41 };
42  
43 1 1;
44 # ABSTRACT: Creating a local CPAN mirror
45  
46 __END__
↑ Summary