[packagekit] Generate PkPackageId's from a list of the items

Tom Parker palfrey at tevp.net
Fri Oct 12 09:32:54 PDT 2007


Currently, in order to generate a package id, we've either got the
option of generating a package id from the component items (name,
version, etc) or we can use a generated string to make a PkPackageId.
Me, I'd like to take a bunch of the component items, and generate a
PkPackageId. This *can* be done right now by feeding the output of
pk_package_id_to_string into pk_package_id_new_from_string, but it's
inefficient. Therefore, I've attached a patch to this email for
pk_package_id_new_from_list, which takes component items and builds a
PkPackageId.

Can I commit this?

Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-pk_package_id_new_from_list.patch
Type: text/x-patch
Size: 1688 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/packagekit/attachments/20071012/c5a96a42/attachment-0004.bin>


More information about the PackageKit mailing list