wrolpi/modules/flasher
lrnselfreliance c3e25b84d6
Configs without database rows read and validate only; imports run off the event loop (#874)
The base import for a config with no sections now reads its file once, reports a 0-byte file as empty, treats a
missing file as the defaults, and records success or failure itself (sending the failure Event on request).  The
per-config overrides that only set successful_import are removed.

wrolpi.yaml and the downloader settings import in a thread at startup (import_file_configs), and the Import, Save
and backup Import buttons run their config work in a thread.

The pre-diff import path (import_decision, record_import_version) has no callers left and is removed.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 15:17:31 -06:00
..
test db: request-path library functions use the request's connection (#774) 2026-10-04 11:05:20 -06:00
__init__.py Add ESP32 firmware flasher 2026-07-01 18:34:04 -06:00
api.py db: request-path library functions use the request's connection (#774) 2026-10-04 11:05:20 -06:00
config.py Configs without database rows read and validate only; imports run off the event loop (#874) 2026-10-25 15:17:31 -06:00
conftest.py Add ESP32 firmware flasher 2026-07-01 18:34:04 -06:00
lib.py db: request-path library functions use the request's connection (#774) 2026-10-04 11:05:20 -06:00
schema.py Add ESP32 firmware flasher 2026-07-01 18:34:04 -06:00