-
Notifications
You must be signed in to change notification settings - Fork 7
Support for new libzypp callbacks #192
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
Conversation
9ccbf71 to
f14f0ae
Compare
| YCPValue CallbackDonePackage (const YCPValue& /*nil*/ args); | ||
|
|
||
| /* TYPEINFO: void(void(map<string,any>)) */ | ||
| YCPValue CallbackStartInstallResolvableSA( const YCPValue& args ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The meaning of the "SA" suffix is a mystery :(
mvidner
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Docs: missing, even though we have tooling for it. I will add it.
Code: looks good
Dependencies: surprisingly to me, the Zypp API is old so the BuildRequires are already fine
| YCPValue PkgFunctions::CallbackStartInstallResolvableSA( const YCPValue& args ) { | ||
| return SET_YCP_CB( CB_StartInstallResolvableSA, args ); | ||
| } | ||
| YCPValue PkgFunctions::CallbackProgressInstallResolvableSA( const YCPValue& args ) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The additional integer argument to the callback is precentage from 0 to 100??
mvidner
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With my docs improvement I consider it good enough :-)
|
BTW #168 (from 2021, unfinished) was a previous attempt of implementing this kind of "single transaction" Zypp callbacks. |
|
✅ Autosubmission job #15999626083 successfully finished |
Problem
Solution
TODO