upleb.uk

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

summaryrefslogtreecommitdiff
path: root/tests/ngit_login.rs
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2026-02-26 13:31:44 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2026-02-26 15:26:18 +0000
commit0d6ed93e4d143bb066205543af13f0ec6ddbdd58 (patch)
tree1b1940460ec149e7e7e224d620ff1f8b9e0c55f3 /tests/ngit_login.rs
parentee68ccadce6a6c90747cbdaae557babb4683413e (diff)
feat: publish state event to stale grasp relays before sync push
FetchReport now captures the full state event seen on each relay during the nostr fetch (state_per_relay: HashMap<RelayUrl, Option<Event>>). ngit sync uses this to identify grasp server relays with a missing or outdated state event and publishes the current state event to them before attempting git pushes, preventing rejections. An existing login is loaded silently (no prompt, no profile fetch) to provide a signer for NIP-42 auth if requested.
Diffstat (limited to 'tests/ngit_login.rs')
0 files changed, 0 insertions, 0 deletions