[packagekit] Implementing Rollbacks

Richard Hughes hughsient at gmail.com
Thu Oct 11 16:04:46 PDT 2007


On Wed, 2007-10-03 at 18:18 +0100, Richard Hughes wrote:
> Where transaction data is optional and something like "r:251" that the
> backend uses as its internal reference. We have to pass this back the
> the engine, so the transaction_id can be amended (and altered in the
> TransactionDb). We then click rollback in the Transaction viewer with
> the new transaction_id and this is sent to the backend. The backend then
> can strip the internal reference "r:21" and use this for the rollback.
> The rollback is treated as an async operation (just like InstallFile)
> and so we probably want to block all other transactions like we do for
> RefreshCache until this is done.
> 
> I'll put the code in place in the next couple of days, but does this
> sound okay with you guys?

Ken, Elliot, does this sound okay to you?

Richard.





More information about the PackageKit mailing list