change: drop the pre-fork legacy config layout #137
Loading…
Reference in a new issue
No description provided.
Delete branch "change/drop-legacy-config-layout"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
#54: resources/ ships two config templates per provider. The
*_config_oldset 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 sharedcerts/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_oldtemplates and their setup.py entries, the tunnel.py fallback plus its path-rewrite loop, anddelete_provider's cleanup of the legacycerts/<provider>-auth.txt. A provider directory missingopenvpn.confnow surfaces as a reported connection failure via GuardedThread instead of silently connecting with a stale template.Verification
pytest— 324 passed;ruffand compileall gates clean. Post-deletion sweep: noconfig_old,compator legacy-certs/reference left inaqomui/or setup.py.