* [gentoo-soc] New idea: network eclean
@ 2010-03-18 13:29 Dmitry Bashkatov
2010-03-18 14:14 ` Nirbheek Chauhan
0 siblings, 1 reply; 4+ messages in thread
From: Dmitry Bashkatov @ 2010-03-18 13:29 UTC (permalink / raw
To: gentoo-soc
Hello! I have an idea for GSoC. There is tool called eclean. It is
really helpful to clean unneeded distfiles. But it is very popular to
share the same distfiles location between number of machines via NFS.
And calling eclean from one machine deletes distfiles that may be
useful for others.
Idea is to create network eclean. That will gather information about
wanted distfiles from all machines listed in some file and then do
delete. Hosts file by default contains only localhost.
What do you think about it?
This is easy task, so it can be united with other gsoc idea.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-soc] New idea: network eclean
2010-03-18 13:29 [gentoo-soc] New idea: network eclean Dmitry Bashkatov
@ 2010-03-18 14:14 ` Nirbheek Chauhan
2010-03-18 14:22 ` Dmitry Bashkatov
0 siblings, 1 reply; 4+ messages in thread
From: Nirbheek Chauhan @ 2010-03-18 14:14 UTC (permalink / raw
To: gentoo-soc
On Thu, Mar 18, 2010 at 6:59 PM, Dmitry Bashkatov <me@nailgun.name> wrote:
> Hello! I have an idea for GSoC. There is tool called eclean. It is
> really helpful to clean unneeded distfiles. But it is very popular to
> share the same distfiles location between number of machines via NFS.
> And calling eclean from one machine deletes distfiles that may be
> useful for others.
> Idea is to create network eclean. That will gather information about
> wanted distfiles from all machines listed in some file and then do
> delete. Hosts file by default contains only localhost.
>
> What do you think about it?
> This is easy task, so it can be united with other gsoc idea.
>
This can already be done if you run `eclean -pCq` on all the machines,
and only delete the files which are common among all those lists. It's
pretty easy to hack up a script to ssh into all the machines, run the
command, gather the lists, and find the intersection of them all.
Personally, I don't see how this is more than a 2hr job.
--
~Nirbheek Chauhan
Gentoo GNOME+Mozilla Team
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-soc] New idea: network eclean
2010-03-18 14:14 ` Nirbheek Chauhan
@ 2010-03-18 14:22 ` Dmitry Bashkatov
2010-03-20 2:09 ` Donnie Berkholz
0 siblings, 1 reply; 4+ messages in thread
From: Dmitry Bashkatov @ 2010-03-18 14:22 UTC (permalink / raw
To: gentoo-soc
2010/3/18 Nirbheek Chauhan <nirbheek@gentoo.org>:
> On Thu, Mar 18, 2010 at 6:59 PM, Dmitry Bashkatov <me@nailgun.name> wrote:
>> Hello! I have an idea for GSoC. There is tool called eclean. It is
>> really helpful to clean unneeded distfiles. But it is very popular to
>> share the same distfiles location between number of machines via NFS.
>> And calling eclean from one machine deletes distfiles that may be
>> useful for others.
>> Idea is to create network eclean. That will gather information about
>> wanted distfiles from all machines listed in some file and then do
>> delete. Hosts file by default contains only localhost.
>>
>> What do you think about it?
>> This is easy task, so it can be united with other gsoc idea.
>>
>
> This can already be done if you run `eclean -pCq` on all the machines,
> and only delete the files which are common among all those lists. It's
> pretty easy to hack up a script to ssh into all the machines, run the
> command, gather the lists, and find the intersection of them all.
>
> Personally, I don't see how this is more than a 2hr job.
>
> --
> ~Nirbheek Chauhan
>
> Gentoo GNOME+Mozilla Team
>
>
Yes, I have already wrote a script. But it will be better to include
this functionality to eclean.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-soc] New idea: network eclean
2010-03-18 14:22 ` Dmitry Bashkatov
@ 2010-03-20 2:09 ` Donnie Berkholz
0 siblings, 0 replies; 4+ messages in thread
From: Donnie Berkholz @ 2010-03-20 2:09 UTC (permalink / raw
To: gentoo-soc
On 17:22 Thu 18 Mar , Dmitry Bashkatov wrote:
> Yes, I have already wrote a script. But it will be better to include
> this functionality to eclean.
From IRC today:
< dol-sen > dberkholz: since I'm not on hte gsoc mail list: regarding
http://ln-s.net/5HsJ can you inform him that the eclean re-write I'm
just completing has a spot ready to accept any additional checks for
just such a purpose.
< dol-sen > All that would be needed is a module to do the network check
and add a config option to load it
< dol-sen > the eclean re-write will be included in
gentoolkit-0.3.0_rc10
--
Thanks,
Donnie
Donnie Berkholz
Admin, Summer of Code
Gentoo Linux
Blog: http://dberkholz.wordpress.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-03-20 2:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-18 13:29 [gentoo-soc] New idea: network eclean Dmitry Bashkatov
2010-03-18 14:14 ` Nirbheek Chauhan
2010-03-18 14:22 ` Dmitry Bashkatov
2010-03-20 2:09 ` Donnie Berkholz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox