upleb.uk

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

summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2026-01-07 17:13:17 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2026-01-07 17:13:17 +0000
commitb71111cc25b99acab786ece4607cb60e9cbebae4 (patch)
tree71ef2669be50ccbdf61c34dff93a1c819867f83c /tests
parente557d07ddbb1ea1a8ca6604f9ba945f359f54ce7 (diff)
feat(sync): extract clone URLs from PR events in purgatory
Add support for extracting clone URLs from PR/PR-Update events (kind 1618/1619) during purgatory sync, per NIP-34 specification. This enables fetching PR commits from URLs specified in the PR event itself, not just from repository announcement clone URLs. Changes: - Add collect_pr_clone_urls() to SyncContext trait - Implement in RealSyncContext: extract clone tags from PR events in purgatory - Implement in MockSyncContext: configurable PR clone URLs for testing - Update sync_identifier_next_url to merge PR clone URLs with announcement URLs - Update get_throttled_domains_with_untried_urls with same merge logic - Add unit tests for PR clone URL extraction and filtering
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions