-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Generate the D-Bus adaptor class on the fly #7523
Conversation
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.
@droidmonkey Do we want to merge this into 2.7 oder defer to 2.8?
We can do this now, just need to add to changelog that we are now properly using the org.keepassxc.KeePassXC namespace on our dbus interface. Also need to test that, but not to hard to do |
Hmm, should I rebase this to 2.7? |
Yes please. Tested this and it works perfectly. |
That prevents mismatches between the adaptor class and the D-Bus definition file. Note that this is a backward-incompatible change. For example, the command to lock all databases is changed from > dbus-send --session --print-reply --dest=org.keepassxc.KeePassXC.MainWindow --type=method_call /keepassxc org.keepassxc.MainWindow.lockAllDatabases to > dbus-send --session --print-reply --dest=org.keepassxc.KeePassXC.MainWindow --type=method_call /keepassxc org.keepassxc.KeePassXC.MainWindow.lockAllDatabases Fixes: #5355
Thanks, done! |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## release/2.7.0 #7523 +/- ##
=================================================
+ Coverage 64.25% 64.26% +0.01%
=================================================
Files 341 340 -1
Lines 43416 43400 -16
=================================================
- Hits 27893 27889 -4
+ Misses 15523 15511 -12 ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
That prevents mismatches between the adaptor class and the D-Bus
definition file.
Note that this is a backward-incompatible change. For example, the
command to lock all databases is changed from
to
Fixes: #5355
Screenshots
N/A
Testing strategy
Manually with dbus-send commands mentioned in the commit message
Type of change