upleb.uk

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

summaryrefslogtreecommitdiff
path: root/src/git
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2025-11-05 12:31:21 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2025-11-05 12:31:21 +0000
commit6b78ed707a69e22e5fadd5bd0999c16a0931bbaa (patch)
tree4a97b880f89a8a825c6154e19d620c5ed3d82a30 /src/git
parent1e267c282d07c68dbee4682c66d3933032ed7fec (diff)
refactor(smoke): abstract NIP-34 announcement creation for ngit-relay compatibility
- Add create_announcement_event() helper to create properly formatted NIP-34 repository announcements that are accepted by GRASP relays - Update test_send_receive_event to use the helper (removes duplication) - Update test_create_subscription to use NIP-34 announcements instead of kind 1 TextNote events ngit-relay only accepts events that reference the relay in clone/relays tags. Kind 1 messages don't have these tags, so they're rejected. Using NIP-34 announcements ensures all smoke tests work against ngit-relay.
Diffstat (limited to 'src/git')
0 files changed, 0 insertions, 0 deletions