libre-server / rolekit

'rolekit' is a daemon for Linux systems providing a stable D-BUS interface to manage the deployment of ​Server Roles.
19 stars 7 forks source link

Refactoring: handle settings in roles more simply #13

Open sgallagher opened 9 years ago

sgallagher commented 9 years ago

Right now, we have to define settings in the _DEFAULTS variable, create checks for them in do_check_property(), translate them into DBUS types with do_get_dbus_property() and create a decorated method to return their values.

This seems like it could probably be automated to make role-creation much simpler.

sgallagher commented 9 years ago

From today's meeting: "Defer until other things settle down, ask DevAssistant devs if an assistant could mitigate this"