-
-
Notifications
You must be signed in to change notification settings - Fork 350
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
[DoNotMerge] DBus proof-of-concept #533
base: master
Are you sure you want to change the base?
Conversation
Per Travis, |
Hello Jim, |
@EmilienKia : Some merge conflicts cropped up while this PR was waiting, the Makefile one is trivial, but the one in code wants you to revise what is right :) |
Not complete yet. Only integrate introspect, get and getall. No building chain complete integration yet.
Use upsdebugx and upslogx for logging. Add return code for tracing errors. Release dbus allocated memory in case of error.
Tested on Ubuntu 16.04 derivate (Linux Mint 18.3). Should be tested on other systems and particularly for default dir (/etc/dbus-1/system.d/).
@EmilienKia : thanks for the code resync bump; as for the content of feature set you intended to have, is this still a "DoNotMerge"? ;) |
@EmilienKia : probably the master branch evolved since you branched for this PoC; there are complaints about inconsistencies in
|
Hello,
This is a not-ready-to-merge proof-of-concept of DBus integration of NUT, just to add some views about #526.
It only have Get/GetAll/Set introspection for devices. It does not support notifications yet but it is a good starting point for discussions.
I will add notification for status soon.
Please test but don't merge it. It is not integrated to autoconf feature detection. Some security configuration files could be required by some distributions (.conf in /etc/dbus-1/system.d). Moreover no performance nor leak detection have been done.
Enjoy,
Emilien