-
Notifications
You must be signed in to change notification settings - Fork 197
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A few changes: - Modify the D-Bus API to include a Finish() method instead of a Start() method, the idea being the client calls Finish() to obtain the final status and optional message once the transaction indicates it's done. Calling Finish() also removes the transaction object from the bus. - Introduce Transaction class as a thin wrapper for RPMOSTreeTransaction. Stores the status info for Finish(), detects when the caller's bus name vanishes, and emits various status signals to TransactionMonitor. - Introduce TransactionMonitor as a factory class for Transactions that also handles book keeping chores like tracking the active Transaction. The Sysroot and OS interfaces share a TransactionMonitor instance.
- Loading branch information
Showing
13 changed files
with
909 additions
and
384 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.