[packagekit] Regarding rollbacks

Richard Hughes hughsient at gmail.com
Tue Feb 17 01:13:22 PST 2009


On Mon, 2009-02-16 at 15:35 -0500, Ken VanDine wrote:
> Only question I have is how to map the PK history to conary revisions,
> like r.1234.  Conary treats the whole system like a VCS..

That's exactly what the data part of the transaction ID is for. You
change the data part from "data" to "r.1234" and then the rollback
method can rollback the right revision.

The tricky part is telling the daemon "my transaction data is now $foo"
but that just needs a single method and maybe a tweak to the
transaction_id equality function.

Richard.





More information about the PackageKit mailing list