[augeas-devel] Re: [PATCH 0 of 2] Improve regexps in dput.aug and php.aug
Raphaël Pinson
raphink at gmail.com
Tue Jul 29 21:58:17 UTC 2008
On Tue, Jul 29, 2008 at 9:33 PM, David Lutterkort <dlutter at redhat.com>wrote:
> On Tue, 2008-07-29 at 11:52 +0200, Raphael Pinson wrote:
> > Improve regexps in dput.aug and php.aug
> > Gather regexps before calling IniFile.entry. Call IniFile.entry only
> once.
> > This fixes most of the slowlyness of php.aug
>
> I still have trouble with the patch 'Rewrite dput.aug using inifile.aug'
> - the test_dput.aug still fails for me. It seems the problem is the line
>
> post_upload_command = /usr/bin/mini-dinstall --batch
>
> in the ftp-master section - I think the inifile lens does not like
> spaces in the value. When I run the tests through augparse, it reports
>
> Test run encountered exception:
> lenses/tests/test_dput.aug:59.8-.25:exception: Get did not match
> entire input
> Error encountered here (1202 characters into string)
> <nd = /path/to/some/script\n#\n|=|>
>
> Can you just resend these two patches and the following as one patch
> series:
>
> * Fix empty comments in INI file
> * Allow spaces in titles
> * Rewrite dput.aug using inifile.aug
>
> This is the order in which I applied them.
I think you're missing the "Allow spaces in entry values" patch.
Raphael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/augeas-devel/attachments/20080729/de2e82fa/attachment.htm>
More information about the augeas-devel
mailing list