apport still uses the "beta" LP API
Bug #545009 reported by
Michael Bienia
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Apport |
Fix Released
|
Undecided
|
Martin Pitt | ||
apport (Ubuntu) |
Fix Released
|
High
|
Martin Pitt | ||
Lucid |
Fix Released
|
High
|
Martin Pitt |
Bug Description
The currently used LP API version is still "beta" but "1.0" got released in March 2010. According to https:/
So it would be good if apport used (or at least supported) the "1.0" API to avoid any patching during the lucid lifetime.
The main difference between the "beta" and "1.0" API is the removal of mutator methods where write-access to attributes exist (e.g. the transitionTo... methods).
To post a comment you must log in.
Here is an untested diff. It forces the use of the "1.0" API (default is still "beta" but as I've be told this is expected to be change for lucid) and replaces the "transitionTo..." calls with setting the attribute directly and calling lp_save() on the object.