[aur-general] TU Application: Morten Linderud
bluewind at xinu.at
Wed Sep 6 08:14:34 UTC 2017
On 05.09.2017 14:07, Morten Linderud wrote:
> signoff is a tool I have written that helps testers with signing off on
> packages they have installed from testing. It comes with neat auto-completions
> and enough commands that it should replace the signoff page. Several testers are
> using this to signoff packages in the testing repositories.
I've once wrote something similar. I haven't used it lately, but it
still seems to work. I could have probably done a better job at
Looking at your script, it's mostly the same, except you send a HEAD
request before fetching the signoff json. Since that json is probably
generated on demand, the HEAD request creates nearly equal load to a
normal one, minus actually sending and possibly compressing the json.
After all, the server needs to generate the page to know how long the
It's possible that archweb caches the generated json and my hunch is
wrong, but it might be worth looking at that.
What can really reduce load are the ETag and/or If-Modified-Since
headers, but I don't know if archweb supports those.
Also the get_packages function has a "tries" parameter that doesn't
appear to be used in any way.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 858 bytes
Desc: OpenPGP digital signature
More information about the aur-general