opnsense-deps/mirror/server
Jeremy Karst 5665956249 mirror: store the tree under names an SMB share can hold
The mirror share refuses ":" in names, ignores case, and lists device
names such as "aux" under a mangled 8.3 name, which rsync would delete as
an unknown file (the real directory). So FreeBSD:<N>:aarch64 is stored
as FreeBSD_<N>_aarch64 and a series' aux repository as aux-repo, in the
staged tree and on the share alike; nginx rewrites the client URLs onto
them, and gwmirror reads and writes through the same mapping.

verify --root, and therefore publish, now fails on any other name the
share cannot store (reserved characters, device names, trailing dot or
space, names differing only in case).

Checked with the real nginx image in podman: a deep verify --url of a
staged fixture passes, aux included, with the live changelog/bogons proxy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 14:49:20 -05:00
..
docker-compose.yml mirror: store the tree under names an SMB share can hold 2026-11-18 14:49:20 -05:00
Dockerfile mirror: gwmirror stage/verify/publish, nginx stack, release docs 2026-11-17 18:56:54 -05:00
mirror.conf.template mirror: store the tree under names an SMB share can hold 2026-11-18 14:49:20 -05:00
nginx.conf mirror: gwmirror stage/verify/publish, nginx stack, release docs 2026-11-17 18:56:54 -05:00