diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2026-03-04 16:24:29 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2026-03-04 16:24:29 +0000 |
| commit | af016dd23101537ccc8ecd5a992bf3b7c6d3abe9 (patch) | |
| tree | 15284c3a1301ea738507beadd2687d4dd0d248b5 /src/lib/git/nostr_url.rs | |
| parent | 293ef01e141846f7de5af2c8c6be9d6c694083fd (diff) | |
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 <kind>:<pubkey-hex>:<identifier> 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
Diffstat (limited to 'src/lib/git/nostr_url.rs')
0 files changed, 0 insertions, 0 deletions