Allan McRae schrieb:
On my laptop (not blazingly fast in cpu or hard-drive terms), this takes ~15min to scan my package cache (all testing, core and extra and whatever I have from community). So this is now reasonable for people to run on the new server and we will never miss a rebuild again!
Any comments on the script before I make the git patch to push it to devtools?
It should have an option to scan $PATH/*/os/$ARCH/*.pkg.tar.gz so we can scan an existing ftp mirror all at once. Also, using "ls" in unnecessary as far as I can see, so it would look like: for pkg in $directory/*.pkg.tar.gz; do or for pkg in $directory/*/os/$ARCH/*.pkg.tar.gz; do I keep a mirror of all arch packages on my laptop, so we wouldn't have to run it on the server.