Merge lp:~ursinha/ubuntu-dev-tools/fix_getBinaryPackage into lp:ubuntu-dev-tools
|Diff against target:||172 lines (+77/-11) 2 files modified|
|To merge this branch:||bzr merge lp:~ursinha/ubuntu-dev-tools/fix_getBinaryPackage|
Description of the Change
Fixed the behavior of getBinaryPackage in lpapicache.py. It was using the same parameters to get Source and Binary packages build history, but source packages need a distro series, and binary packages need a distro arch series, the results are arch dependent. I've added a DistroArchSeries, and changed DistroSeries accordingly. Also added a method to get binaryFileUrls.
- 1380. By Ursula Junque on 2013-06-18
lp/lpapicache. py: removed archtag as required in getBinaryPackage.
- 1379. By Ursula Junque on 2013-04-16
Made the necessary changes to fix getBinaryPackage, that requires a
distro_arch_series instead of distro_series as getSourcePackage does.
Added DistroArchSeries. Changed DistroSeries to correctly support
getArchSeries. Included an "archtag" parameter to getBinaryPackage, I'm
currently assuming no default arch. Also added binaryFileUrls, that is
currently only available on lpapi devel.
- 1378. By Ursula Junque on 2013-04-16
undException to handle getBinaryPackage.