[packagekit] Adding support for "prepare" in transaction_flags

Richard Hughes hughsient at gmail.com
Sun Jun 3 11:28:06 PDT 2012


On 3 June 2012 19:05, Daniel Nicoletti <dantti12 at gmail.com> wrote:
> 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.

I considered ONLY_DOWNLOAD initially, but I wanted a name that implied
more than that. PREPARE is meant to mean download and get everything
ready, so in Zif I could move the downloaded files to a different
directory, or pack them in a tarball, or even prepare a solv file for
depsolving. Basically "prepare the transaction for later resuming".

That said, if the consensus is "prepare is a silly name" then I'll change it :)

Richard.


More information about the PackageKit mailing list