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
Download (untitled) / with headers
text/plain 192b
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
Download (untitled) / with headers
text/plain 178b
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.
Download (untitled) / with headers
text/plain 460b
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
Download (untitled) / with headers
text/plain 443b
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.
Download (untitled) / with headers
text/plain 605b
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.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.