opnsense-deps/mirror
Jeremy Karst 49db816186 gwmirror publish: refuse to delete a series from the share
publish mirrors the staged tree with rsync --delete-after, and the share
holds the only copy of series that are no longer built (26.1). A staging
tree rebuilt after /scratch was lost, holding only the current series,
would have deleted 26.1 from the live mirror. publish now stops, before
verifying, when the destination has a directory in its top two levels
(an ABI, a series, releases/<series>) that the staged tree lacks; names
are printed quoted. Retiring a series means deleting it from the share
by hand.

RELEASE.md documents the guard and how to restore the staged tree from
the share.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 01:32:15 -05:00
..
monitor gwmirror-verify: check the published 26.7 tree daily as well 2026-11-27 18:35:49 -05:00
server mirror: store the tree under names an SMB share can hold 2026-11-18 14:49:20 -05:00
tests gwmirror publish: refuse to delete a series from the share 2026-11-28 01:32:15 -05:00
gwmirror.py gwmirror publish: refuse to delete a series from the share 2026-11-28 01:32:15 -05:00