
Am Mon 08 Nov 2010 04:15:01 PM CET schrieb Martin Vidner <mvidner@suse.cz>:
But this reminds me that it is high time to replace the Ini Agent (and mostly all agents) with something more modern and maintained, namely Augeas (already used by zypper).
See what it can parse (and write!) http://git.fedorahosted.org/git/?p=augeas.git;a=tree;f=lenses;h=60be35d5c8a5... (or rpm -ql augeas-lenses ) and how it can define macros for the regexes seen below http://git.fedorahosted.org/git/?p=augeas.git;a=blob;f=lenses/sep.aug;h=c499... http://git.fedorahosted.org/git/?p=augeas.git;a=blob;f=lenses/rx.aug;h=95df7...
I read the "Creating a lens" tutorial and I realize that augeas is an actual parsing tool (and not only a heap of regexps). Using it will actually improve yast2. If zypper already has a dependency on Augeas, that's all the more reason for doing this change.
Anyone interested in playing with it?
I'm all in. Can you suggest a place in yast2, where I can start? Martin Kudlvasr -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org