Please make it possible to get build records for just one source package

Bug #757332 reported by Mattias Backman on 2011-04-11
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Launchpad itself

Bug Description


I am trying to do this using launchpadlib
 archive.getBuildRecords(build_state=state, source_name=source)
and I expect to get the build records for the one package (package name in source) but I get the records for all the packages that contains the sub string source.

Trying for instance source_name='perl' I would like to get build records for just 'perl' and not 'libpath-dispatcher-declarative-perl' etc. My solution now is to filter the output from getBuildRecords() but for perl in particular this takes minutes.



James Westby (james-w) on 2011-04-11
affects: launchpadlib → launchpad
Ian Booth (wallyworld) on 2011-04-11
Changed in launchpad:
importance: Undecided → High
William Grant (wgrant) on 2011-04-12
Changed in launchpad:
status: New → Triaged
tags: added: api soyuz-build
Robert Collins (lifeless) wrote :

IIRC there is an exact_match parameter deeper in the library, just exposing that on the public API should be enough.

tags: added: easy
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers