[opensuse-buildservice] Scripts & build service
Hi, I'd like to port the script I've written that populates the database behind http://tmp.vuntz.net/opensuse-packages/srcpackage.py to the build service. It's using data from autobuild, right now. This would imply periodically downloading all spec files (at least for GNOME:Factory), and maybe a few other things (probably the build logs). I was wondering what is a reasonable frequency to download those files, since I don't want to be blacklisted for abusing bandwidth... Any idea about this? I was thinking of doing it every hour (or more often, if possible). Thanks, Vincent -- Les gens heureux ne sont pas pressés. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Di 05 Aug 2008 21:37:41 CEST Vincent Untz
I was wondering what is a reasonable frequency to download those files, since I don't want to be blacklisted for abusing bandwidth... Any idea about this? I was thinking of doing it every hour (or more often, if possible).
What about using hermes (http://en.opensuse.org/Hermes) for this? => You'll get a message or something else (see the agents) whenever a src in your watchlist changes. You can take this message as trigger - or just the included diff to update your list. Ask Klass for details. With kind regards, Lars --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Le mercredi 06 août 2008, à 00:15 +0200, Lars Vogdt a écrit :
On Di 05 Aug 2008 21:37:41 CEST Vincent Untz
wrote: I was wondering what is a reasonable frequency to download those files, since I don't want to be blacklisted for abusing bandwidth... Any idea about this? I was thinking of doing it every hour (or more often, if possible).
What about using hermes (http://en.opensuse.org/Hermes) for this? => You'll get a message or something else (see the agents) whenever a src in your watchlist changes. You can take this message as trigger - or just the included diff to update your list. Ask Klass for details.
Sounds cool. Details very much welcome -- being able to poll a website for the changes since last poll could be great. I've implemented a kind of cache (ie, if the md5 & size of the files I'm interested in haven't changed in metadata, I keep the version I have locally) -- so it should already make things better, although it still means downloading metadata from all source packages. Vincent -- Les gens heureux ne sont pas pressés. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Lars Vogdt schrieb:
On Di 05 Aug 2008 21:37:41 CEST Vincent Untz
wrote: I was wondering what is a reasonable frequency to download those files, since I don't want to be blacklisted for abusing bandwidth... Any idea about this? I was thinking of doing it every hour (or more often, if possible).
What about using hermes (http://en.opensuse.org/Hermes) for this? => You'll get a message or something else (see the agents) whenever a src in your watchlist changes. You can take this message as trigger - or just the included diff to update your list. Ask Klass for details.
This would indeed be the best solution. However, the notification system probably won't be usable for this task for another week or two. So go ahead an poll until hermes is ready. One hour interval should be fine. Andreas --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (3)
-
Andreas Bauer
-
Lars Vogdt
-
Vincent Untz