From 32669ae039a011efb972a3919128359aaf8b3d6a Mon Sep 17 00:00:00 2001 From: Kazeia Team Date: Thu, 11 Jun 2026 15:45:03 +0200 Subject: [PATCH] =?UTF-8?q?docs:=20emplacement=20Nextcloud=20du=20tarball?= =?UTF-8?q?=20jniLibs=20+=20recette=20clone=E2=86=92build=20compl=C3=A8te?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.8 --- docs/RELEASE_SIGNING.md | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/docs/RELEASE_SIGNING.md b/docs/RELEASE_SIGNING.md index 8d88145..326bbcb 100644 --- a/docs/RELEASE_SIGNING.md +++ b/docs/RELEASE_SIGNING.md @@ -80,8 +80,26 @@ serveur et poste au même endroit) : une copie hors-ligne occasionnelle : tar czf kazeia-keystore-$(date +%Y%m%d).tar.gz -C /opt/Kazeia keystore/ # → USB / coffre ``` -**Sur une nouvelle machine de build** : `git clone` suffit — `keystore/` arrive avec le dépôt. -Vérifier `chmod 600 keystore/credentials.properties`, builder, rien d'autre à configurer. +**Sur une nouvelle machine de build** : `git clone` apporte le code, le keystore ET la +définition des jniLibs (manifest). Mais les **binaires jniLibs** (474 Mo, gitignorés) doivent +être récupérés à part : + +```bash +# 1) code + keystore + manifest +git clone https://git.kazeia.com/Kazeia/kazeia.git /opt/Kazeia && cd /opt/Kazeia +chmod 600 keystore/credentials.properties +# 2) jniLibs (tarball privé sur Nextcloud, auth requise) +curl -u : -o /tmp/jnilibs.tar.gz \ + "https://box.kazeia.com/remote.php/dav/files/kazeia/soft/build-artifacts/kazeia-jnilibs-20260611.tar.gz" +bash kazeia-android/scripts/jnilibs.sh import /tmp/jnilibs.tar.gz # extrait + verify +# 3) build +cd kazeia-android && ./gradlew :app:assembleRelease +``` + +Le tarball jniLibs vit dans `soft/build-artifacts/` (dossier Nextcloud auth-protégé, NON +référencé par le catalogue → jamais servi à l'app). À régénérer après tout changement de +libs : `jnilibs.sh export` → re-uploader. La version (date dans le nom) doit correspondre au +`jnilibs.MANIFEST.sha256` du commit. ## 5. Scénarios de panne