wrolpi/scripts/vulture_baseline.txt
lrnselfreliance 2c3300b8b0
Torrents over a fail-closed VPN (#1026)
Torrents reach the Internet only through a fail-closed VPN (WireGuard or
OpenVPN, any provider), so peers never see a WROLPi's own address.

- A network namespace (Pi/Debian) or the vpn container (Docker) with an
  nftables kill switch; NAT-PMP or fixed port forwarding.
- qBittorrent inside it, sandboxed; torrents kept in config/torrents/.
- Torrent download form, Torrents page, Share as torrent, nav warning, and
  VPN settings in both Controller UIs.
- Help docs: Torrents, and The VPN for Torrents.

QA'd on a Raspberry Pi with a real provider over WireGuard and OpenVPN.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 14:26:24 -07:00

50 lines
2.7 KiB
Text

# Known vulture findings, see scripts/check_dead_code.py. Regenerate with --update.
alembic/env.py: unused variable 'context_'
controller/api/schemas.py: unused class 'CpuStatusResponse'
controller/api/schemas.py: unused class 'DriveStatusResponse'
controller/api/schemas.py: unused class 'LoadStatusResponse'
controller/api/schemas.py: unused class 'MemoryStatusResponse'
controller/api/schemas.py: unused class 'NetworkInterfaceResponse'
controller/api/schemas.py: unused class 'PowerStatusResponse'
controller/test/test_admin.py: unused function '_show_proc'
modules/archive/api.py: unused variable 'NAME'
modules/docs/api.py: unused variable 'NAME'
modules/docs/models.py: unused variable 'EPUB_MIMETYPE'
modules/inventory/api.py: unused variable 'NAME'
modules/videos/lib.py: unused property 'quiet'
modules/videos/lib.py: unused property 'youtube_include_dash_manifest'
wrolpi/collections/models.py: unused method 'batch_from_config'
wrolpi/config_version.py: unused variable 'flush_context'
wrolpi/conftest.py: unused import 'uuid1'
wrolpi/conftest.py: unused method 'assert_event_count'
wrolpi/conftest.py: unused method 'assert_events_contain'
wrolpi/conftest.py: unused method 'get_by_subject'
wrolpi/conftest.py: unused method 'set_test_exception'
wrolpi/dates.py: unused method 'process_result_value'
wrolpi/dates.py: unused variable 'dialect'
wrolpi/dates.py: unused variable 'dialect'
wrolpi/db.py: unused variable 'clause'
wrolpi/downloader.py: unused variable 'save_download_cache_config'
wrolpi/files/models.py: unused class 'WrolpiKV'
wrolpi/files/models.py: unused method 'process_result_value'
wrolpi/files/models.py: unused variable 'dialect'
wrolpi/files/models.py: unused variable 'dialect'
wrolpi/files/test/test_worker_move.py: unused import 'worker_module'
wrolpi/flags.py: unused variable 'exc_tb'
wrolpi/flags.py: unused variable 'exc_type'
wrolpi/flags.py: unused variable 'exc_val'
wrolpi/logging_extra.py: unused class 'EmptyMessageFilter'
wrolpi/media_path.py: unused method 'process_result_value'
wrolpi/media_path.py: unused variable 'PATH_TYPE'
wrolpi/media_path.py: unused variable 'dialect'
wrolpi/media_path.py: unused variable 'dialect'
wrolpi/sync/conftest.py: unused method 'log_message'
wrolpi/tags.py: unused function 'get_name_by_id_key'
wrolpi/test/common.py: unused class 'PytestCase'
wrolpi/test/common.py: unused method 'assertDictContains'
wrolpi/test/common.py: unused method 'assertGreater'
wrolpi/test/common.py: unused method 'assertItemsTruthyOrFalsey'
wrolpi/test/common.py: unused method 'assertLength'
wrolpi/test/common.py: unused method 'assertLess'
wrolpi/test/common.py: unused method 'assertRaises'
wrolpi/vars.py: unused variable 'DATETIME_FORMAT_MS'