[packagekit] Extending PackageIDs to provide more information

Matthias Klumpp matthias at nlinux.org
Thu Nov 25 09:56:49 PST 2010

On Thu, 25 Nov 2010 17:42:54 +0000, Richard Hughes <hughsient at gmail.com>
> [...]
> What about "name;version;arch;repo" and
> "name;version;arch;installed(repo)"? Then clients that used to do a
> string compare on the last data element can trivially be changed to
> look for just the prefix. If a package backend doesn't support keeping
> track of where a package came from then we can just emit
> "name;version;arch;installed" like before.
Like it :) I thought it would be better to keep the "usual" syntax, but if
this can be easily implemented we should choose it. (Also the backends
don't have to be changed then)

>> Changing the package-id to something I explained above might not be
>> useful
>> for the PK-user profiles, but it gives some advanced abilities to more
>> professional users while not confusing the normal end-user. It is also
>> required for me to store the origin *and* the state of a package
>> somewhere
>> at the same time.
> I agree, getting the origin is a good feature.
> Richard.

More information about the PackageKit mailing list