Split PackageKit queries into batches
commitda62da6ad006cb8e8ffedaaf28a8a2102722df8d
authorThomas Leonard <talex5@gmail.com>
Wed, 28 Sep 2011 19:00:02 +0000 (28 20:00 +0100)
committerThomas Leonard <talex5@gmail.com>
Wed, 28 Sep 2011 19:19:51 +0000 (28 20:19 +0100)
tree791fe0f74cb27782412fb76faf038ca5cdf70d58
parent6d2735dc0998cb45c190858e68e2b4608ba3cd76
Split PackageKit queries into batches

PackageKit refuses to process more than 100 requests per transaction, which was
causing some large packages to fail.

Also, it now handles errors sending PackageKit requests better (reporting them
rather than hanging), and PackageKitDownload no longer extends Download, to
avoid accidents (Download should really be an interface).
zeroinstall/injector/packagekit.py