| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2026-01-07 | purgatory: more robust process_purgatory_state_events syncing | DanConwayDev | |
| 2026-01-07 | purgatory: improve process_newly_available_git_data state event sync | DanConwayDev | |
| 2026-01-07 | Add unified process_newly_available_git_data function | DanConwayDev | |
| 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 | |||
| 2026-01-05 | sync PR refs to all relivant repos | DanConwayDev | |
| 2026-01-05 | sync PR refs (refs/nostr/<event-id>) to all owner repos when push received | DanConwayDev | |
| 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 | |||
| 2026-01-05 | sync all repos when authorised state data push received | DanConwayDev | |