2011/3/24 Jeff Johnson <n3...@mac.com>:
>
> On Mar 24, 2011, at 12:40 PM, Per Øyvind Karlsen wrote:
>
>> d'oh, used wrong sender..
>> 2011/3/24 Per Øyvind Karlsen <peroyv...@mandriva.org>:
>>> 2011/3/24 Jeff Johnson <n3...@mac.com>:
>>>> Cool! Cooker finally has an Augeas package in main!
>>>>
>>>> The issue with the rpm+augeas embedding is that augeas
>>>> development is pretty active, with lots of patterns
>>>> in lenses and more. SO I did an implementation
>>>> against the git check-out in order to keep up.
>>>>
>>>> Augeas is just starting to get picked up by distros like Cooker,
>>>> so it is difficult to design the AutoFu to Just Work because there
>>>> isn't any clear reference point with a "released" version.
>>>>
>>>> Now there is a reference point: augeas in cooker devel
>>>>
>>>> Note that augtool is/was the basis (as a nicely designed CLI tool) for
>>>> all of the embeddings in RPM. And the embedding used in RPM isn't
>>>> really any different than the libffi in the Python augeas bindings.
>>>> Nother are quite simple to do because of the excellently designed augtool
>>>> "high level" library API.
>>>>
>>>> Per Oyvind: Would you like to try RPM+Augeas in Cooker? You are the
>>>> maintainer, I'm just the asshole here ;-)
>>> I need to read up on it, but I don't mind if you go ahead try it, I'm 
>>> feeling
>>> that I'm lagging behind you enough already trying to keep up, while having
>>> other things to do as well.. :|
>>>
>>> While I'm having "main responsibility" for rpm in cooker context and such,
>>> I certainly wouldn't mind if  you and/or Pinto Elia want to share
>>> the maintenance of rpm stuff in cooker. I have other responsibilities as
>>> well, so I'd be overexcited and reliefed by having more active help on
>>> cooker directly. :)
>>>>
>>>> (aside)
>>>> If you could also arrange to link against the OSSP uuid in
>>>> the Cooker packaging, I can start demonstrating how
>>>> UUID's can be used for package "identification".
>>>>
>>>> Sound like a plan?
>>> Sure. :)
>
> BTW, expect some bit rot when you get to -laugeas. Augeas
> was NICETOHAVE untikl yesterday ;-)
>
> Nothing will be too hard to fix, David Lutterkort has designed a
> nice API into Augeas, just that "configuration management"
> is a never ending battle and there's endless details to fiddle
> with.
>
> Biut with a stable reference target to shoot at, well,
> it won't be too hard to get augeas embedded into RPM.
>
>
> I'll write up some toy test cases for tests/ "make check".
>
> Basically the embedding is one-to-one with augtool(8) so
> you can probably wing it with "man augtool"
I've just commited support, will submit a new rpm build with it
enabled shortly..

--
Regards,
Per Øyvind
______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
Developer Communication List                        rpm-devel@rpm5.org

Reply via email to