upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/purgatory/sync/context.rs
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2026-04-10 20:29:34 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2026-04-10 20:29:34 +0000
commit54636ee239e4f8e25142e99807f246f956d2f003 (patch)
tree282269373761b7ab54f605528967708b9907039b /src/purgatory/sync/context.rs
parent368f0556267b32c5478b7fb68b8a30d42942ee6f (diff)
feat: scan filesystem for orphan git repos with no matching 30617 event
Extends cleanup-empty-repos with a second scan direction (filesystem → DB). Bare git repos under the git data path that have no corresponding 30617 announcement event are identified as orphans and cleaned up. Empty orphans are always removed. Non-empty orphans are flagged in the report but only deleted when --purge-orphans is also passed, preventing accidental data loss.
Diffstat (limited to 'src/purgatory/sync/context.rs')
0 files changed, 0 insertions, 0 deletions