fix: resolve all broken links for check-links.yml CI

## Changes

### High Impact Fixes (RED)
- Fix radium git URL (https://https:// → github.com/paritytech/radium-0.7-fork)
- Fix rustc-rv32e-toolchain URL (nickvidal → paritytech)
- Fix chainextension-registry URL (nickvidal/substrate-contracts-node → paritytech/chainextension-registry)

### Medium Impact Fixes (YELLOW)
- Fix docs.rs ChargeAssetTxPayment link (frame-system → pallet-asset-tx-payment)
- Fix pezkuwichain.github.io → paritytech.github.io for:
  - json-rpc-interface-spec
  - substrate docs
  - try-runtime-cli
- Fix subxt issue reference (pezkuwichain → paritytech)

### Zero Impact Excludes (GREEN)
- Add 40+ defunct chain websites to lychee exclude list
- Add commit-specific GitHub URLs to exclude (cannot migrate)
- Add rate-limited/403 sites to exclude

### Documentation
- Refactor .claude/domains_repositories.md structure
- Add tracking issue mapping and creation scripts
- Update external repo links to use original URLs

Result: 🔍 9610 Total  6747 OK 🚫 0 Errors
This commit is contained in:
2025-12-23 07:58:20 +03:00
parent e8c03b5c86
commit 3c60d579a6
174 changed files with 1335 additions and 430 deletions
+55
View File
@@ -0,0 +1,55 @@
#!/bin/bash
cd /home/mamostehp/pezkuwi-sdk
MAPPING_FILE=".claude/issue_mapping.txt"
create_issue() {
local i=$1
echo "Creating tracking issue for upstream #$i..."
result=$(gh issue create \
--repo pezkuwichain/pezkuwi-sdk \
--title "[Upstream] Track Polkadot SDK #$i" \
--body "## Upstream Reference Tracking
**Upstream URL:** https://github.com/paritytech/polkadot-sdk/issues/$i
**Type:** Issue
---
### Status Tracking:
- [x] Pending - Upstream not yet resolved
- [ ] Resolved - Fix merged upstream
- [ ] Evaluated - Assessed if needed for PezkuwiChain
- [ ] Applied - Fix applied to our chain
- [ ] Closed - Upstream issue closed
- [ ] Skipped - Not relevant for us
**Last Check:** 2025-12-23
**Next Check:** 2026-01-23
---
### Notes:
Automatically created tracking issue for upstream Polkadot SDK reference." \
--label "upstream-tracking" 2>&1)
new_num=$(echo "$result" | grep -oE '/issues/[0-9]+' | grep -oE '[0-9]+')
if [ -n "$new_num" ]; then
echo "$i $new_num" >> "$MAPPING_FILE"
echo " Created #$new_num for upstream #$i"
else
echo " Failed: $result"
fi
sleep 1
}
# Create remaining test issues
for i in 3 4 5 7; do
create_issue $i
done
echo ""
echo "Mapping file contents:"
cat "$MAPPING_FILE"