Skip Menu |

This queue is for tickets about the CPANPLUS CPAN distribution.

Report information
The Basics
Id: 3144
Status: resolved
Priority: 0/
Queue: CPANPLUS

People
Owner: Nobody in particular
Requestors: schwern [...] pobox.com
Cc:
AdminCc:

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



Subject: Don't cache files from file: URLs
CPANPLUS helpfully caches module downloads, but never clears this cache nor is there a way to limit it. When low on disk space, I have to blow this away by hand. Additionally, I have my own local CPAN mirror. Having CPANPLUS cache the "downloads" from file:///var/local/CPAN is pointless. CPANPLUS should immediately throw out any downloads from a file:/// URL once its done with it.
[MSCHWERN - Mon Aug 4 01:29:48 2003]: Show quoted text
> Additionally, I have my own local CPAN mirror. Having CPANPLUS cache > the "downloads" from file:///var/local/CPAN is pointless. CPANPLUS > should immediately throw out any downloads from a file:/// URL once > its done with it.
CPANPLUS relies heavily on it's own cache -- having modules not there that cpanplus expect to be there, would lead to Very Odd Behaviour. The file:// uri might be an nfs share that is no longer available, and things will break. The easy work around is, since the structure of downloads mirrors that of the cpan mirrors, to simply ln -s your download dir to the file:// uri.