Hi Jiri, On Wed, 2023-07-19 at 17:19 +0200, Jiri Hnidek wrote: > Hi, > I just finished the patch for dmidecode adding CLI option --json > providing machine readable output. Compilation of dmidecode requires > the json-c library. When --json CLI option is used, then the output > is written to stdout using JSON format. This could be useful, when > another application tries to parse output of dmidecode. The code was > tested with valgrind and there should not be any memory leaks. > > This patch is obviously big. I use github for hosting my remote > repository with this change. You can see/review/test this new feature > in this PR: > > https://github.com/jirihnidek/dmidecode/pull/2 > > The patch is available as set of patches here: > https://patch-diff.githubusercontent.com/raw/jirihnidek/dmidecode/pull/2.patch > > Or it is also available as one big patch here: > https://patch-diff.githubusercontent.com/raw/jirihnidek/dmidecode/pull/2.diff > > Any feedback is welcome.
SUSE will be holding it's traditional Hack Week from November 18th to November 22nd (shifted by 2 days for me as a member of the L3 Support team). This year I will devote my project to dmidecode and specifically the addition of a machine-readable output. You can read the project summary at: https://hackweek.opensuse.org/24/projects/add-a-machine-readable-output-to-dmidecode Obviously the idea is to leverage the work you have already done. If you have some time availability during that period, so that we can have a fast review and discussion cycle, that would be wonderful. If not, you can still catch up afterward, but it may not be as efficient as my own availability after the Hack Week is over will be lower. Thanks, -- Jean Delvare SUSE L3 Support