mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 16:23:36 +00:00
Add repository announcement feature for Nostr git (NIP-34)
Created AnnounceRepositoryDialog component to publish repository announcements (kind 30617) which are required before patches can be discovered on Nostr git clients like NostrHub. Key features: - Auto-detects earliest unique commit (euc) from git history - Pre-fills repository ID from remote URL - Allows adding multiple web URLs, clone URLs, and relays - Publishes to designated relays with proper NIP-34 tags - Returns naddr for easy sharing The dialog is displayed in GitDialog for Nostr remotes, positioned next to the Create Patch button. This completes the Nostr git workflow: 1. Announce repository (creates kind 30617 with euc tag) 2. Submit patches (creates kind 1617 with 'a' tag referencing announcement) Without step 1, patches are published but not discoverable since clients query repositories first, then filter patches by the repository's 'a' tag coordinate.
This commit is contained in:
1 parent
4ec49e1308
commit
166c2eb72c
3 files changed
+590
-6
No files matched your search
@@ -1,3 +1,4 @@
|
||||
export { AnnounceRepositoryDialog } from './AnnounceRepositoryDialog';
|
||||
export { BranchManager } from './BranchManager';
|
||||
export { CompareView } from './CompareView';
|
||||
export { DiffViewer } from './DiffViewer';
|
||||
|
||||
Reference in new issue
Block a user