From af016dd23101537ccc8ecd5a992bf3b7c6d3abe9 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Wed, 4 Mar 2026 16:24:29 +0000 Subject: add NIP-21 content tags (q/p) to issues, comments, PRs and patches - parse nostr: URI mentions in issue bodies, comment bodies, PR descriptions, patch commit messages and cover letters - npub/nprofile mentions produce p tags; note/nevent/naddr mentions produce q tags per NIP-22 - naddr q tag value uses raw :: format - nevent pubkey field populated from embedded author or local cache lookup - dedup_tags() removes duplicate p tags and suppresses q tags whose event-id is already covered by an existing e threading tag - all parsing errors are non-fatal: invalid nostr: tokens are skipped --- src/lib/mod.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lib/mod.rs') diff --git a/src/lib/mod.rs b/src/lib/mod.rs index f839e7f..9768343 100644 --- a/src/lib/mod.rs +++ b/src/lib/mod.rs @@ -1,6 +1,7 @@ pub mod accept_maintainership; pub mod cli_interactor; pub mod client; +pub mod content_tags; pub mod fetch; pub mod git; pub mod git_events; -- cgit v1.2.3