Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Minicpan Question

by kel (Sexton)
on May 03, 2020 at 19:42 UTC ( [id://11116403]=perlquestion: print w/replies, xml ) Need Help??

kel has asked for the wisdom of the Perl Monks concerning the following question:

In Linux I use Cpan::Mini and never had a problem wiith it. But tonight I had a problem getting it to work with Windows, so I used minicpan, which worked, BUT I noticed something a bit odd....

I let it run the defaults, and noted, that it clearly did not add a 'complete' set of packages, and only seemd to update what was on my local archive. On others it seemd to leave a bunch of duplicates with older versions intact. At the end, it removed a sizable amount of packages without duplicates, as well as the expected duplicate older versions of the ones it updated.

Its hardly a complete mirror, at least not in the Debian sense.

What I would want is not to mirror the *complete* archive, but only the latest versions of each package version. This is a fresh Win Strawberry install so I really have no issues with versioning. I also do *not* want it to remove any solo but deprecated packages, if possible.

Perhaps these options are there, but the sparse docs made them above my pay level. If necessary I would happily hack CPAN:mini, hoping there some type of FAQs on this subject

Am I imagining things, or is Google/DDG getting alot sparser in responses to searches about tech queries? Any good etexts on the use of modules and CPAN procedures. LOTS of stuff on Git, near nil on CPAN.....

Replies are listed 'Best First'.
Re: Minicpan Question
by marto (Cardinal) on May 04, 2020 at 10:02 UTC

    "I let it run the defaults, and noted, that it clearly did not add a 'complete' set of packages, and only seemd to update what was on my local archive."

    "What I would want is not to mirror the *complete* archive, but only the latest versions of each package version."

    That's what CPAN::Mini does by default. What did your log file say? Without showing what you did and what happened (logs), you are asking for needless guess work. How do I post a question effectively?.

    "Am I imagining things, or is Google/DDG getting alot sparser in responses to searches about tech queries?"

    Nobody can sensibly answer this, as it depends on what searches you do, what questions you ask etc...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11116403]
Approved by haukex
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2024-04-26 04:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found