[augeas-devel] More generic constructions in util.aug

David Lutterkort lutter at redhat.com
Fri Mar 27 23:19:47 UTC 2009


On Fri, 2009-03-27 at 22:51 +0100, Raphaël Pinson wrote:
> As shared with David on IRC, I think we should go even more towards
> sharing generic constructions in lenses to make writing lenses easier,
> and adopt generic ways of implementing common patterns.
> 
> Here are some propositions already, taken from monit.aug and
> exports.aug and how these two lenses can be simplified by using the
> newly defined types :

I like that a lot, and it's a much needed cleanup. As we discussed on
IRC, we should split Util into several modules, like Rx for commonly
used regexps etc.

I also want to get 0.5.0 out before we do this, simply since these
library additions should not change too much once they've been released,
and I feel we should be a little careful in figuring out what to factor
where.

David





More information about the augeas-devel mailing list