Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the App-cpanminus CPAN distribution.

Report information
The Basics
Id: 61029
Status: resolved
Priority: 0/
Queue: App-cpanminus

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

Bug Information
Severity: Important
Broken in: 1.0012
Fixed in: (no value)



Subject: .cpanm directory size control
I think cpanm should control the size of .cpanm build directory, and that should not be a problem left to the user. [ambs@rachmaninoff foo]$ du -hs ~/.cpanm/ 590M /Users/ambs/.cpanm/ Cheers
Adding support to check size of the directory and cleanup slows things down (like CPAN.pm does *before* your install by default which is annoying) and makes cpanm not stateless.
On Sat Oct 30 15:13:52 2010, MIYAGAWA wrote: Show quoted text
> Adding support to check size of the directory and cleanup slows things > down (like CPAN.pm > does *before* your install by default which is annoying) and makes > cpanm not stateless.
Just let me say that for a stateless app, cpanminus is taking too much disk space. [ambs@rachmaninoff set01]$ du -hs ~/.cpanm/ 279M /Users/ambs/.cpanm/ This is *NOT* the definition of a stateless application. Cheers Alberto
On Sat Oct 30 15:33:39 2010, AMBS wrote: Show quoted text
> On Sat Oct 30 15:13:52 2010, MIYAGAWA wrote:
> > Adding support to check size of the directory and cleanup slows things > > down (like CPAN.pm > > does *before* your install by default which is annoying) and makes > > cpanm not stateless.
Also, you can remove all work directories after a successfull build. Not that big deal/time consuming. Only failed builds would be poluting that path. Cheers.
On Sat Oct 30 15:33:39 2010, AMBS wrote: Show quoted text
> On Sat Oct 30 15:13:52 2010, MIYAGAWA wrote:
> > Adding support to check size of the directory and cleanup slows things > > down (like CPAN.pm > > does *before* your install by default which is annoying) and makes > > cpanm not stateless.
> > Just let me say that for a stateless app, cpanminus is taking too much > disk space. > > [ambs@rachmaninoff set01]$ du -hs ~/.cpanm/ > 279M /Users/ambs/.cpanm/ > > This is *NOT* the definition of a stateless application. >
It *is* stateless because you can safely rm -r the whole directory and cpanm doesn't care.
This was fixed in 1.1002.