On Wed, 01 Aug 2007 08:26:07 +0300, Damyan Ivanov wrote: > > Hm, I must be doing something wrong (yes the cache is created) :-) > What is wrong is that your home misses an optic fiber connection to > alioth :) Oh, now I understand ;-) > >> (2) making it run more often. I am not certain how often and have some > >> doubts about cache expiration times, which are more-or-less > >> arbitrary now. please suggest > > I'm not sure about what we can do without harming alioth. > Little math can help. Divide the current run time to that of > versioncheck-html. The result is how many times a day this may be run > without additional harming. Ok. gregoa-guest@alioth:~$ time nice -n 10 qa/versioncheck.pl > /var/lib/gforge/chroot/home/groups/pkg-perl/htdocs/qa/versions.html real 0m17.559s user 0m10.357s sys 0m1.712s gregoa-guest@alioth:~$ time nice -n 10 qa/versioncheck-html > /var/lib/gforge/chroot/home/groups/pkg-perl/htdocs/qa/versions_old.html real 1m25.112s user 0m19.701s sys 0m31.010s That's 4.84 times as fast; running the script 4.84 times more often means every 4.95 hours. > The tricky part would be to tune the cache expiry times. Right. > >> (3) rewriting maintainercheck and wnppcheck too > >> maintainercheck now runs for 14s, which is simply ages :) > > *hehe* > > Yup, might be nicer with libparse-debianchangelog-perl > It is already used. Works really nice. No, I meant in maintainercheck and wnppcheck; I know that it's used in version.pl :-) Cheers, gregor -- .''`. http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4 : :' : debian: the universal operating system - http://www.debian.org/ `. `' member of https://www.vibe.at/ | how to reply: http://got.to/quote/ `- NP: Rolling Stones: Route66
Attachment:
signature.asc
Description: Digital signature