Re:Cockpit Project
by tjscott on Thursday May 19, 2022 @09:24PM
(#31442317)
Are you thinking of Augeas? That was a project inside RH to parse nearly every config found in /etc, and be able to view and modify them all from a standard API.
[ Parent
| on HN ]
Re:Cockpit Project
by Conan_Kudo on Thursday May 19, 2022 @10:04PM
(#31442544)
Was? It still is: https://augeas.net/
I wanted to parse INI files a few weeks back and briefly looked at Augeas... the augtool syntax was a little too nonsensical or verbose for me. Felt like I had to be an expert with the entire tool even though all I wanted was 3% of its functionality.
I looked a little harder and then found jc[1] which made parsing the ini file easy, and since I didn't need full CRUD support I threw my hands up and used that instead. I _would_ like to find a fast and easy way to convert json/yaml to simple INI file syntax at the command line, or do idempotent modifications to the INI files without writing a command where 99% of it is describing to jq or awk what an INI file looks like.
Re:Cockpit Project
by Godel_unicode on Friday May 20, 2022 @12:45AM
(#31443450)
Given the latest release was 3 years ago, was seems appropriate.
https://augeas.net/news.html 1.12.0 - 2019-04-13
Re:Cockpit Project
by Conan_Kudo on Monday May 23, 2022 @06:05PM
(#31485386)
The website is not updated apparently. The last release was 1.13.0 last October: https://github.com/hercules-team/augeas/releases/tag/release...
It's basically a pluggable lexer, it is stable. And especially new config files have standardized on some variation of INI, Toml or YAML so there's less need for app-specific parsing.
Still seems active on github
https://github.com/hercules-team/augeas