Skip Menu |

This queue is for tickets about the Bot-CPAN CPAN distribution.

Report information
The Basics
Id: 25366
Status: open
Priority: 0/
Queue: Bot-CPAN

People
Owner: Nobody in particular
Requestors: schubiger [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in:
  • 1.10
  • 1.11
Fixed in: (no value)



Subject: Hardcoded paths
Beginning as of 1.10, you have following lines of code within lib/Bot/CPAN.pm which make it impossible (atleast for me) to bootstrap the CPAN bot accordingly: 291: my $cp = retrieve('/home/afoxson/.cpanbot/index') unless $self->get('cp'); 558: my $cp = retrieve('/home/afoxson/.cpanbot/index'); As discussed on #perl in Freenode, the consensus was to use File::Home::Save to safely place files in home directories. I guess, you've been using these paths within your environment, but they surely a major show-stopper when the distribution gets proliferated to CPAN. Nevertheless, I reverted to 0.79 which came to life after I've installed the *exact* versions of the dependecies.
On Sat Mar 10 17:05:06 2007, SCHUBIGER wrote: Show quoted text
> Beginning as of 1.10, you have following lines of code within > lib/Bot/CPAN.pm which make it impossible (atleast for me) to bootstrap > the CPAN bot accordingly: > > 291: my $cp = retrieve('/home/afoxson/.cpanbot/index') unless > $self->get('cp'); > > 558: my $cp = retrieve('/home/afoxson/.cpanbot/index'); > > As discussed on #perl in Freenode, the consensus was to use > File::Home::Save to safely place files in home directories. > > I guess, you've been using these paths within your environment, > but they surely a major show-stopper when the distribution gets > proliferated to CPAN. > > Nevertheless, I reverted to 0.79 which came to life after I've > installed the *exact* versions of the dependecies.
Yikes! That was not intentional; The hard-coded paths were in there for debugging and inadvertently made it into the release. I'll get that corrected in the next version. Thank you very much for pointing this out!