[packagekit] Implementing Rollbacks

Elliot Peele elliot at bentlogic.net
Sat Oct 13 07:16:02 PDT 2007


On Fri, 2007-10-12 at 00:04 +0100, Richard Hughes wrote:
> 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?

Sounds good to me.

Elliot




More information about the PackageKit mailing list