Skip to content

Use tool --fix-config to remove JSON too, log frontend activity - #175

Closed
almostearthling wants to merge 25 commits into
mainfrom
development
Closed

Use tool --fix-config to remove JSON too, log frontend activity#175
almostearthling wants to merge 25 commits into
mainfrom
development

Conversation

@almostearthling

Copy link
Copy Markdown
Owner

Launching

when tool --fix-config

now removes JSON based configuration fron older file, changing it into the equivalent (and compliant to the upcoming version of whenever) pure-TOML form. This is done automatically on all items that are affected.

Fixes #174

The `parameter_call` entry was left out from JSON to TOML conversion when writing a configuration file, leading to possibly deprecated configurations if the DBus condition to be saved was not newly created.
almostearthling and others added 9 commits July 2, 2025 19:30
Actually load the fixed configuration items and globals, and then use the standard writer to write a human-readable configuration file even if the configuration was created by old versions of When, which used to produce hard-to-read configuration files
In order to solve #177, the logger should be generally accessible from other parts of the application than just the wrapper: now the logger is managed by the utility module, for the moment with no changes
The logging `Context` structure is made available by the logger, in order to better define the context in various parts of the application and only modify variable parts of the context when it is necessary to log a message
@almostearthling almostearthling changed the title Use tool --fix-config to remove JSON too Use tool --fix-config to remove JSON too, log frontend activity Jul 13, 2025
@almostearthling

Copy link
Copy Markdown
Owner Author

This also closes #177

@almostearthling almostearthling linked an issue Jul 13, 2025 that may be closed by this pull request
@almostearthling

Copy link
Copy Markdown
Owner Author

Testing on Linux succeeded as well: merging in a few days.

Rewrite the README file in order to be more useful for its purpose, and move parts that are not README-specific to the detailed documentation
@almostearthling

Copy link
Copy Markdown
Owner Author

The development branch has been merged: #175 and #177 have been fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Log application status The --fix-config tool should remove JSON from DBus based items

1 participant