[packagekit] Adding support for "prepare" in transaction_flags

Daniel Nicoletti dantti12 at gmail.com
Sun Jun 3 11:05:20 PDT 2012


2012/6/3 Richard Hughes <hughsient at gmail.com>:
> On 3 June 2012 16:39, Matthias Klumpp <matthias at tenstral.net> wrote:
>> Do you have any news about the idea of merging RemovePackages() and
>> InstallPackages() into one modify-task?
>
> I'm in two minds about this. One is that it's probably a good idea for
> an edge case, but the other is then we also have to deal with
> INSTALL|REMOVE|UPDATE as well, which starts to make the API look a
> little odd. I also can't come up with a good method name[1] and am
> worried that a lot of backends might not be able to do this.
>
> Richard.
>
> [1] InstallRemoveUpdatePackages() is not a good name :)
Yes, IMO this is the main problem a good name :P aptd had one
that wasn't that bad but I can't recal.

BTW can you change this enum name to DOWNLOAD_ONLY?
I was thinking about this a lot these days because of that
systemd link, and now that you added I'd just change the name.

Best


More information about the PackageKit mailing list