From 0c9690bc4acb066c4bbb7a00ea9aa7f67820a009 Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 27 Aug 2025 11:56:43 +0200 Subject: [PATCH] chore(refine): adapter .gitea/docs/scripts au projet sdk_relay --- .gitea/ISSUE_TEMPLATE/bug_report.md | 5 +++-- .gitea/ISSUE_TEMPLATE/feature_request.md | 5 +++-- .gitea/PULL_REQUEST_TEMPLATE.md | 3 ++- .gitea/workflows/LOCAL_OVERRIDES.yml | 1 + .gitea/workflows/ci.yml | 7 ++++--- .gitea/workflows/template-sync.yml | 1 + docs/API.md | 1 + docs/ARCHITECTURE.md | 5 +++-- docs/CONFIGURATION.md | 1 + docs/DEVELOPMENT.md | 1 + docs/EXEMPLES_PRATIQUES.md | 1 + docs/GITEA_SETUP.md | 1 + docs/INDEX.md | 1 + docs/INSTALLATION.md | 1 + docs/OPEN_SOURCE_CHECKLIST.md | 1 + docs/PERFORMANCE.md | 1 + docs/QUICK_REFERENCE.md | 1 + docs/RELEASE_PLAN.md | 1 + docs/ROADMAP.md | 1 + docs/SECURITY_AUDIT.md | 1 + docs/SSH_USATE.md | 1 + docs/TESTING.md | 1 + docs/TROUBLESHOOTING.md | 1 + docs/USAGE.md | 1 + docs/spec-technique.md | 1 + scripts/auto-ssh-push.sh | 1 + scripts/checks/version_alignment.sh | 1 + scripts/init-ssh-env.sh | 1 + scripts/release/guard.sh | 1 + scripts/scripts/auto-ssh-push.sh | 1 + scripts/scripts/init-ssh-env.sh | 1 + scripts/scripts/setup-ssh-ci.sh | 1 + scripts/setup-ssh-ci.sh | 1 + 33 files changed, 43 insertions(+), 10 deletions(-) diff --git a/.gitea/ISSUE_TEMPLATE/bug_report.md b/.gitea/ISSUE_TEMPLATE/bug_report.md index da4e36d..93a6190 100644 --- a/.gitea/ISSUE_TEMPLATE/bug_report.md +++ b/.gitea/ISSUE_TEMPLATE/bug_report.md @@ -1,6 +1,6 @@ --- name: Bug Report -about: Signaler un bug pour nous aider à améliorer 4NK Node +about: Signaler un bug pour nous aider à améliorer sdk_relay title: '[BUG] ' labels: ['bug', 'needs-triage'] assignees: '' @@ -34,7 +34,7 @@ Si applicable, ajoutez une capture d'écran pour expliquer votre problème. - **OS** : [ex: Ubuntu 20.04, macOS 12.0, Windows 11] - **Docker** : [ex: 20.10.0] - **Docker Compose** : [ex: 2.0.0] -- **Version 4NK Node** : [ex: v1.0.0] +- **Version sdk_relay** : [ex: v1.0.0] - **Architecture** : [ex: x86_64, ARM64] ## 📋 Configuration @@ -95,3 +95,4 @@ Toute autre information pertinente sur le problème. --- **Merci de votre contribution !** 🙏 + diff --git a/.gitea/ISSUE_TEMPLATE/feature_request.md b/.gitea/ISSUE_TEMPLATE/feature_request.md index 6041f4a..190fde1 100644 --- a/.gitea/ISSUE_TEMPLATE/feature_request.md +++ b/.gitea/ISSUE_TEMPLATE/feature_request.md @@ -1,6 +1,6 @@ --- name: Feature Request -about: Proposer une nouvelle fonctionnalité pour 4NK Node +about: Proposer une nouvelle fonctionnalité pour sdk_relay title: '[FEATURE] ' labels: ['enhancement', 'needs-triage'] assignees: '' @@ -153,4 +153,5 @@ Comment mesurer le succès de cette fonctionnalité ? --- -**Merci de votre contribution à l'amélioration de 4NK Node !** 🌟 +**Merci de votre contribution à l'amélioration de sdk_relay !** 🌟 + diff --git a/.gitea/PULL_REQUEST_TEMPLATE.md b/.gitea/PULL_REQUEST_TEMPLATE.md index 621d01a..3bb888e 100644 --- a/.gitea/PULL_REQUEST_TEMPLATE.md +++ b/.gitea/PULL_REQUEST_TEMPLATE.md @@ -1,4 +1,4 @@ -# Pull Request - 4NK Node +# Pull Request - sdk_relay ## 📋 Description @@ -178,3 +178,4 @@ Informations supplémentaires importantes pour les reviewers. --- **Merci pour votre contribution !** 🙏 + diff --git a/.gitea/workflows/LOCAL_OVERRIDES.yml b/.gitea/workflows/LOCAL_OVERRIDES.yml index 12c8c45..235d535 100644 --- a/.gitea/workflows/LOCAL_OVERRIDES.yml +++ b/.gitea/workflows/LOCAL_OVERRIDES.yml @@ -12,3 +12,4 @@ policy: allow_only_listed_paths: true require_expiry: true audit_in_ci: true + diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 5dd8de7..bbe417f 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -1,4 +1,4 @@ -name: CI - 4NK Node +name: CI - sdk_relay on: push: @@ -263,8 +263,8 @@ jobs: - name: Validate documentation run: | # Vérifier la cohérence de la documentation - if ! grep -q "4NK Node" README.md; then - echo "README.md should mention '4NK Node'" + if ! grep -q "sdk_relay" README.md; then + echo "README.md should mention 'sdk_relay'" exit 1 fi @@ -343,3 +343,4 @@ jobs: run: | echo "❌ Some tests failed!" exit 1 + diff --git a/.gitea/workflows/template-sync.yml b/.gitea/workflows/template-sync.yml index e6710df..b1dba5f 100644 --- a/.gitea/workflows/template-sync.yml +++ b/.gitea/workflows/template-sync.yml @@ -37,3 +37,4 @@ jobs: - name: Mettre à jour TEMPLATE_VERSION (dans PR) # Doit remplacer la valeur par la ref appliquée + diff --git a/docs/API.md b/docs/API.md index c6bce4c..3d06d85 100644 --- a/docs/API.md +++ b/docs/API.md @@ -1255,3 +1255,4 @@ curl -X POST http://localhost:8091/restart **Cette documentation décrit tous les flux de données JSON entre les clients et sdk_relay.** 🚀 + diff --git a/docs/ARCHITECTURE.md b/docs/ARCHITECTURE.md index 30e6e40..bfd38d9 100644 --- a/docs/ARCHITECTURE.md +++ b/docs/ARCHITECTURE.md @@ -2,7 +2,7 @@ ## Vue d'Ensemble -`sdk_relay` est un service de relais Rust pour les paiements silencieux Bitcoin, conçu pour fonctionner dans l'écosystème 4NK Node. +`sdk_relay` est un service de relais Rust pour les paiements silencieux Bitcoin, conçu pour fonctionner dans l'écosystème sdk_relay. ## Architecture Générale @@ -329,5 +329,6 @@ RUST_LOG=debug,hyper=trace --- -**Cette architecture garantit un service de relais robuste, performant et évolutif pour l'écosystème 4NK Node.** 🚀 +**Cette architecture garantit un service de relais robuste, performant et évolutif pour l'écosystème sdk_relay.** 🚀 + diff --git a/docs/CONFIGURATION.md b/docs/CONFIGURATION.md index 0a9ee9d..6d2d932 100644 --- a/docs/CONFIGURATION.md +++ b/docs/CONFIGURATION.md @@ -627,3 +627,4 @@ export RUST_LOG=sdk_relay::blindbit=debug **⚙️ Configuration sdk_relay - Optimisée pour vos besoins !** 🚀 + diff --git a/docs/DEVELOPMENT.md b/docs/DEVELOPMENT.md index 5d399a2..96481ce 100644 --- a/docs/DEVELOPMENT.md +++ b/docs/DEVELOPMENT.md @@ -31,3 +31,4 @@ cargo test --all - `docs/` documentation utilisateur/technique - `tests/` scripts et artefacts + diff --git a/docs/EXEMPLES_PRATIQUES.md b/docs/EXEMPLES_PRATIQUES.md index bd76790..5da59cc 100644 --- a/docs/EXEMPLES_PRATIQUES.md +++ b/docs/EXEMPLES_PRATIQUES.md @@ -608,3 +608,4 @@ Ces exemples couvrent les cas d'usage les plus courants pour sdk_relay. Adaptez- + diff --git a/docs/GITEA_SETUP.md b/docs/GITEA_SETUP.md index c854ee1..99dd9e4 100644 --- a/docs/GITEA_SETUP.md +++ b/docs/GITEA_SETUP.md @@ -20,3 +20,4 @@ - CHANGELOG mis à jour - Artefacts (binaires/images) optionnels + diff --git a/docs/INDEX.md b/docs/INDEX.md index bdee54d..0329a4b 100644 --- a/docs/INDEX.md +++ b/docs/INDEX.md @@ -306,3 +306,4 @@ docker run -p 8090:8090 -p 8091:8091 sdk_relay **📚 Documentation complète pour sdk_relay - Service de relais pour les Silent Payments** 🚀 + diff --git a/docs/INSTALLATION.md b/docs/INSTALLATION.md index b937609..9433425 100644 --- a/docs/INSTALLATION.md +++ b/docs/INSTALLATION.md @@ -477,3 +477,4 @@ En cas de problème : **🚀 Installation terminée ! sdk_relay est prêt à être utilisé.** ✨ + diff --git a/docs/OPEN_SOURCE_CHECKLIST.md b/docs/OPEN_SOURCE_CHECKLIST.md index ca33b2b..98126cc 100644 --- a/docs/OPEN_SOURCE_CHECKLIST.md +++ b/docs/OPEN_SOURCE_CHECKLIST.md @@ -27,3 +27,4 @@ - Guide Communauté - Plan de release + diff --git a/docs/PERFORMANCE.md b/docs/PERFORMANCE.md index 7616cec..ffd1137 100644 --- a/docs/PERFORMANCE.md +++ b/docs/PERFORMANCE.md @@ -25,3 +25,4 @@ - Scripts d’observation (stats système) - Export métriques endpoints `/metrics` + diff --git a/docs/QUICK_REFERENCE.md b/docs/QUICK_REFERENCE.md index a9a7c6d..529b82b 100644 --- a/docs/QUICK_REFERENCE.md +++ b/docs/QUICK_REFERENCE.md @@ -30,3 +30,4 @@ - Bitcoin Core RPC OK - Blindbit HTTP OK + diff --git a/docs/RELEASE_PLAN.md b/docs/RELEASE_PLAN.md index d48f3fe..d49b25e 100644 --- a/docs/RELEASE_PLAN.md +++ b/docs/RELEASE_PLAN.md @@ -18,3 +18,4 @@ - Tag créé (`vX.Y.Z`) - Annonce préparée (Gitea release notes) + diff --git a/docs/ROADMAP.md b/docs/ROADMAP.md index 839fd82..eb7b6eb 100644 --- a/docs/ROADMAP.md +++ b/docs/ROADMAP.md @@ -24,3 +24,4 @@ - Couverture de tests - SLO disponibilité + diff --git a/docs/SECURITY_AUDIT.md b/docs/SECURITY_AUDIT.md index 0228de8..309c8c9 100644 --- a/docs/SECURITY_AUDIT.md +++ b/docs/SECURITY_AUDIT.md @@ -27,3 +27,4 @@ - Issues Gitea créées pour findings - Plan de remédiation par priorité + diff --git a/docs/SSH_USATE.md b/docs/SSH_USATE.md index bfd533a..f2ed31c 100644 --- a/docs/SSH_USATE.md +++ b/docs/SSH_USATE.md @@ -321,3 +321,4 @@ L'automatisation SSH pour `ihm_client` simplifie considérablement le workflow d **Dernière mise à jour** : $(date '+%Y-%m-%d') **Version** : 1.0.0 + diff --git a/docs/TESTING.md b/docs/TESTING.md index 1de847e..f7f2553 100644 --- a/docs/TESTING.md +++ b/docs/TESTING.md @@ -43,3 +43,4 @@ cargo fmt -- --check - Chaque exécution crée des fichiers uniques: `wallet_{uuid}`, `processes_{uuid}`, `members_{uuid}`. - Objectif: éviter le partage d’état entre tests et empoisonnements de verrous. + diff --git a/docs/TROUBLESHOOTING.md b/docs/TROUBLESHOOTING.md index 0af096b..99c5154 100644 --- a/docs/TROUBLESHOOTING.md +++ b/docs/TROUBLESHOOTING.md @@ -27,3 +27,4 @@ - `RUST_LOG=debug` - Scripts de tests/monitoring + diff --git a/docs/USAGE.md b/docs/USAGE.md index 491a582..c95931f 100644 --- a/docs/USAGE.md +++ b/docs/USAGE.md @@ -709,3 +709,4 @@ awk '/ERROR/ {count++} END {print count}' logs/sdk_relay.log **🎯 Service sdk_relay - Prêt pour une utilisation en production !** ✨ + diff --git a/docs/spec-technique.md b/docs/spec-technique.md index 79f7e27..7ce6717 100644 --- a/docs/spec-technique.md +++ b/docs/spec-technique.md @@ -1105,3 +1105,4 @@ chmod 600 /home/bitcoin/.4nk/bitcoin.cookie `sdk_relay` est un service Rust robuste et performant qui implémente un relais complet pour les Silent Payments. Son architecture modulaire, sa gestion asynchrone et ses mécanismes de sécurité en font une solution production-ready pour l'intégration des paiements silencieux avec Bitcoin Core. + diff --git a/scripts/auto-ssh-push.sh b/scripts/auto-ssh-push.sh index 1626aa1..349abc4 100755 --- a/scripts/auto-ssh-push.sh +++ b/scripts/auto-ssh-push.sh @@ -153,3 +153,4 @@ case "$1" in esac echo "🎯 Push SSH automatique terminé !" + diff --git a/scripts/checks/version_alignment.sh b/scripts/checks/version_alignment.sh index d682cf6..e399e72 100644 --- a/scripts/checks/version_alignment.sh +++ b/scripts/checks/version_alignment.sh @@ -18,3 +18,4 @@ if ! grep -Eq "^## \\[$(echo "$v" | sed 's/^v//')\\]" CHANGELOG.md; then fi echo "Version alignment OK" + diff --git a/scripts/init-ssh-env.sh b/scripts/init-ssh-env.sh index fdb5594..7d6078a 100755 --- a/scripts/init-ssh-env.sh +++ b/scripts/init-ssh-env.sh @@ -150,3 +150,4 @@ if [[ "$SSH_WORKING" == "true" ]]; then fi print_success "Initialisation SSH terminée !" + diff --git a/scripts/release/guard.sh b/scripts/release/guard.sh index 46fde57..cb5410b 100644 --- a/scripts/release/guard.sh +++ b/scripts/release/guard.sh @@ -63,3 +63,4 @@ case "$mode" in esac echo "[release-guard] OK" + diff --git a/scripts/scripts/auto-ssh-push.sh b/scripts/scripts/auto-ssh-push.sh index 653b59c..5294e0a 100644 --- a/scripts/scripts/auto-ssh-push.sh +++ b/scripts/scripts/auto-ssh-push.sh @@ -149,3 +149,4 @@ case "$1" in esac echo "🎯 Push SSH automatique terminé !" + diff --git a/scripts/scripts/init-ssh-env.sh b/scripts/scripts/init-ssh-env.sh index 1ca7fa2..a125ab1 100644 --- a/scripts/scripts/init-ssh-env.sh +++ b/scripts/scripts/init-ssh-env.sh @@ -57,3 +57,4 @@ print_success "Scripts rendus exécutables (si présents)" # 6. Résumé echo "" print_success "=== Configuration SSH terminée ===" + diff --git a/scripts/scripts/setup-ssh-ci.sh b/scripts/scripts/setup-ssh-ci.sh index a9c3e5d..041c18c 100644 --- a/scripts/scripts/setup-ssh-ci.sh +++ b/scripts/scripts/setup-ssh-ci.sh @@ -52,3 +52,4 @@ else fi echo "🎯 Configuration SSH CI/CD terminée" + diff --git a/scripts/setup-ssh-ci.sh b/scripts/setup-ssh-ci.sh index 63b3a6d..7b9b63a 100755 --- a/scripts/setup-ssh-ci.sh +++ b/scripts/setup-ssh-ci.sh @@ -77,3 +77,4 @@ else fi echo "🎯 Configuration SSH terminée pour ihm_client" +