move launchpad crash database implementation to launchpadlib
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Fix Released
|
Undecided
|
Martin Pitt |
Bug Description
Binary package hint: apport
The current jaunty version of apport uses python-
launchpadlib offers a much more robust and stable, and also faster API to Launchpad. The lp:~pitti/apport/api.launchpadlib/ branch ports the crash database to launchpadlib:
apport/
apport/
debian/changelog | 16
debian/control | 8
debian/
debian/rules | 6
- The bulk of the change is in launchpad.py, which ports the apport CrashDatabase API to use launchpadlib. This *only* affects apport-retrace and the crash retracing bot, the client-side reporting of crashes is not changed at all.
- multipartpost_
- control just updates the dependencies from python-
- apport-collect removes some duplicate code for LP login, and uses the code from launchpad.py now. Before, apport-collect was already using launchpadlib (since p-lp-bugs didn't expose the necessary API). No functional change here.
- debian/rules doesn't change behaviour in jaunty, it is just a change to make the current version backportable to hardy and intrepid.
https:/
The major change visible on the client side is that users of apport-retrace now have to use the launchpadlib credentials file instead of the p-lp-bugs cookie file. This is consistent with the changes in the ubuntu-dev-scripts tools.
This change will require MIR approval for python- launchpadlib, see bug 353846.
If this is approved, python- launchpad- bugs can be dropped from the CD, and instead we have to add python- launchpadlib, python-wadllib, python-simplejson, and python-httplib2. Please note that users who use apport-collect already have to install those (they just didn't get them through dependencies so far).
These dependency changes have a CD size increase impact of 93 kB.