-
Notifications
You must be signed in to change notification settings - Fork 18
Follow-up fix for Offline::getResults() #60
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
base: main
Are you sure you want to change the base?
Conversation
This reverts commit 8a35105.
It is also an API break though... |
Yes, this is unfortunate. But v1.1.3 is out for a short time (and it was only tagged, no entry in Releases section) and I imagine that the largest PackageKit-Qt consumer is KDE itself, so maybe make an exception? |
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.
Is this tested to work?
This is required to transform qulongulong's into Transaction::Role and Transaction::Error enums. Using these enums directly in QDBusPendingReply<> requires registering them with qDBusRegisterMetaType().
How worried are we about it? |
If this goes in, it will have to be a SONAME bump - yes, it was only out for one release for a new feature, but you never know what else is using it, and people trust me to not randomly break their code with API incompatibilities that aren't communicated. Fortunately, I added version-check macros to QPK a while back, so supporting multiple versions on the same codebase will be rather trivial. |
Okay, then let's include the SONAME bump here? |
This is, IMO, a better fix for #59
Transaction::Role
andTransaction::Error
enumsreply.argumentAt(n)