Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge --cleandistfiles
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
neuron
Advocate
Advocate


Joined: 28 May 2002
Posts: 2371

PostPosted: Sun Jul 28, 2002 12:04 am    Post subject: emerge --cleandistfiles Reply with quote

not to sure about the name, but an option to clean /var/tmp/portage and distfiles I think should be in by default.

not a problem to clean it myself, nor do I too often, still, see questions now and then on "can I delete ..." :)

also, it's a pretty damn quick thing to add ;)
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Sun Jul 28, 2002 5:13 am    Post subject: Reply with quote

Not a bad idea really. Maybe 'cleanup' and it could do any other housekeeping chores that might be appropriate.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Sun Jul 28, 2002 5:35 am    Post subject: Reply with quote

I would put /var/tmp/portage and /usr/portage/distfiles in a completely different league. Cruft in /var/tmp/portage is usually a result of aborted ebuilds, but source tarballs in /usr/portage/distfiles can often be reused across multiple ebuilds, as -r1, -r2, -r3, etc come out. Coming from Debian, I thought this was a big benefit of Gentoo, because tracking Debian unstable meant lots of big binary upgrades all the time, even when they were working from the same upstream version. With Gentoo, a similar situation would mean all you have to do is pick up the new ebuild during an rsync, and everything else you need to install the software is still there.

Not that I'm trying to pour water on the idea, but I just think there should be a clear distinction between those two directories.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Sun Jul 28, 2002 5:46 am    Post subject: Reply with quote

rac wrote:
I would put /var/tmp/portage and /usr/portage/distfiles in a completely different league.
Agree 100%. I don't think of /usr/portage/distfiles as being a dir for 'housecleaning' whereas /var/tmp/portage is.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
fghellar
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 856
Location: Porto Alegre, BR

PostPosted: Sun Jul 28, 2002 6:03 am    Post subject: Reply with quote

Ain't this the --autoclean option of emerge?
_________________
| www.gentoo.org | www.tldp.org | www.google.com |
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Sun Jul 28, 2002 6:15 am    Post subject: Reply with quote

fghellar wrote:
Ain't this the --autoclean option of emerge?

I was under the impression that --autoclean didn't kick in if the ebuild broke in the middle, which is usually how I end up with stuff stuck in /var/tmp/portage.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Sun Jul 28, 2002 7:18 am    Post subject: Reply with quote

rac wrote:
I was under the impression that --autoclean didn't kick in if the ebuild broke in the middle, which is usually how I end up with stuff stuck in /var/tmp/portage.
Same here.

man emerge wrote:
This option is automatically enabled for normal users
Considering that, I'm thinking autoclean isn't working completely. If it leaves 'failed' stuff behind on purpose (I'm guessing that is the case) then another option or autoclean setting would be handy. I don't think I've rm'd much out of /var/tmp/portage though, so I'm not overly concerned.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
neuron
Advocate
Advocate


Joined: 28 May 2002
Posts: 2371

PostPosted: Sun Jul 28, 2002 1:21 pm    Post subject: Reply with quote

I was actually thinking two diffrent options for cleaning distfiles and tmpfiles, cuz, well, I'm on a fast line, and I'v got a setup to a gentoo server in my country which is fast :), so I really don't need the distfiles in.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum