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
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 192
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
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-2359-1288466032-1818.61029-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 178
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.
MIME-Version: 1.0
In-Reply-To: <rt-3.8.HEAD-2359-1288466032-1818.61029-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <rt-3.8.HEAD-2359-1288466032-1818.61029-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-2359-1288467219-1459.61029-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 460
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
MIME-Version: 1.0
In-Reply-To: <rt-3.8.HEAD-2359-1288467219-1459.61029-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <rt-3.8.HEAD-2359-1288466032-1818.61029-0-0 [...] rt.cpan.org> <rt-3.8.HEAD-2359-1288467219-1459.61029-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-2360-1288467730-281.61029-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 443
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.
MIME-Version: 1.0
In-Reply-To: <rt-3.8.HEAD-2359-1288467219-1459.61029-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <rt-3.8.HEAD-2359-1288466032-1818.61029-0-0 [...] rt.cpan.org> <rt-3.8.HEAD-2359-1288467219-1459.61029-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-17550-1292262175-1593.61029-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 605
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.
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-26838-1299130904-1307.61029-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 25
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.