-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jan Kupec wrote:
Note that just writing lenses for zypp without touching zypp itself can be beneficial, too.
I think we should link libzypp with augeas for various reasons. - - I would like to give some love to ZConfig. Its design won't scale anymore, by adding a setter/getter to every new option, but I would like something more similar to KDE's KConfig ( config.writeBoolean("myopt", true ) ) ... with the type safety of SolvAttr ( enum -> string mapping ) plus some way of specifying declaring available options and their type, which at least could be checked at runtime... Michael, do you have any ideas on how this can be done? This class could then use the thin Augeas wrapper Jano has in his experimental zypper branch, handle stuff like caching the values.. and be the base for the specific ZYpp and zypper config classes that would declare their own options. zypper already will have a nice feature be using augeas. Augeas allow to read comments, and Jano's wrapper will allow for zypper help to show the comments of an option during help, allowing us to maintain the options in the example config itself. It could even show comments for a repository if libzypp reads those with augeas too. Duncan -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkm2bSUACgkQzR62qWZ+QtE8HQCgpq2yUtW+yKibzORas+0iDqh3 RUcAn1B06xxrvDYFJ/Uxn6qqXFxCkkDf =pHTr -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org