Closed ageorgou closed 4 years ago
For reference, the version checking inside get_yaml_config
has been introduced in commit https://github.com/oracc/nammu/commit/d422d8ad72b269cff323f41cefd03b4afd3772c6 (PR #293). I'm not sure what kind of problem this was meant to fix though
Hm. The version checking was introduced there, but the patching was already present in both places before that. It seems it was introduced in #292 - I wonder who reviewed that 😅
At statup, Nammu checks the user's existing settings and compares them to the version in the jar, to determine if any update or patching is needed. This is currently done twice, with no obvious reason for doing so (once in
update_yaml_config
, and then again inget_yaml_config
directly). It would be nice to clear that up, unless it turns out it's needed (unlikely).