upleb.uk

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

summaryrefslogtreecommitdiff
path: root/src/sync
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2026-01-27 21:05:50 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2026-01-27 21:05:50 +0000
commit51c331f26ad3c8c422b41267e3695c8f2295510e (patch)
tree89b9ae865ab8b8ebbda5244107862374e615e52e /src/sync
parent3a7fa1d1288c28eae0ee58b4c448c672ec3b69c2 (diff)
feat: implement OID retry logic for 'not our ref' errors
Add retry loop in fetch_oids that handles git's behavior of stopping at the first missing OID. When a 'not our ref' error occurs: - Parse the missing OID from stderr - Remove it from the fetch list and track it as missing - Retry with remaining OIDs until success or all OIDs exhausted This ensures we fetch all available OIDs even when some are missing from the remote, rather than failing the entire batch. Also improves error reporting: - Include URL in all error messages for easier debugging - Log stderr even when domain is already on naughty list
Diffstat (limited to 'src/sync')
0 files changed, 0 insertions, 0 deletions