[packagekit] Changing the Package signal to include a type

Benji Weber b.weber at warwick.ac.uk
Tue Mar 4 04:57:50 PST 2008


On 04/03/2008, Tim Lauridsen <tim.lauridsen at googlemail.com> wrote:
> It is a little hard for me to see the use of this, do you girlfriend
>  care if it is a deltarpm or a full rpm an update is an update.
>  We should take care not to add to many distro / backend specific options
>  to the API.

Updates are Updates, but are not Upgrades. There is a difference
between a new version of say amarok, and a bugfix or security patch to
the version of amarok shipped with the distro. On suse the updater
tools only notify the users of and apply patches rather than new
versions of packages, unless the user explicitly asks for newer
versions too.

The fact that patches are made available as deltarpms normally to save
download time is not really important. The patches are just higher
priority updates. While obviously people don't really care about the
package format used to deliver updates. They may care if they get
untested new versions of packages along with important security
updates.

I see that the Info type In the package callback already includes a
Severity. So I'm not sure why the zypp backend can't just assign new
versions of packages a "low" severity, and use the other severity
ratings for bugfix/security patches. Is there another reason that the
type of the package is required other than determining severity?

--
Benjamin Weber



More information about the PackageKit mailing list