- SEE ALSO
- COPYRIGHT AND LICENSE
CPAN::Mini::NoLargeFiles - Create a CPAN mirror excluding files that are too large
This document describes version 0.02 of CPAN::Mini::NoLargeFiles (from Perl distribution CPAN-Mini-NoLargeFiles), released on 2015-01-13.
By default files larger than 10MB will be skipped:
% minicpan -c CPAN::Mini::NoLargeFiles ...
To specify size:
% MAX_FILE_SIZE=20000000 minicpan -c CPAN::Mini::NoLargeFiles ...
There are files uploaded to CPAN that are quite large (over 100MB). For those like me who are often on a limited mobile data plan, or using a miniscule-sized SSD, this CPAN::Mini subclass might be useful.
This is a thin wrapper for LWP::UserAgent::Patch::FilterMirrorMaxSize, so instead of:
% PERL5OPT="-MLWP::UserAgent::Patch::FilterMirrorMaxSize=-size,10485760,-verbose,1" minicpan ...
you can just do:
% cpan -c CPAN::Mini::NoLargeFiles ...
Use the patch directly instead of this subclass (see Description).
Please visit the project's homepage at https://metacpan.org/release/CPAN-Mini-NoLargeFiles.
Source repository is at https://github.com/perlancar/perl-CPAN-Mini-NoLargeFiles.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=CPAN-Mini-NoLargeFiles
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
This software is copyright (c) 2015 by firstname.lastname@example.org.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.