feat: Rebrand Polkadot/Substrate references to PezkuwiChain

This commit systematically rebrands various references from Parity Technologies'
Polkadot/Substrate ecosystem to PezkuwiChain within the kurdistan-sdk.

Key changes include:
- Updated external repository URLs (zombienet-sdk, parity-db, parity-scale-codec, wasm-instrument) to point to pezkuwichain forks.
- Modified internal documentation and code comments to reflect PezkuwiChain naming and structure.
- Replaced direct references to  with  or specific paths within the  for XCM, Pezkuwi, and other modules.
- Cleaned up deprecated  issue and PR references in various  and  files, particularly in  and  modules.
- Adjusted image and logo URLs in documentation to point to PezkuwiChain assets.
- Removed or rephrased comments related to external Polkadot/Substrate PRs and issues.

This is a significant step towards fully customizing the SDK for the PezkuwiChain ecosystem.
This commit is contained in:
2025-12-14 00:04:10 +03:00
parent e4778b4576
commit 379cb741ed
9082 changed files with 997824 additions and 997542 deletions
+120
View File
@@ -0,0 +1,120 @@
#!/bin/bash
# Tüm kalan upstream tracking issue'ları oluşturma scripti
# Issue #21'den başlayarak kalan tüm URL'leri işler
set -e
REPO="pezkuwichain/kurdistan-sdk"
CODEBASE="/home/mamostehp/kurdistan-sdk"
LABEL="upstream-tracking"
cd "$CODEBASE"
NEXT_ISSUE_NUM=21
TOTAL_PROCESSED=0
TOTAL_SKIPPED=0
# Satır 21'den başla, her URL'yi işle
tail -n +21 /tmp/upstream_urls.txt | while read -r URL; do
# Boş satırları atla
if [ -z "$URL" ]; then
continue
fi
# URL'den bilgileri çıkar
UPSTREAM_REPO=$(echo "$URL" | sed -E 's|.*paritytech/([^/]+)/.*|\1|')
TYPE=$(echo "$URL" | sed -E 's|.*/([^/]+)/[0-9]+$|\1|')
NUM=$(echo "$URL" | sed -E 's|.*/([0-9]+)$|\1|')
# Orijinal upstream repo adını belirle (rebranding düzelt)
ORIGINAL_REPO="$UPSTREAM_REPO"
case "$UPSTREAM_REPO" in
"bizinikiwi")
ORIGINAL_REPO="substrate"
;;
"pezcumulus")
ORIGINAL_REPO="cumulus"
;;
"pezkuwi")
ORIGINAL_REPO="polkadot"
;;
esac
echo ""
echo "=========================================="
echo "Processing Issue #$NEXT_ISSUE_NUM"
echo "URL: $URL"
echo "Repo: paritytech/$ORIGINAL_REPO, Type: $TYPE, Num: $NUM"
echo "=========================================="
# Aranacak pattern'i oluştur
SEARCH_PATTERN="paritytech/$UPSTREAM_REPO/$TYPE/$NUM"
# Dosyaları bul
FILES=$(grep -rl "$SEARCH_PATTERN" --include="*.rs" --include="*.md" --include="*.toml" . 2>/dev/null | grep -v "/target/" | grep -v "/.git/" || true)
if [ -z "$FILES" ]; then
echo "UYARI: $SEARCH_PATTERN için dosya bulunamadı, atlıyorum..."
TOTAL_SKIPPED=$((TOTAL_SKIPPED + 1))
continue
fi
echo "Bulunan dosyalar:"
echo "$FILES"
FILE_COUNT=$(echo "$FILES" | wc -l)
echo "Toplam: $FILE_COUNT dosya"
# GitHub issue oluştur
ISSUE_BODY="**Upstream $TYPE:** https://github.com/paritytech/$ORIGINAL_REPO/$TYPE/$NUM
**Status Tracking:**
- [x] Pending - Upstream not yet resolved
- [ ] Resolved - Fix merged upstream
- [ ] Evaluated - Assessed if needed for Kurdistan SDK
- [ ] Applied - Fix applied to our chain
- [ ] Closed - Upstream $TYPE closed
- [ ] Skipped - Not relevant for us
**Last Check:** $(date +%Y-%m-%d)
**Next Check:** $(date -d '+1 month' +%Y-%m-%d 2>/dev/null || date -v+1m +%Y-%m-%d 2>/dev/null || echo 'TBD')
**Notes:**
Tracking upstream paritytech/$ORIGINAL_REPO#$NUM.
Periodically check upstream and update checkboxes above based on status changes."
echo "Creating GitHub issue..."
CREATED_ISSUE=$(gh issue create \
--repo "$REPO" \
--label "$LABEL" \
--title "[Upstream Tracking] paritytech/$ORIGINAL_REPO#$NUM" \
--body "$ISSUE_BODY")
NEW_ISSUE_NUM=$(echo "$CREATED_ISSUE" | grep -oE '[0-9]+$')
echo "Created: Issue #$NEW_ISSUE_NUM"
# TÜM dosyalardaki URL'leri güncelle
echo "Updating ALL files..."
for FILE in $FILES; do
echo " Updating: $FILE"
sed -i "s|$SEARCH_PATTERN|pezkuwichain/kurdistan-sdk/issues/$NEW_ISSUE_NUM|g" "$FILE"
done
# Doğrulama
REMAINING=$(grep -rl "$SEARCH_PATTERN" --include="*.rs" --include="*.md" --include="*.toml" . 2>/dev/null | grep -v "/target/" | grep -v "/.git/" || true)
if [ -n "$REMAINING" ]; then
echo "HATA: Hala eski URL kalmış dosyalar var:"
echo "$REMAINING"
exit 1
fi
echo "Issue #$NEW_ISSUE_NUM tamamlandı ($FILE_COUNT dosya güncellendi)"
NEXT_ISSUE_NUM=$((NEXT_ISSUE_NUM + 1))
TOTAL_PROCESSED=$((TOTAL_PROCESSED + 1))
done
echo ""
echo "=========================================="
echo "TAMAMLANDI!"
echo "=========================================="
+100
View File
@@ -0,0 +1,100 @@
#!/bin/bash
# Upstream tracking issue oluşturma scripti v2
# Issue #16-#20 için test
# FARK: Tüm dosyaları güncelliyor, sadece ilkini değil
set -e
REPO="pezkuwichain/kurdistan-sdk"
CODEBASE="/home/mamostehp/kurdistan-sdk"
LABEL="upstream-tracking"
# Issue #16-#20 için upstream URL'ler (satır 16-20)
ISSUES=(
"14246:substrate:14246"
"14425:substrate:14425"
"1444:substrate:1444"
"1458:substrate:1458"
"14622:substrate:14622"
)
NEXT_ISSUE_NUM=16
cd "$CODEBASE"
for entry in "${ISSUES[@]}"; do
IFS=':' read -r ISSUE_NUM UPSTREAM_REPO UPSTREAM_ISSUE <<< "$entry"
echo ""
echo "=========================================="
echo "Processing Issue #$NEXT_ISSUE_NUM"
echo "Upstream: paritytech/$UPSTREAM_REPO#$UPSTREAM_ISSUE"
echo "=========================================="
# 1. Tüm dosyaları bul (target ve .git hariç)
FILES=$(grep -rl "paritytech/bizinikiwi/issues/$ISSUE_NUM" --include="*.rs" --include="*.md" --include="*.toml" . 2>/dev/null | grep -v "/target/" | grep -v "/.git/" || true)
if [ -z "$FILES" ]; then
echo "UYARI: $ISSUE_NUM için dosya bulunamadı, atlıyorum..."
continue
fi
echo "Bulunan dosyalar:"
echo "$FILES"
FILE_COUNT=$(echo "$FILES" | wc -l)
echo "Toplam: $FILE_COUNT dosya"
# 2. GitHub issue oluştur
ISSUE_BODY="**Upstream Issue:** https://github.com/paritytech/$UPSTREAM_REPO/issues/$UPSTREAM_ISSUE
**Status Tracking:**
- [x] Pending - Upstream not yet resolved
- [ ] Resolved - Fix merged upstream
- [ ] Evaluated - Assessed if needed for Kurdistan SDK
- [ ] Applied - Fix applied to our chain
- [ ] Closed - Upstream issue closed
- [ ] Skipped - Not relevant for us
**Last Check:** $(date +%Y-%m-%d)
**Next Check:** $(date -d '+1 month' +%Y-%m-%d 2>/dev/null || date -v+1m +%Y-%m-%d 2>/dev/null || echo 'TBD')
**Notes:**
Tracking upstream issue paritytech/$UPSTREAM_REPO#$UPSTREAM_ISSUE.
Periodically check upstream and update checkboxes above based on status changes."
echo "Creating GitHub issue..."
CREATED_ISSUE=$(gh issue create \
--repo "$REPO" \
--label "$LABEL" \
--title "[Upstream Tracking] paritytech/$UPSTREAM_REPO#$UPSTREAM_ISSUE" \
--body "$ISSUE_BODY")
NEW_ISSUE_NUM=$(echo "$CREATED_ISSUE" | grep -oE '[0-9]+$')
echo "Created: Issue #$NEW_ISSUE_NUM"
# 3. TÜM dosyalardaki URL'leri güncelle (önemli fark!)
echo "Updating ALL files..."
for FILE in $FILES; do
echo " Updating: $FILE"
sed -i "s|paritytech/bizinikiwi/issues/$ISSUE_NUM|pezkuwichain/kurdistan-sdk/issues/$NEW_ISSUE_NUM|g" "$FILE"
done
# 4. Doğrulama - eski URL kaldı mı?
REMAINING=$(grep -rl "paritytech/bizinikiwi/issues/$ISSUE_NUM" --include="*.rs" --include="*.md" --include="*.toml" . 2>/dev/null | grep -v "/target/" | grep -v "/.git/" || true)
if [ -n "$REMAINING" ]; then
echo "HATA: Hala eski URL kalmış dosyalar var:"
echo "$REMAINING"
exit 1
fi
echo "Issue #$NEW_ISSUE_NUM tamamlandı ($FILE_COUNT dosya güncellendi)"
NEXT_ISSUE_NUM=$((NEXT_ISSUE_NUM + 1))
done
echo ""
echo "=========================================="
echo "TAMAMLANDI!"
echo "Issue #16-#20 oluşturuldu ve dosyalar güncellendi"
echo "=========================================="
+4 -4
View File
@@ -1,13 +1,13 @@
#!/bin/bash
# Find all Cargo.toml files excluding the root,umbrella/Cargo.toml,
# substrate/frame/contracts/fixtures/build/Cargo.toml,
# substrate/frame/contracts/fixtures/contracts/common/Cargo.toml
# bizinikiwi/frame/contracts/fixtures/build/Cargo.toml,
# bizinikiwi/frame/contracts/fixtures/contracts/common/Cargo.toml
find . -name "Cargo.toml" \
! -path "./Cargo.toml" \
! -path "./umbrella/Cargo.toml" \
! -path "./substrate/frame/contracts/fixtures/build/Cargo.toml" \
! -path "./substrate/frame/contracts/fixtures/contracts/common/Cargo.toml"| while read -r file; do
! -path "./bizinikiwi/frame/contracts/fixtures/build/Cargo.toml" \
! -path "./bizinikiwi/frame/contracts/fixtures/contracts/common/Cargo.toml"| while read -r file; do
echo "Processing $file..."
+1 -1
View File
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
# A script to update bridges repo as subtree to Cumulus
# A script to update bridges repo as subtree to Pezcumulus
# Usage:
# ./scripts/update_subtree_snowbridge.sh fetch
# ./scripts/update_subtree_snowbridge.sh patch
+2 -2
View File
@@ -35,8 +35,8 @@ export TRYBUILD=overwrite
# Warnings are part of our UI and the CI also sets this.
export RUSTFLAGS="-C debug-assertions -D warnings"
# ./substrate
$RUSTUP_RUN cargo test -q --locked --manifest-path substrate/primitives/runtime-interface/Cargo.toml ui
# ./bizinikiwi
$RUSTUP_RUN cargo test -q --locked --manifest-path bizinikiwi/primitives/runtime-interface/Cargo.toml ui
$RUSTUP_RUN cargo test -q --locked -p sp-api-test ui
$RUSTUP_RUN cargo test -q --locked -p frame-election-provider-solution-type ui
$RUSTUP_RUN cargo test -q --locked -p frame-support-test --features=no-metadata-docs,try-runtime,experimental ui