News for hackers. Stuff that matters.
Re:Cockpit Project by Jasper_ on Thursday May 19, 2022 @07:30PM (#31441552)
Oh hey, Cockpit; I remember when this was started. It was the Red Hat desktop team's skunkworks project to make an actual good server UI after the last few attempts failed; I can't find any evidence of it, but I swear there was this ridiculous project to generate a "Linux API" by automatically combining every other API and adding prefixes and headers. That came down from management since "APIs" were the hotness.

The goal was to make in-roads on Windows Server-like deployments. "Cattle, not pets" was becoming uber-popular, but the thinking on the desktop team was that there was still a wide market for pets. People with toy servers, small businesses that just want a server inside their network, they all deserve UIs that don't require heavy sysadmin-ing.

I think it turned out quite nicely, and it seems it's still going!

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.
Re:Cockpit Project by Conan_Kudo on Thursday May 19, 2022 @10:04PM (#31442544)
Was? It still is: https://augeas.net/
Re:Cockpit Project by RulerOf on Saturday May 21, 2022 @12:38PM (#31459363)
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.

[1]: https://github.com/kellyjonbrazil/jc

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...
Re:Cockpit Project by bonzini on Friday May 20, 2022 @02:21AM (#31443981)
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.
Re:Cockpit Project by mongol on Friday May 20, 2022 @05:12AM (#31445011)
Still seems active on github https://github.com/hercules-team/augeas
Re:Cockpit Project by mutant on Friday May 20, 2022 @11:27PM (#31455010)
I'd never heard of this, what a cool project!
Re:Cockpit Project by CameronNemo on Friday May 20, 2022 @01:19AM (#31443650)
Isn't this Martin Pitt's project? And it says it started in 2013. He was working for Canonical until 2014 IIRC. I would not be surprised if Red Hat scooped him up after this project was launched. Hard to know the timeline, though.
Re:Cockpit Project by Jasper_ on Friday May 20, 2022 @01:56AM (#31443859)
It was started in 2012 by David Zeuthen, Colin Walters and Marius Vollmer. Martin Pitt wouldn't be hired until way later.