[augeas-devel] Re: [PATCH] Support empty comments, like lines beginning with "; " or "#" but without any more text

David Lutterkort lutter at redhat.com
Wed Aug 27 22:09:55 UTC 2008


On Wed, 2008-08-27 at 22:27 +0200, Free Ekanayaka wrote:
> Hi David,
> 
> |--==> On Wed, 27 Aug 2008 18:56:22 +0000, David Lutterkort <lutter at redhat.com> said:
> 
> [...]
> 
>   DL> To fix this, there are two things to do: (1) add the missing typecheck
>   DL> for the '?' operator so that typechecking actually checks the current
>   DL> behavior (2) make the tree -> file transformation much smarter so that
>   DL> it takes the value of nodes into account and so that '(store /[a-z]+/)?'
>   DL> becomes legal.
> 
>   DL> (1) is very easy to implement, but will cause a lot of headache to fix
>   DL> up existing lenses; (2) is a little harder, and I need to think about
>   DL> that some.
> 
> Thanks for explanation. If (2) is going to take a bit, should a ticket
> be opened for it?

There's already a ticket for the general issue:
https://fedorahosted.org/augeas/ticket/4

I just added a comment that details the situation from above.

David





More information about the augeas-devel mailing list