Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add new transaction callbacks #168

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

Conversation

jreidinger
Copy link
Member

Experimental support for experimental libzypp feature of rpm in single transaction. The biggest difference is error handling and disallow of aborting installation.

src/Callbacks.cc Outdated

CB callback( ycpcb( YCPCallbacks::CB_DonePackage) );
if (callback._set) {
// report no error, errors were already reported in problem() callback above,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I cannot see any problem() callback here...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch. I use wrong signature. Error is not passed here at all. Errors has to be reported at the end of transaction as transaction is uninterruptable and reports all at the end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants