UpdateManager.backend.InstallBackend() incompatible API change
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-manager (Ubuntu) |
New
|
Medium
|
Unassigned |
Bug Description
InstallBackend.
The way the change *should* have been made is to add `datadir=None` after the window_main argument. That way, subclasses which don't have a datadir would have continued to work.
I'm not sure whether this is worth fixing now, but we need to be much more careful in the future about incompatible API changes. This is the revision where the change was made:
% bzr log -v -c 2428.3.1
-------
revno: 2428.3.1
committer: Michael Terry <email address hidden>
branch nick: progress-dialog
timestamp: Wed 2012-06-13 15:47:47 -0400
message:
bring some of AptDialog from aptdaemon into our code to have more control over its presentation (i.e. stuff the widgets inside of our own main window; split UpdateManager into a central point of control and put old widgets into UpdatesAvailable class
added:
UpdateManager
UpdateManager
data/
renamed:
UpdateManager
modified:
UpdateManager
UpdateManager
UpdateManager
data/
update-manager
UpdateManager
Changed in update-manager (Ubuntu): | |
importance: | Undecided → Medium |
Please note that if this API is fixed, apturl at least will also need to be fixed.