Files
pezkuwi-sdk/scripts/find_missing_issues.sh
T
pezkuwichain 5a184fd7dc 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
2025-12-23 09:37:12 +03:00

43 lines
1.0 KiB
Bash
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/bin/bash
cd /home/mamostehp/pezkuwi-sdk
# Koddaki tüm upstream issue numaraları
CODE_ISSUES=$(grep -rho "github.com/pezkuwichain/pezkuwi-sdk/issues/[0-9]*" --include="*.rs" 2>/dev/null | \
grep -v target | grep -v vendor | \
sed 's|github.com/pezkuwichain/pezkuwi-sdk/issues/||' | \
sort -n | uniq)
# Zaten tracking issue olanlar (mapping dosyasından)
TRACKED=""
if [ -f ".claude/issue_mapping.txt" ]; then
TRACKED=$(grep -v "^#" .claude/issue_mapping.txt | awk '{print $1}' | tr '\n' ' ')
fi
echo "=== DURUM RAPORU ==="
echo ""
echo "Koddaki upstream referansları:"
echo "$CODE_ISSUES" | wc -w
echo ""
echo "Zaten tracking issue olanlar:"
echo "$TRACKED"
echo ""
echo "=== OLUŞTURULMASI GEREKEN ISSUE'LAR ==="
MISSING=""
for i in $CODE_ISSUES; do
found=0
for t in $TRACKED; do
if [ "$i" = "$t" ]; then
found=1
break
fi
done
if [ $found -eq 0 ]; then
MISSING="$MISSING $i"
fi
done
echo "$MISSING" | tr ' ' '\n' | grep -v '^$' | sort -n
echo ""
echo "Toplam eksik: $(echo $MISSING | wc -w)"