[packagekit] Adding support for "prepare" in transaction_flags

Matthias Klumpp matthias at tenstral.net
Sun Jun 3 15:03:39 PDT 2012


Sounds sane to me! Thanks for thinking about this :-)
And btw, this shows how great and extensible the new TransactionFlags are!
Cheers,
   Matthias

2012/6/3 Richard Hughes <hughsient at gmail.com>:
> On 3 June 2012 22:37, Richard Hughes <hughsient at gmail.com> wrote:
>> * Add code in *every* pk-backend-*.c that if NO_COMMIT is present in
>> transaction_flags then return ErrorCode(NO_SUPPORT)
>
> Actually, we don't have to do that. If a backend doesn't implement
> pk_backend_commit() then we can check for NO_COMMIT for each method.
>
> Richard.
> _______________________________________________
> PackageKit mailing list
> PackageKit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/packagekit


More information about the PackageKit mailing list