Excellent! Most excellent!
Do you have a repo somewhere, git or svn, that I can send patches against?
I would like to fix a couple of nits.
Much better than the podwebserver I was using...
Best regards,
--- lib/CPAN/Mini/Webserver.pm.orig 2008-08-07 13:03:04.000000000 +0100
+++ lib/CPAN/Mini/Webserver.pm 2008-08-07 13:01:40.000000000 +0100
@@ -26,7 +26,7 @@
sub after_setup_listener {
my $self = shift;
my %config = CPAN::Mini->read_config;
- my $directory = dir( $config{local} );
+ my $directory = dir( glob $config{local} );
$self->directory($directory);
my $authors_filename = file( $directory, 'authors', '01mailrc.txt.gz' );
my $packages_filename
Apart from that it looks great
Re:A tiny patch
acme on 2008-08-08T07:01:36
Thanks, applied (and released as 0.33).
I tried to install this a while ago and it failed. It looks like it is failing for most reporting installers. I tracked down my failure (please set up minicpan) to something that I predict will be common.
CPAN::Mini expands ~ in its config to CPAN::Mini->__homedir during new, but CMW doesn't. That means it looks for files literally named ~, and fails to find them. With my config updated to use an absolute directory name, it worked.
Obviously(?) I'd rather use ~, since it lets me share the config on machines where my homedir differs.
Re:need to expand ~
acme on 2008-08-08T07:03:31
I've just released 0.33 which includes:- glob the local directory name (like CPAN::Mini does) to make
~/my-little-cpan work (patch by Andy Armstrong)
That's nice.
Yes. Let's have a BoF about this. Ideally somewhere you can share commit bits with people