On Mon, Jul 05, 2010 at 10:38:58PM +0200, Ralf Treinen wrote: > Even in the latter case I agree that we should fix that in > edos-builddebcheck (not edos-debcheck, as Andi has correctly remarked). > Is there a python library that does the architecture matching? We > most certainly do not want to call dpkg-architecture on 15000 source > packages. You could just cache the results for each architecture pair to only run dpkg-architecture once for each unique combination. This should result in a very significant efficiency saving. It would only need to be a tiny wrapper function which queries the cache and runs dpkg-architecture and updates the cache if not already present. Regards, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linux http://people.debian.org/~rleigh/ `. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/ `- GPG Public Key: 0x25BFB848 Please GPG sign your mail.
Description: Digital signature