[arch-dev-public] testing2x(64) or cleanup script buggy?

Thomas Bächler thomas at archlinux.org
Tue Jun 17 14:55:47 EDT 2008


Andreas Radke schrieb:
> I moved several packages with the new testing2x(64) script. To be sure
> I use /home/thomas/cleanup.sh for cleaning.
> 
> Now I found all packages I moved with the testing2x (toolchain,
> openoffice, coreutils, wget) script not to be deleted from the
> ftp/testing directory.

That is a bug/missing feature in the db-move script. You could look at 
it in the dbscripts.git:

http://projects.archlinux.org/?p=dbscripts.git;a=blob;f=db-move;h=f8adfc16fd338b89488c80df2e81f945c33333d7;hb=HEAD#112
Line 112 needs cp changed to mv I guess.

> And also the cleanup.sh doesn't detect them to
> be obsolete. Though the testing/packages.txt doesn't include them
> anymore.

That script iterates over the db.tar.gz file, not over the ftp 
directory. There is a cleanup2.sh which iterates over the files. For 
cleaning up, just run /arch/cronjobs/ftpdir-cleanup, it does all of 
those tasks (until the cronjob has been set up).


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://archlinux.org/pipermail/arch-dev-public/attachments/20080617/b2f15923/attachment.pgp>


More information about the arch-dev-public mailing list