4 ms·
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
by tjscott 4y ago
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.
- Conan_Kudo 4y agoWas? It still is: https://augeas.net/ https://augeas.net/
- Godel_unicode 4y agoGiven the latest release was 3 years ago, was seems appropriate. https://augeas.net/news.html https://augeas.net/news.html 1.12.0 - 2019-04-13
- bonzini 4y agoIt'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.
- mongol 4y agoStill seems active on github https://github.com/hercules-team/augeas https://github.com/hercules-team/augeas
- Conan_Kudo 4y agoThe website is not updated apparently. The last release was 1.13.0 last October: https://github.com/hercules-team/augeas/releases/tag/release-1.13.0 https://github.com/hercules-team/augeas/releases/tag/release...
- mutant 4y agoI'd never heard of this, what a cool project!
- RulerOf 4y agoI 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. [1]: https://github.com/kellyjonbrazil/jc https://github.com/kellyjonbrazil/jc