Skip Menu |

This queue is for tickets about the CPANPLUS-YACSmoke CPAN distribution.

Report information
The Basics
Id: 56407
Status: resolved
Worked: 10 min
Priority: 0/
Queue: CPANPLUS-YACSmoke

People
Owner: BINGOS [...] cpan.org
Requestors: PWES [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.54
Fixed in: (no value)



Subject: RECENT is saved in wrong directory
Both RECENT file and cpansmoke.dat.* files are saved in .cpanplus directory. However, when configuration of CPANPLUS changes, specifically CPAN::Config->{base} (e.g. through setting PERL5_YACSMOKE_BASE), cpansmoke.dat.* are saved in the new directory, while RECENT are still being placed in $HOME/.cpanplus. It would be nice, if the module be consistent with CPANPLUS::Config settings. It looks as simple as: --- YACSmoke.pm 2010-03-25 11:12:27.000000000 +0100 +++ YACSmoke.pm 2010-04-09 00:36:45.000000000 +0200 @@ -340,7 +340,7 @@ sub _download_list { my $self = shift; - my $path = catdir( CPANPLUS::Internals::Utils->_home_dir(), '.cpanplus' ); + my $path = $self->{conf}->get_conf('base'); my $local = catfile( $path, RECENT_FILE ); my $hosts = $self->{conf}->get_conf('hosts');
Thanks. Applied patch and version 0.56 has been uploaded to CPAN.