upleb.uk

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

summaryrefslogtreecommitdiff
path: root/docs/reference/git-protocol.md
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2026-01-07 12:24:42 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2026-01-07 12:24:42 +0000
commite72edbae86affcb9fc0429bd197639bf438ffb6c (patch)
treeb59f31287d10fe9b22d7e5af4cb3aa94ef06dc8a /docs/reference/git-protocol.md
parent18bfb246029a848a0b307e7c8a8e4df57addabb2 (diff)
Add unified process_newly_available_git_data function
Implement the unified function that handles all post-git-data-available processing, regardless of how data arrived (git push or purgatory sync). This function: - Discovers satisfiable events from purgatory (state and PR events) - Syncs OIDs to authorized owner repos - Aligns refs and sets HEAD - Saves events to database - Notifies WebSocket subscribers - Removes from purgatory New additions: - ProcessResult struct for tracking processing outcomes - process_newly_available_git_data async function in src/git/sync.rs - Helper functions: extract_identifier_from_repo_path, extract_identifier_from_pr_event - Purgatory::find_prs_for_identifier method for PR event discovery - Unit tests for all helper functions Also fixes: - Simplified extract_domain to avoid url crate dependency - Removed unused imports in sync/loop.rs
Diffstat (limited to 'docs/reference/git-protocol.md')
0 files changed, 0 insertions, 0 deletions