upleb.uk

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

summaryrefslogtreecommitdiff
path: root/docs/reference
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2026-01-07 12:34:59 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2026-01-07 12:34:59 +0000
commitd78d3a86ba81a5b59cde527a448f5c9d131db8d6 (patch)
treebd197adb274fb19513a15429ebbe77f760e39508 /docs/reference
parente72edbae86affcb9fc0429bd197639bf438ffb6c (diff)
Refactor handle_receive_pack to use unified process_newly_available_git_data
Replace ~100 lines of duplicated post-push processing in handle_receive_pack with a single call to the unified process_newly_available_git_data function. The unified function handles all post-git-data-available processing: - Discovering satisfiable events from purgatory (state and PR events) - Syncing OIDs to authorized owner repos - Aligning refs (+ setting HEAD) in all owner repos - Saving events to database - Notifying WebSocket subscribers - Removing from purgatory This ensures consistent behavior regardless of how git data arrives (git push vs purgatory sync fetching from remote servers). Also mark test-only internal methods with #[cfg(test)] to silence dead code warnings.
Diffstat (limited to 'docs/reference')
0 files changed, 0 insertions, 0 deletions