Skip to content

Refactoring around JSON printing

Simon McVittie requested to merge wip/smcv/refactor-json-print into main

Based on !590 (merged), please review that first.

  • system-info: Use more conventional indentation

  • system-info: Narrow scope of GStrv variables, and use g_auto for them

  • system-info: Use g_autoptr to free local variables in main

  • Factor out a common function to print a JsonBuilder

  • helpers: Warn if closing stdout fails

/cc @denittis

Merge request reports

Loading