upleb.uk

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

summaryrefslogtreecommitdiff
path: root/src/git/subprocess.rs
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2026-01-05 15:05:53 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2026-01-05 15:05:53 +0000
commitb29c0362bfb881febf9848e40023ac588d1e9aa7 (patch)
treeb8ab4a5f27a7ac458270985216c5cf0b4c7a65d4 /src/git/subprocess.rs
parent3f50107062d55a15decc47e93fd4e9f473de86e8 (diff)
sync PR refs (refs/nostr/<event-id>) to all owner repos when push received
When a push to refs/nostr/<event-id> is received (PR data), the git data is now synced to all other owner repositories that share maintainers with the source owner. This mirrors the behavior added for state event data. Changes: - Add sync_pr_refs_to_owner_repos() function in git/sync.rs - Add PrSyncResult struct to track sync statistics - Add copy_single_commit_between_repos() helper function - Call PR sync in handle_receive_pack after successful push - Add unit test for PrSyncResult default values
Diffstat (limited to 'src/git/subprocess.rs')
0 files changed, 0 insertions, 0 deletions