From 2a72280debd8410946caa521213092d051d3cf84 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Mon, 19 Nov 2018 00:16:15 +0100 Subject: Add debug output to CPAN index generation Signed-off-by: Florian Pritz --- lib/App/ArchLinux/PackagerTools/CPAN.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/App/ArchLinux/PackagerTools/CPAN.pm b/lib/App/ArchLinux/PackagerTools/CPAN.pm index c2dcf4a..0bf201f 100644 --- a/lib/App/ArchLinux/PackagerTools/CPAN.pm +++ b/lib/App/ArchLinux/PackagerTools/CPAN.pm @@ -134,9 +134,11 @@ Set up the internal index of CPAN distributions =cut method _build_dist_index() { + $log->debug("Updating CPANPLUS index. This may take a while"); $self->{deps}->{cpanplus_backend}->reload_indices(); # TODO download pacakges list ourselves instead of using cpanplus for it? We may need cpanplus for other features later so keeping it is probably also fine. + $log->debug("Building index..."); my $packages_file = "$ENV{HOME}/.cpanplus/02packages.details.txt.gz"; my $fh = IO::Zlib->new($packages_file, 'r'); my %seen; -- cgit v1.2.3-24-g4f1b