← Back to team overview

launchpad-dev team mailing list archive

Re: Time for a sourcedeps clean-up?

 

On Mar 10, 2011, at 8:06 AM, John Arbash Meinel wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 
> ...
>>> 
>>> Great!  Ok so my next question is, how do I go about doing this?  It's easy to 
>>> bzr remove the tar files but how do we clean up the unpacked eggs?
>>> 
>>> I am showing my complete ignorance of how this stuff works :)
>> 
>> :-)
>> 
>> You clean up the unpacked eggs that you don't want in ./eggs/ by "rm -rf"-ing locally. They are local to your machine.
>> 
>> Gary
> 
> It sure would be nice to have a script that checked what was needed and
> deleted everything else. I've done it by hand, but it is a real pain.

Sure.

As an approximation, if you are going to be doing something else for awhile, you could just do a make clean, clean out the whole eggs directory with an rm -rf ./eggs/*, and make.  That will rebuild everything you currently need, without the rest.  It's not awful.

Gary




References