distro_series_difference API objects don't have package names

Bug #833080 reported by Stefano Rivera
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Raphaël Badin

Bug Description

distro_series_difference objects aren't that useful. It would really help if they included package names, the versions on either side, and the blacklist status.

package name and blacklist status would be the most useful information.

At the moment, to determine if a package is blacklisted, one has to search for differences of state 'Needs attention', and if you don't find any and you know there's a newer version, then it's blacklisted. That's horrible :)

Related branches

Changed in launchpad:
status: New → Triaged
importance: Undecided → High
summary: - distro_series_difference objects don't have package names
+ distro_series_difference API objects don't have package names
Raphaël Badin (rvb)
Changed in launchpad:
status: Triaged → In Progress
assignee: nobody → Raphaël Victor Badin (rvb)
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
Revision history for this message
Raphaël Badin (rvb) wrote :

You need to wait to this fix to be released and then you will be able to do:

# Connect to LP.
from launchpadlib.launchpad import Launchpad
launchpad = Launchpad.login_with('Launchpad', 'production', version='devel')
# Fetch objects.
oneiric = launchpad.distributions['ubuntu'].getSeries(name_or_version='oneiric')
sid = launchpad.distributions['debian'].getSeries(name_or_version='sid')
dsd = oneiric.getDifferencesTo(parent_series=sid)[0]
# Newly exposed attributes.
print dsd.sourcepackagename
print dsd.status
print dsd.parent_source_version
print dsd.source_version
print dsd.base_version

tags: added: qa-ok
removed: qa-needstesting
William Grant (wgrant)
Changed in launchpad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.