upleb.uk

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

summaryrefslogtreecommitdiff
path: root/src/bin/ngit/cli.rs
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2026-02-11 09:20:48 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2026-02-11 15:54:51 +0000
commit15bf0d0b6befae6c81631c0e5d0dc2947dd3318a (patch)
tree3d12d8b104c7a36ac8d2a7194da26fb432c95f23 /src/bin/ngit/cli.rs
parent459d33b6d7d3e5fdd55780670cd05d8141e670ac (diff)
feat: use fallback relays for bootstrapping only
- Add --relay flag to 'ngit account create' allowing users to specify relay URLs (repeatable). Defaults to relay-default-set when not provided. - Remove fallback relays from fetch when repo context exists (repo coordinate provided). Only use them for bootstrapping (profile discovery with no repo context). - Remove fallback relays from publish when repo or user relays exist. Only use them when neither is available (e.g. new account signup). - Update --customize help text to reflect new relay-default-set behavior.
Diffstat (limited to 'src/bin/ngit/cli.rs')
-rw-r--r--src/bin/ngit/cli.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/ngit/cli.rs b/src/bin/ngit/cli.rs
index d2246d7..47f4b27 100644
--- a/src/bin/ngit/cli.rs
+++ b/src/bin/ngit/cli.rs
@@ -53,7 +53,7 @@ ngit settings are managed through the git config.
53Currently the only settings not reachable through standard commands relate to default hardcoded relays: 53Currently the only settings not reachable through standard commands relate to default hardcoded relays:
54 54
55 - nostr.grasp-default-set - only used during `ngit init` 55 - nostr.grasp-default-set - only used during `ngit init`
56 - nostr.relay-default-set - must have at least 1 value, all events send to repo relays, user write and default relays 56 - nostr.relay-default-set - used for profile discovery and account bootstrapping
57 - nostr.relay-blaster-set - only used for repo announcement events 57 - nostr.relay-blaster-set - only used for repo announcement events
58 - nostr.relay-signer-fallback-set 58 - nostr.relay-signer-fallback-set
59 59