[packagekit] PackageKit 0.9 updates API change
Daniel Nicoletti
dantti12 at gmail.com
Mon Jan 20 09:05:28 PST 2014
Hi,
as discussed on IRC there is an use-case were the
user could get some extra help from the UI regarding
updates that requires removal:
In Tanglu we recently had to update our libharfbuzz0a
to libharfbuzz0b, which means that the 'b' version
conflicts with the 'a' version. Since the package names
are different the 'b' version isn't an update but it'll be
pulled by say Qt5.2 update, now when the user see
the updates and Apply them, libharfbuzz0a has to be
removed.
This case there is no problem since libharfbuzz0b will
replace it, but there are some scenarios where this
is not entirely safe.
So the proposal would be for the package() signal
to emit a bitfield instead of an enum, this way the UI
can show Qt5.2 unchecked because it requires removal
if the user really wants it, he can check it and see
the removal warning.
emitting such package would be like
package(PK_INFO_UPDATE_BUGFIX | PN_INFO_REQUIRES_REMOVAL, ...);
Best,
--
Daniel Nicoletti
KDE Developer - http://dantti.wordpress.com
More information about the PackageKit
mailing list