-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 08/21/2009 12:01 AM, Jakub Hrozek wrote:
Attached are three patches.
[PATCH 1/3] Refactor tools code Refactores tools code while still retaining the original structure. Move parameter parsing in tools before attempting to do anything that might fail - so that we have debug_level set correctly for potential error messages. That allows printing the --help and --usage messages without being root.
[PATCH 2/3] Decouple synchronous sysdb interface from tools Instead of working directly with async code in tools, create synchronous wrappers that could be used by tools and python bindings.
[PATCH 3/3] Provide python bindings for sysdb Implement a set of python bindings for the sysdb with feature set similar to what is available in the tools. The primary consumers would be applications like system-config-users.
These three patches resolve tickets 102, 87 and 95.
Jakub
Rebased on top of a later fix.