[buildd-tools-devel] Bug#587998: edos-distcheck: Please support architecture wildcards

Roger Leigh rleigh at codelibre.net
Mon Jul 5 21:19:35 UTC 2010


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20100705/25cab937/attachment.pgp>


More information about the Buildd-tools-devel mailing list