mirror of
https://github.com/deunix-educ/aventuriers-des-mots.git
synced 2026-11-26 21:29:42 +01:00
Serve the F-Droid repository at /fdroid/repo as the client expects
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@ Open source project, in development. Current status: version 0.9.4, playable off
|
||||
|
||||
Ready-to-play builds are on the [Releases](https://github.com/deunix-educ/aventuriers-des-mots/releases) page: one archive per platform (Linux, Windows, macOS, Android, ChromeOS/browser) and `SHA256SUMS` to verify the files. These are preview versions: draft educational content and placeholder voices. Each archive contains a `LISEZMOI` file (in French) explaining how to start the game.
|
||||
|
||||
**Android via F-Droid**: in F-Droid (or Droid-ify, Neo Store), Settings > Repositories > Add, enter `https://deunix-educ.github.io/aventuriers-des-mots/repo`, then install "Les Aventuriers des mots". Repository SHA-256 fingerprint, to compare with the one shown by the client:
|
||||
**Android via F-Droid**: in F-Droid (or Droid-ify, Neo Store), Settings > Repositories > Add, enter `https://deunix-educ.github.io/aventuriers-des-mots/fdroid/repo`, then install "Les Aventuriers des mots". Repository SHA-256 fingerprint, to compare with the one shown by the client:
|
||||
|
||||
`87:29:A2:08:FA:21:58:00:A0:44:9B:C7:2C:77:7B:F5:89:CE:83:0C:7F:C3:5D:3B:C6:73:54:5B:B4:8A:A9:05`
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ Projet open source, en développement. Statut actuel : version 0.9.4, jouable ho
|
||||
|
||||
Les versions prêtes à jouer sont sur la page des [Releases](https://github.com/deunix-educ/aventuriers-des-mots/releases) : une archive par plateforme (Linux, Windows, macOS, Android, ChromeOS/navigateur) et `SHA256SUMS` pour vérifier les fichiers. Ce sont des versions préliminaires : contenu pédagogique en brouillon, voix provisoires. Chaque archive contient un fichier `LISEZMOI` qui explique le lancement.
|
||||
|
||||
**Android via F-Droid** : dans F-Droid (ou Droid-ify, Neo Store), Réglages > Dépôts > Ajouter, saisir `https://deunix-educ.github.io/aventuriers-des-mots/repo`, puis installer « Les Aventuriers des mots ». Empreinte SHA-256 du dépôt, à comparer avec celle affichée par le client :
|
||||
**Android via F-Droid** : dans F-Droid (ou Droid-ify, Neo Store), Réglages > Dépôts > Ajouter, saisir `https://deunix-educ.github.io/aventuriers-des-mots/fdroid/repo`, puis installer « Les Aventuriers des mots ». Empreinte SHA-256 du dépôt, à comparer avec celle affichée par le client :
|
||||
|
||||
`87:29:A2:08:FA:21:58:00:A0:44:9B:C7:2C:77:7B:F5:89:CE:83:0C:7F:C3:5D:3B:C6:73:54:5B:B4:8A:A9:05`
|
||||
|
||||
|
||||
@@ -69,7 +69,7 @@ distincte**.
|
||||
**Pour les utilisateurs** (une fois publié)
|
||||
1. Installer F-Droid (f-droid.org) ou un client compatible.
|
||||
2. Réglages > Dépôts > Ajouter un dépôt, saisir
|
||||
`https://deunix-educ.github.io/aventuriers-des-mots/repo`.
|
||||
`https://deunix-educ.github.io/aventuriers-des-mots/fdroid/repo`.
|
||||
3. Vérifier l'empreinte SHA-256 affichée par `make fdroid-repo` (à publier dans
|
||||
le README) pour être sûr de la source ; installer « Les Aventuriers des mots ».
|
||||
|
||||
|
||||
@@ -461,3 +461,5 @@ Les corrections et les dictées CE1/CE2 n'ont pas révélé d'autre problème ;
|
||||
**Dépôt F-Droid personnel (0.9.4)** — mis en place en attendant la réponse d'IzzyOnDroid (voie 2 de `docs/distribution/fdroid.md`). `tools/fdroid_repo.sh` (`make fdroid-repo` / `make fdroid-publish`) construit un dépôt avec `fdroidserver` 2.4.5 à partir de l'APK arm64 de `dist/` (signature de publication d'origine conservée), index signé par une clé de dépôt distincte créée au premier lancement (hors dépôt, droits 600, **à sauvegarder**), trois dernières versions conservées, publication par force-push d'une branche orpheline `gh-pages` servie par GitHub Pages à `https://deunix-educ.github.io/aventuriers-des-mots/repo`. Texte et images localisés repris de `fastlane/`. **Vérifié** : construction locale, index (`index-v1.json`) contenant l'application, sa licence, ses catégories, l'ABI arm64 et le bon certificat de signature. **Non vérifié** : publication, activation de Pages, installation depuis un client F-Droid sur un appareil.
|
||||
|
||||
**Dépôt F-Droid publié (0.9.4)** — branche `gh-pages` poussée, GitHub Pages actif (source `gh-pages`, `/`), dépôt en ligne à `https://deunix-educ.github.io/aventuriers-des-mots/repo` : index et APK servis, APK identique (SHA-256) à celui de `dist/`. Adresse et empreinte de la clé du dépôt ajoutées aux README. **Non vérifié** : ajout et installation depuis un client F-Droid sur un appareil.
|
||||
|
||||
**Adresse du dépôt corrigée (0.9.4)** — le client F-Droid avertit « Repo address might be malformed (missing '/fdroid/repo') » : l'adresse est désormais `https://deunix-educ.github.io/aventuriers-des-mots/fdroid/repo` (dossier `fdroid/repo/` de la branche `gh-pages`). La clé du dépôt, donc l'empreinte, ne change pas ; l'ancienne adresse `/repo` n'existe plus. Anciennes mentions ci-dessus : lire `/fdroid/repo`.
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# (jamais commites). Le fichier genere vit hors du depot.
|
||||
---
|
||||
sdk_path: @SDK@
|
||||
repo_url: https://deunix-educ.github.io/aventuriers-des-mots/repo
|
||||
repo_url: https://deunix-educ.github.io/aventuriers-des-mots/fdroid/repo
|
||||
repo_name: Les Aventuriers des mots
|
||||
repo_description: >-
|
||||
Depot de l'application éducative « Les Aventuriers des mots » (français,
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
# ~/.local/share/aventuriers-des-mots/fdroid-repo.keystore
|
||||
# ~/.config/aventuriers-des-mots/fdroid.env (droits 600)
|
||||
# Publication : branche orpheline gh-pages (force-push, sans historique) servie
|
||||
# par GitHub Pages sur https://deunix-educ.github.io/aventuriers-des-mots/repo
|
||||
# par GitHub Pages sur https://deunix-educ.github.io/aventuriers-des-mots/fdroid/repo
|
||||
set -euo pipefail
|
||||
|
||||
cd "$(dirname "$0")/.."
|
||||
@@ -78,7 +78,7 @@ FPR="$(keytool -list -keystore "${KEYSTORE}" -storepass "${FDROID_KEYSTORE_PASS}
|
||||
echo
|
||||
echo "Depot construit : ${STATE}/repo"
|
||||
echo "Empreinte de la cle du depot (SHA-256) : ${FPR}"
|
||||
echo "Adresse du depot : https://deunix-educ.github.io/aventuriers-des-mots/repo"
|
||||
echo "Adresse du depot : https://deunix-educ.github.io/aventuriers-des-mots/fdroid/repo"
|
||||
|
||||
[ "${PUBLISH}" -eq 1 ] || { echo "(simulation : rien n'est publie ; --publish pour publier)"; exit 0; }
|
||||
|
||||
@@ -87,11 +87,13 @@ echo "== Publication sur la branche gh-pages =="
|
||||
REMOTE_URL="$(git remote get-url origin)"
|
||||
PUB="$(mktemp -d)"
|
||||
trap 'rm -rf "${PUB}"' EXIT
|
||||
cp -r "${STATE}/repo" "${PUB}/repo"
|
||||
# Le client F-Droid attend une adresse se terminant par /fdroid/repo.
|
||||
mkdir -p "${PUB}/fdroid"
|
||||
cp -r "${STATE}/repo" "${PUB}/fdroid/repo"
|
||||
cat > "${PUB}/index.html" <<'HTML'
|
||||
<!doctype html><meta charset="utf-8"><title>Les Aventuriers des mots - dépôt F-Droid</title>
|
||||
<meta http-equiv="refresh" content="0; url=repo/">
|
||||
<a href="repo/">Dépôt F-Droid de Les Aventuriers des mots</a>
|
||||
<meta http-equiv="refresh" content="0; url=fdroid/repo/">
|
||||
<a href="fdroid/repo/">Dépôt F-Droid de Les Aventuriers des mots</a>
|
||||
HTML
|
||||
touch "${PUB}/.nojekyll"
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user