[packagekit] Things that need fixing

Richard Hughes hughsient at gmail.com
Tue Feb 26 10:19:34 PST 2008


In no logical order:

* PkClient needs to process GError (like a good GObject) to sanely
report errors back to client programs [90% done by me already, not yet
merged as somehow it breaks PolicyKit]

* RemovePackage needs an extra argument to remove software installed at
the same time [done by thos, not yet merged]

* Description needs to emit a filter string - this means we can add
filter types in the future and not break api. This would be something
like "free;~installed;gui;supported" and allows us to be a lot more
flexible and clever with a UI. Of course it's optional and we can just
send "none".

* We probably need to be able to send "hints" to the daemon about things
like interactivity and locale.

* We have to be able to send back descriptions with "\n" newlines in,
rather than the broken ";" [I'll fix tonight]

* Ability to select updates in the update viewer - it would appear that
davidz was right, as now real world users are asking for it.

* We need to pass in string arrays of package_id's to a method so we can
install, remove or update multiple things in one transaction. We need
this for the above. We can either do this in a general purpose method
(so we can do clever stuff as a compound method) or extend the existing
ones.

Something like ActionPackage(tid, a(ss)) where a(ss) is array of [role
and package_id] seems most clean. This way we can do clever stuff (not
the common case) without breaking all the existing code.

Richard.





More information about the PackageKit mailing list