mbox series

[v2,0/5] Overhaul swupdate.cfg handling

Message ID 20210129115155.13116-1-michael.adler@siemens.com
Headers show
Series Overhaul swupdate.cfg handling | expand

Message

Michael Adler Jan. 29, 2021, 11:51 a.m. UTC
Hi,

this is v2 of my patch series regarding swupdate.cfg.

Changes between v1 and v2 based on Stefano's review comments (thanks!):

* Changed comments style (replaced // with /* */)
* Changed log levels from TRACE to DEBUG
* Only parse image selector if it is present in the configuration file
* Merged functions swupdate_cfg_read_module_settings and read_module_settings
* Squashed commits regarding new config API
* Added some additional documentation for new config API
* Re-ordered commits so that previously ACKed patches may be applied already

Michael Adler (5):
  Simplify get_sw_versions
  Enable tracing for early start up code
  Added software select to swupdate.cfg globals
  Config parser: Additional logging
  Avoid re-opening and reading configuration file

 core/artifacts_versions.c           | 25 ++++-------
 core/pctl.c                         | 20 ++++-----
 core/swupdate.c                     | 68 +++++++++++++++++++++++------
 corelib/downloader.c                |  7 ++-
 corelib/swupdate_settings.c         | 52 ++++++++++++++--------
 examples/configuration/swupdate.cfg |  2 +
 include/parselib.h                  |  2 -
 include/pctl.h                      |  9 +++-
 include/swupdate_settings.h         | 40 +++++++++++++----
 include/util.h                      |  3 +-
 mongoose/mongoose_interface.c       |  7 ++-
 parser/parser.c                     |  2 +
 suricatta/server_general.c          | 10 ++---
 suricatta/server_hawkbit.c          | 14 +++---
 suricatta/suricatta.c               | 11 +++--
 15 files changed, 185 insertions(+), 87 deletions(-)