Hi again, On Tue, Aug 29, 2006 at 17:19:02 +0200, Clemens Koller wrote:
Hi, Johannes!
Johannes Winkelmann wrote: You have to trigger updates when a port is updated, and remove unnecessary files after a while (to avoid full HDDs; depending on the quality it's either really easy, or really hard to determine when to remove a file).
I don't necessarily see the necessity to trigger every update. A rsync once a day should be sufficient, when traffic is low. Do you expect problems due to concurrent access to the (master or slave) ports tree? Well, I was just thinking about the master. If you run triggered updates, you only have to check those ports which actually changed. If you do it in an interval, you end up checking all ports (well, pkgmk -do for a downloaded port isn't expensive but still). IOW, if there's no change in three days, you have no additional load, while at the same time you get almost instant updates when a change actually happens.
In an interval setup, you have to wait $interval (worst case), and unnecessary load every $interval if nothing changed.
Once this setup stands, it's probably little work keeping it up, however someone has to initially write and test these things. I've done some preliminary testing for the triggering, however stopped due to lack of time and need.
Hmm... But time squeezes all men under it's foot like a bug. Did you publish your approach somewhere? I don't have the files ready right now, but it's pretty simple to describe:
For a particular mail alias, push incoming mail through a script; in this script, extract the svn path. Subscribe to crux-commits with this e-mail address. We can provide a separate mailing list with an easier to parse format if that's needed.
[...] Sounds good; what does "as long as there is free traffic" mean here?
That only depends on the bucks you pay. -> not decided yet in my case. 10GB HDD and 750GB Traffic for EUR 10.-/Month? on a VServer? If HDD is a problem, for EUR20.-/Month you get a nice dedicated one. Some offers? :-)
Well, what's crux.nu's Size at Kalmar NDC AB? What traffic do you have there? Well, we don't host any distfiles there, so those numbers wouldn't have any meaning in this context.
Regards, Johannes -- Johannes Winkelmann mailto:jw@smts.ch Zurich, Switzerland http://jw.smts.ch