Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 14775
Status: resolved
Priority: 0/
Queue: CPAN-Mini

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

Bug Information
Severity: Wishlist
Broken in: 0.36
Fixed in: (no value)



Subject: minicpan doesn't create symlink trees
minicpan's very useful, but I've run in to one problem with it. FreeBSD's port's collection makes it very simple to install Perl modules from CPAN and stay within FreeBSD's packaging framework. It also provides an easy mechanism to specify your own CPAN mirror. I'd expected that I'd be able to run minicpan, and then point the ports collection at my local mirror. The problem is that the ports collection expects to download from the CPAN/modules/by-module/{top-level}/ directories. On CPAN, these directories contain symlinks back to the distribution files in the authors/id/ directories. minicpan doesn't replicate this tree of symlinks, so out of the box, I can't configure the FreeBSD ports collection to use the minicpan mirror. I've written a quick and dirty script that, given a minicpan mirror, replicates the archive. I need to clean it up and add documentation, but after I've done that would you like to roll it in to minicpan, or would you prefer it was kept as a separate tool?
From: nikc [...] cpan.org
[guest - Tue Sep 27 09:03:15 2005]: Show quoted text
> I've written a quick and dirty script that, given a minicpan mirror, > replicates the archive. I need to clean it up and add > documentation, but after I've done that would you like to roll it > in to minicpan, or would you prefer it was kept as a separate tool?
Cleaned up, and with documentation, it can be found at: http://jc.ngo.org.uk/trac-bin/trac.cgi/file/nik/CPAN/minicpan-symlinks/trunk/minicpan-symlinks N
I'm open to a patch to add this behavior, but I have no plans to add it myself. -- rjbs
Le Jeu. Mai. 01 22:21:00 2008, RJBS a écrit : Show quoted text
> I'm open to a patch to add this behavior, but I have no plans to add it > myself.
The work had already been done by NIKC. You just have to add his 3 years old minicpan-symlinks script.
This was imported in 2010 in c5973091 It would be nice to see a switch to minicpan to integrate the behavior. Otherwise, the program is included (but not installed) with the dist. -- rjbs