Nicolas Belouin has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/459155
Change subject: Add dbus entries for version display
......................................................................
Add dbus entries for version display
Currently one can use `nfs-ganesha -v` to get informations about
the installed version of nfs-ganesha, but there is no such thing
to get the currently running ganesha version.
Adding properties to `org.ganesha.nfsd.admin` in order to diplay
version informations (the same informations that are gathered and
displayed when doing a `nfs-ganesha -v`)
The properties are:
VERSION_RELEASE
VERSION_COMPILE_DATE
VERSION_COMPILE_TIME
VERSION_COMMENT
VERSION_GIT_HEAD
VERSION_GIT_DESCRIBE
All of these being available only when GANESHA_BUILD_RELEASE is *not*
set (same as for `nfs-ganesha -v`). These properties are all readonly
Signed-off-by: Nicolas Belouin <nicolas.belouin(a)gandi.net>
Change-Id: I5c5b3243d3d7462fac1e789341dae7b626a1bb3d
---
M src/MainNFSD/nfs_admin_thread.c
1 file changed, 43 insertions(+), 1 deletion(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/55/459155/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/459155
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I5c5b3243d3d7462fac1e789341dae7b626a1bb3d
Gerrit-Change-Number: 459155
Gerrit-PatchSet: 1
Gerrit-Owner: Nicolas Belouin <nicolas.belouin(a)gandi.net>
Gerrit-MessageType: newchange