> Could you explain what concurrency issues you anticipate, please..?
Simply that two (or more) clients would try to download and _store_ the
same file at the same time, a distfile that did not exist on the local
server, but the clients happen to request at more or less the same time,
realizing that the file is not there and start a download each. Could also
be that one or more client believes it is already downloaded because the
first bytes were just downloaded by another client.
> One might also need to `emerge -fu world` on one machine before
> actually `emerge -u`ing all other machines, however this is again
> fairly trivial.
This would require a _procedural_ syncronization that I'd like to minimize
as much as possible.
> Both could be managed by a midnight cron job, for
>instance.
I feel unhappy with automatic system updates. Should etc-update be executed
automatically after the emerge or not? Should every operator check his/her
computer every morning to see if en etc-update gives something to do? I try
as much as possible to _shorten_ the window between and emerge and an
etc-update.
Personally, I prefer to do system updates sitting in front of the terminal,
but that may be a matter of preference. And I do respect any opinion, even
though I may not necessarily share it. ;-)
> A script is, however, given that (with some discretion, I think)
> deletes files in this directory as you require; this script could of
> course also be cron'd.
That's great, except that it has to be _procedurally_ syncronized again. We
wouldn't want to run this script before the emerge had finished, would we?
IMHO, any deletion of ../distfiles/* should happen in the end of an emerge
sequence. But again, that's just an opinion.
> Clearly the important factor is that a script
> which removes files from .../distfiles/ should not facilitate a user
> placing anything more than insignificant additional load on the
> volunteer mirrors & file-servers who give their bandwidth to Gentoo &
> the OSS community.
Absolutely. Which is why I'm looking at different approaches in maintaining
a local Gentoo mirror server in my LAN.
> Feel free to supply a patch.
I'd love to. I just don't feel competent enough. At least not just yet. ;-)
Biker
--
[EMAIL PROTECTED] mailing list