wrolpi/modules/repos
Roland 420bd8295b
repos: a submodule host must be public unicast, not just is_global
`ipaddress.is_global` accepts multicast (224.0.0.1), deprecated
site-local (fec0::/10), and NAT64 addresses which carry a private IPv4
(64:ff9b::169.254.169.254, the metadata address).  is_public_address
refuses multicast, reserved, link-local, loopback, private, unspecified,
site-local, local-use NAT64 and Teredo addresses, and checks the IPv4
inside NAT64, 6to4 and IPv4-mapped addresses.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 17:34:57 -06:00
..
test repos: a submodule host must be public unicast, not just is_global 2026-10-06 17:34:57 -06:00
__init__.py Add a Repos module that mirrors git repositories (backend) 2026-10-06 16:56:09 -06:00
api.py repos: history, Download ZIP, and submodules 2026-10-06 16:56:09 -06:00
conftest.py repos: never fetch submodules from WROLPi's own network 2026-10-06 16:56:09 -06:00
downloader.py repos: check submodule URLs where git resolves them 2026-10-06 16:56:10 -06:00
errors.py Add a Repos module that mirrors git repositories (backend) 2026-10-06 16:56:09 -06:00
lib.py repos: a submodule host must be public unicast, not just is_global 2026-10-06 17:34:57 -06:00
models.py repos: history, Download ZIP, and submodules 2026-10-06 16:56:09 -06:00
schema.py repos: history, Download ZIP, and submodules 2026-10-06 16:56:09 -06:00