Re: How can I regenerate a .minicpanrc?

2017-03-16 Thread James E Keenan

On 03/16/2017 07:25 PM, Olaf Alders wrote:



On Mar 16, 2017, at 7:20 PM, James E Keenan  wrote:



Yes, I can't recall why I had it there.  Probably something having to do with 
CPAN::Mini::Visit::Simple.

As my memory of this improves, I also recall that I had something in the 
.minicpanrc to use this module from CPAN:

CPAN::Mini::LatestDistVersion - Create a CPAN mirror with only the latest 
version of each distribution

Would this do the trick?

class: CPAN::Mini::LatestDistVersion


I'm not sure, but your CPANRatings review of that module seems to suggest 
that's the solution. :)  
http://cpanratings.perl.org/dist/CPAN-Mini-LatestDistVersion

Olaf



Aha!  You caught me with another memory failure!  One of the rare times 
that I've used cpanratings -- and already it's disappeared from my brain.


In any case, I have opened https://github.com/rjbs/CPAN-Mini/issues/13 
in the hope of getting some improved documentation from rjbs.


Thank you very much.
Jim Keenan


Re: How can I regenerate a .minicpanrc?

2017-03-16 Thread Olaf Alders

> On Mar 16, 2017, at 7:20 PM, James E Keenan  wrote:

> Yes, I can't recall why I had it there.  Probably something having to do with 
> CPAN::Mini::Visit::Simple.
> 
> As my memory of this improves, I also recall that I had something in the 
> .minicpanrc to use this module from CPAN:
> 
> CPAN::Mini::LatestDistVersion - Create a CPAN mirror with only the latest 
> version of each distribution
> 
> Would this do the trick?
> 
> class: CPAN::Mini::LatestDistVersion

I'm not sure, but your CPANRatings review of that module seems to suggest 
that's the solution. :)  
http://cpanratings.perl.org/dist/CPAN-Mini-LatestDistVersion

Olaf

Re: How can I regenerate a .minicpanrc?

2017-03-16 Thread James E Keenan

On 03/16/2017 07:08 PM, Olaf Alders wrote:



On Mar 16, 2017, at 6:58 PM, James E Keenan  wrote:


Hi Jim,

Could you just copy/paste it?  For example, mine is currently:

local: ~/minicpan
remote: http://cpan.metacpan.org/
exact_mirror: 1



Thanks, Olaf.  I guess that's the "default" .minicpanrc.  But ISTR that at one 
point, on xdg's suggestion, I had something that pointed to a file whose name started 
with '06'.

jimk


Hi Jim,

06perms?  You'd find that in the modules directory of a CPAN mirror.  For 
example http://cpan.metacpan.org/modules/06perms.txt  Not sure how that plays 
into your config file, though.



Yes, I can't recall why I had it there.  Probably something having to do 
with CPAN::Mini::Visit::Simple.


As my memory of this improves, I also recall that I had something in the 
.minicpanrc to use this module from CPAN:


CPAN::Mini::LatestDistVersion - Create a CPAN mirror with only the 
latest version of each distribution


Would this do the trick?

class: CPAN::Mini::LatestDistVersion


Re: How can I regenerate a .minicpanrc?

2017-03-16 Thread Olaf Alders

> On Mar 16, 2017, at 6:58 PM, James E Keenan  wrote:
> 
>> Hi Jim,
>> 
>> Could you just copy/paste it?  For example, mine is currently:
>> 
>> local: ~/minicpan
>> remote: http://cpan.metacpan.org/
>> exact_mirror: 1
>> 
> 
> Thanks, Olaf.  I guess that's the "default" .minicpanrc.  But ISTR that at 
> one point, on xdg's suggestion, I had something that pointed to a file whose 
> name started with '06'.
> 
> jimk

Hi Jim,

06perms?  You'd find that in the modules directory of a CPAN mirror.  For 
example http://cpan.metacpan.org/modules/06perms.txt  Not sure how that plays 
into your config file, though.

Best,

Olaf

Re: How can I regenerate a .minicpanrc?

2017-03-16 Thread James E Keenan

On 03/16/2017 05:47 PM, Olaf Alders wrote:



On Mar 16, 2017, at 5:17 PM, James E Keenan  wrote:

Last month I was testing the latest version of CPAN module B::C.  The testing 
process caused major damage to my machine.  One of my FreeBSD VMs was rendered 
inaccessible.  All of the .xxx configuration files in my home directory 
disappeared.  I spent most of the next several days reinstalling the VM, 
restoring my .xxx files and backing them up in an off-site repository.

I thought I was completely recovered until today.  For the first time in about 
6 weeks, I decide to run 'minicpan'.  I typed the command by itself, as I have 
always done -- and only got the usage statement.  I attribute this to the 
disappearance of .minicpanrc config file.

I am now running 'minicpan -l .  AFAICT, the minicpan tree 
is itself undamaged.  Is there any way to simply regenerate .minicpanrc without 
triggering another minicpan update process?


Hi Jim,

Could you just copy/paste it?  For example, mine is currently:

local: ~/minicpan
remote: http://cpan.metacpan.org/
exact_mirror: 1



Thanks, Olaf.  I guess that's the "default" .minicpanrc.  But ISTR that 
at one point, on xdg's suggestion, I had something that pointed to a 
file whose name started with '06'.


jimk


Re: How can I regenerate a .minicpanrc?

2017-03-16 Thread Olaf Alders

> On Mar 16, 2017, at 5:17 PM, James E Keenan  wrote:
> 
> Last month I was testing the latest version of CPAN module B::C.  The testing 
> process caused major damage to my machine.  One of my FreeBSD VMs was 
> rendered inaccessible.  All of the .xxx configuration files in my home 
> directory disappeared.  I spent most of the next several days reinstalling 
> the VM, restoring my .xxx files and backing them up in an off-site repository.
> 
> I thought I was completely recovered until today.  For the first time in 
> about 6 weeks, I decide to run 'minicpan'.  I typed the command by itself, as 
> I have always done -- and only got the usage statement.  I attribute this to 
> the disappearance of .minicpanrc config file.
> 
> I am now running 'minicpan -l .  AFAICT, the minicpan tree 
> is itself undamaged.  Is there any way to simply regenerate .minicpanrc 
> without triggering another minicpan update process?

Hi Jim,

Could you just copy/paste it?  For example, mine is currently:

local: ~/minicpan
remote: http://cpan.metacpan.org/
exact_mirror: 1



Best,

Olaf