Gentoo Archives: gentoo-soc

From: Dmitry Bashkatov <me@×××××××.name>
To: gentoo-soc@l.g.o
Subject: Re: [gentoo-soc] New idea: network eclean
Date: Thu, 18 Mar 2010 14:22:35
Message-Id: 2eec58371003180722w387beacq3eef195c95b58dfe@mail.gmail.com
In Reply to: Re: [gentoo-soc] New idea: network eclean by Nirbheek Chauhan
1 2010/3/18 Nirbheek Chauhan <nirbheek@g.o>:
2 > On Thu, Mar 18, 2010 at 6:59 PM, Dmitry Bashkatov <me@×××××××.name> wrote:
3 >> Hello! I have an idea for GSoC. There is tool called eclean. It is
4 >> really helpful to clean unneeded distfiles. But it is very popular to
5 >> share the same distfiles location between number of machines via NFS.
6 >> And calling eclean from one machine deletes distfiles that may be
7 >> useful for others.
8 >> Idea is to create network eclean. That will gather information about
9 >> wanted distfiles from all machines listed in some file and then do
10 >> delete. Hosts file by default contains only localhost.
11 >>
12 >> What do you think about it?
13 >> This is easy task, so it can be united with other gsoc idea.
14 >>
15 >
16 > This can already be done if you run `eclean -pCq` on all the machines,
17 > and only delete the files which are common among all those lists. It's
18 > pretty easy to hack up a script to ssh into all the machines, run the
19 > command, gather the lists, and find the intersection of them all.
20 >
21 > Personally, I don't see how this is more than a 2hr job.
22 >
23 > --
24 > ~Nirbheek Chauhan
25 >
26 > Gentoo GNOME+Mozilla Team
27 >
28 >
29
30 Yes, I have already wrote a script. But it will be better to include
31 this functionality to eclean.

Replies

Subject Author
Re: [gentoo-soc] New idea: network eclean Donnie Berkholz <dberkholz@g.o>