change: drop the pre-fork legacy config layout #137

Merged
mysticalsoap merged 1 commit from change/drop-legacy-config-layout into trunk 2026-08-24 10:52:31 -04:00
Owner

Problem

#54: resources/ ships two config templates per provider. The *_config_old set exists only for tunnel.py's fallback, which serves installs whose providers were imported by pre-fork qomui and rewrites cert paths back to the shared certs/ layout. This fork has no such upgrade path to honor — importing again is the only way to get a working provider here.

Closes #54.

Fix

Deletes the four *_config_old templates and their setup.py entries, the tunnel.py fallback plus its path-rewrite loop, and delete_provider's cleanup of the legacy certs/<provider>-auth.txt. A provider directory missing openvpn.conf now surfaces as a reported connection failure via GuardedThread instead of silently connecting with a stale template.

Verification

pytest — 324 passed; ruff and compileall gates clean. Post-deletion sweep: no config_old, compat or legacy-certs/ reference left in aqomui/ or setup.py.

## Problem #54: resources/ ships two config templates per provider. The `*_config_old` set exists only for tunnel.py's fallback, which serves installs whose providers were imported by pre-fork qomui and rewrites cert paths back to the shared `certs/` layout. This fork has no such upgrade path to honor — importing again is the only way to get a working provider here. Closes #54. ## Fix Deletes the four `*_config_old` templates and their setup.py entries, the tunnel.py fallback plus its path-rewrite loop, and `delete_provider`'s cleanup of the legacy `certs/<provider>-auth.txt`. A provider directory missing `openvpn.conf` now surfaces as a reported connection failure via GuardedThread instead of silently connecting with a stale template. ## Verification `pytest` — 324 passed; `ruff` and compileall gates clean. Post-deletion sweep: no `config_old`, `compat` or legacy-`certs/` reference left in `aqomui/` or setup.py.
change: drop the pre-fork legacy config layout (#54)
All checks were successful
ci / test (pull_request) Successful in 28s
ci / test (push) Successful in 28s
2226e95391
The *_config_old templates and tunnel.py's fallback to them served
installs whose providers were imported by qomui before the per-provider
directory layout, rewriting cert paths back to the shared certs/ dir.
This fork has no such upgrade path to honor: importing again is the only
way to get a working provider here. delete_provider's cleanup of the
legacy certs/<provider>-auth.txt goes with it.

A provider directory missing openvpn.conf now surfaces as a reported
connection failure via GuardedThread instead of silently connecting
with a stale template.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
mysticalsoap deleted branch change/drop-legacy-config-layout 2026-08-24 10:52:32 -04:00
Sign in to join this conversation.
No description provided.