[packagekit] Backend developers, new function

Daniel Nicoletti dantti12 at gmail.com
Mon Apr 8 09:47:40 PDT 2013


2013/4/8 Duncan Mac-Vicar P. <dmacvicar at suse.de>:
> On 01/04/13 18:26, Daniel Nicoletti wrote:
>>
>> Hi all,
>> I've just pushed a pk_backend_get_provides() function
>> to allow frontends to know beforehand about what
>> does the backend support, I've added the method
>> to some backends (aptcc, zif, zypp), but I wasn't sure
>> about all of them and the code might be wrong for
>> your backend, so please take a look/update it.
>
>
> What do you mean "what the backend supports?", capabilities?
I mean:
PK_PROVIDES_ENUM_MIMETYPE,
PK_PROVIDES_ENUM_CODEC
PK_PROVIDES_ENUM_SHARED_LIB.....


>
> Are you aware that the word "provides" is uses in the packaging/solver
> context right?
Yes, and that is the thing frontends doesn't know about. which is what
I am exposing with this new functionality.



--
Daniel Nicoletti

KDE Developer - http://dantti.wordpress.com


More information about the PackageKit mailing list