Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
CPAN::Mini accumulating no-longer-indexed files?by perlancar (Hermit) |
on Oct 23, 2018 at 13:15 UTC ( [id://1224551]=perlquestion: print w/replies, xml ) | Need Help?? |
perlancar has asked for the wisdom of the Perl Monks concerning the following question: Hi all, Glancing the source code, CPAN::Mini does not seem to clean downloaded release files that are no longer indexed in 02packages.details.txt.gz, and thus slowly "becoming less mini", am I right? Usually what I do regularly is the following: list all the files in my mirror, then compare it to the files listed in 02packages.details.txt.gz, and then remove the files in my mirror not listed in 02packages. Or, using my tool: lcpan files-unindexed | xargs rm. (Yes, there's CPAN::Mini::LatestDistVer but this is not exactly what I want. I want a CPAN mirror that only contains indexed files.)
Back to
Seekers of Perl Wisdom
|
|