diff --git a/.gitea/ISSUE_TEMPLATE/bug_report.md b/.gitea/ISSUE_TEMPLATE/bug_report.md index da4e36d..df444c1 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_storage 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_storage** : [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..e1e43e6 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_storage 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_storage !** 🌟 + diff --git a/.gitea/PULL_REQUEST_TEMPLATE.md b/.gitea/PULL_REQUEST_TEMPLATE.md index 621d01a..bc1fc05 100644 --- a/.gitea/PULL_REQUEST_TEMPLATE.md +++ b/.gitea/PULL_REQUEST_TEMPLATE.md @@ -1,4 +1,4 @@ -# Pull Request - 4NK Node +# Pull Request - sdk_storage ## 📋 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..0c05ec0 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -1,4 +1,4 @@ -name: CI - 4NK Node +name: CI - sdk_storage 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_storage" README.md; then + echo "README.md should mention 'sdk_storage'" exit 1 fi @@ -343,3 +343,4 @@ jobs: run: | echo "❌ Some tests failed!" exit 1 + diff --git a/.gitea/workflows/docker.yml b/.gitea/workflows/docker.yml index 218b386..5472869 100644 --- a/.gitea/workflows/docker.yml +++ b/.gitea/workflows/docker.yml @@ -44,3 +44,4 @@ jobs: tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} platforms: linux/amd64,linux/arm64 + diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 8bc1e04..276171e 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -32,3 +32,4 @@ jobs: with: name: sdk_storage-${{ runner.os }} path: dist/* + 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/README.md b/docs/README.md index 65fc4d2..32216db 100644 --- a/docs/README.md +++ b/docs/README.md @@ -38,3 +38,4 @@ Voir aussi: - Refactor initial de la logique depuis `main.rs` vers `lib.rs` pour testabilité et séparation des responsabilités. - Durées TTL maintenant validées dans le handler, calcul d'expiration converti en `SystemTime` avant l'appel service. + diff --git a/docs/api_contrats.md b/docs/api_contrats.md index 94ddb0f..62b1039 100644 --- a/docs/api_contrats.md +++ b/docs/api_contrats.md @@ -20,3 +20,4 @@ Voir `api_json_spec.md` pour les schémas et contraintes détaillés. + diff --git a/docs/api_json_spec.md b/docs/api_json_spec.md index 51f27bb..3cf2bb6 100644 --- a/docs/api_json_spec.md +++ b/docs/api_json_spec.md @@ -112,3 +112,4 @@ - Les messages d'erreur sont informatifs mais ne divulguent pas d'informations sensibles. - Les champs `message` sont destinés à l'humain; ne pas les parser côté client. + diff --git a/docs/architecture.md b/docs/architecture.md index 76d2b83..8823371 100644 --- a/docs/architecture.md +++ b/docs/architecture.md @@ -12,3 +12,4 @@ - Serveur HTTP Tide (routes, état partagé). - Nettoyage périodique (60s) basé sur fichiers `.meta`. + diff --git a/docs/ci_docker_registry.md b/docs/ci_docker_registry.md index 096935e..40fdd9f 100644 --- a/docs/ci_docker_registry.md +++ b/docs/ci_docker_registry.md @@ -10,3 +10,4 @@ Configurer ces secrets dans les paramètres du dépôt (ou de l’organisation) La cible d’image est `DOCKER_REGISTRY/sdk_storage:latest` (et multi-arch si activé). + diff --git a/docs/configuration.md b/docs/configuration.md index 75615f6..c605e15 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -7,3 +7,4 @@ - `RUST_LOG` (optionnel): niveau de logs. - Pour Docker, monter `/app/storage` si persistance souhaitée. + diff --git a/docs/demarrage_rapide.md b/docs/demarrage_rapide.md index 067523a..fbd490c 100644 --- a/docs/demarrage_rapide.md +++ b/docs/demarrage_rapide.md @@ -14,3 +14,4 @@ - Build: `docker build -t sdk_storage:local .` - Run: `docker run --rm -p 8081:8081 -v $PWD/storage:/app/storage sdk_storage:local` + diff --git a/docs/depannage.md b/docs/depannage.md index 002277d..48eec4d 100644 --- a/docs/depannage.md +++ b/docs/depannage.md @@ -11,3 +11,4 @@ ## Healthchecks - Ajouter une route `/health` (évolution possible) ou ping sur `/retrieve` avec clé connue. + diff --git a/docs/developpement.md b/docs/developpement.md index 7c0276b..29f71b8 100644 --- a/docs/developpement.md +++ b/docs/developpement.md @@ -12,3 +12,4 @@ ## Modification de la Configuration - Mettre à jour `docs/configuration.md` et secrets CI/CD. + diff --git a/docs/guides_principaux.md b/docs/guides_principaux.md index df840fc..4ce4992 100644 --- a/docs/guides_principaux.md +++ b/docs/guides_principaux.md @@ -4,3 +4,4 @@ - API: `/store` (POST), `/retrieve/:key` (GET). - Persistance: système de fichiers, sous-dossiers par préfixe de clé. + diff --git a/docs/guides_techniques.md b/docs/guides_techniques.md index 17f39f9..18864a6 100644 --- a/docs/guides_techniques.md +++ b/docs/guides_techniques.md @@ -5,3 +5,4 @@ - Nettoyage: parcours des dossiers, suppression données expirées. - Journalisation: sorties standard, intégration possible avec superviseur. + diff --git a/docs/guides_test.md b/docs/guides_test.md index d97cf5a..d150ba8 100644 --- a/docs/guides_test.md +++ b/docs/guides_test.md @@ -4,3 +4,4 @@ - Tests d'intégration HTTP optionnels via client HTTP. - Stratégies: cas TTL min/max, clés invalides, conflits de clé. + diff --git a/docs/performance.md b/docs/performance.md index 2ee4d16..4f7215d 100644 --- a/docs/performance.md +++ b/docs/performance.md @@ -8,3 +8,4 @@ - Paramétrer la taille des blocs et la stratégie de fsync selon contraintes. - Éviter les collisions de clés, supervision du cleanup TTL. + diff --git a/docs/release_guide.md b/docs/release_guide.md index 63c40e8..8f9a79a 100644 --- a/docs/release_guide.md +++ b/docs/release_guide.md @@ -20,3 +20,4 @@ - Mettre à jour la documentation si nécessaire. - Ouvrir une issue pour les améliorations/retours. + diff --git a/docs/reseau_de_relais.md b/docs/reseau_de_relais.md index 1a44260..8914091 100644 --- a/docs/reseau_de_relais.md +++ b/docs/reseau_de_relais.md @@ -9,3 +9,4 @@ ## Configuration Externe - Ports, sécurité, endpoints à exposer. + diff --git a/docs/tests_monitoring.md b/docs/tests_monitoring.md index b4f353e..2fc1ccd 100644 --- a/docs/tests_monitoring.md +++ b/docs/tests_monitoring.md @@ -8,3 +8,4 @@ - Exposer métriques avec un reverse proxy/sidecar si nécessaire. - Configurer l'orchestrateur pour vérifier périodiquement `/health`. + 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/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" +