[arch-dev-public] Generating rebuild lists
Thomas Bächler
thomas at archlinux.org
Mon Mar 2 03:58:20 EST 2009
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://www.archlinux.org/pipermail/arch-dev-public/attachments/20090302/8bfdcb16/attachment.pgp>
More information about the arch-dev-public
mailing list