diff options
| author | Tom Cooks <tommasogagliardi+github@gmail.com> | 2026-10-15 08:55:07 -0400 |
|---|---|---|
| committer | Tom Cooks <tommasogagliardi+github@gmail.com> | 2026-10-15 08:55:07 -0400 |
| commit | 9e93a00b384019f4c9c01c4914972adc2d264a85 (patch) | |
| tree | 1473091091b97249548417cb2ac1f0c05593eafe | |
| parent | e3fd5fa6eac03af2dfd994dbefdd40bf50a50338 (diff) | |
| download | reccoon-9e93a00b384019f4c9c01c4914972adc2d264a85.tar.gz | |
Add F-Droid/release handoff notes
| -rw-r--r-- | FDROID.md | 93 |
1 files changed, 93 insertions, 0 deletions
diff --git a/FDROID.md b/FDROID.md new file mode 100644 index 0000000..ba6c826 --- /dev/null +++ b/FDROID.md @@ -0,0 +1,93 @@ +# RECCoon — F-Droid submission and release notes + +This file is a handoff/runbook. The git log covers the code changes; this covers +everything around the F-Droid submission that is not in the code. + +## Status + +- App: **RECCoon**, application id `com.tomcooks.reccoon`, version **1.0.0** + (versionCode 1). +- Source: <https://git.tomcooks.com/reccoon> (cgit; push over SSH as `wuhei`). +- F-Droid MR: <https://gitlab.com/fdroid/fdroiddata/-/merge_requests/51981> + ("mostly ready", waiting for F-Droid's own test; pipeline is green). +- Release tag: `v1.0.0` → `4b237348a7e7b026e43353d8ea48f8a01ecedae3`. +- Signed APK: `releases/RECCoon-1.0.0.apk`, served at + <https://git.tomcooks.com/reccoon/plain/releases/RECCoon-1.0.0.apk>. +- fdroiddata metadata (reference copy): `f-droid/com.tomcooks.reccoon.yml`. + +## Signing key — DO NOT LOSE + +- Keystore: `/home/wuhei/dev/reccoon-keystore/reccoon-release.jks`, alias `reccoon`. +- Password: in `/home/wuhei/dev/reccoon-keystore/README-BACKUP.txt` and the + git-ignored `/home/wuhei/dev/reccoon/keystore.properties`. +- Certificate SHA-256 (the value in `AllowedAPKSigningKeys`): + `98ae9f44c34702e9e65bdc6b5bd7098936566be18ac19f96a9eab3dd66347f00`. +- Backed up to KeePassDX on the phone (attachment + password in the entry). +- Losing this key means no more updates under the same app id. + +## Releasing a new version + +1. Bump `versionCode` / `versionName` in `app/build.gradle.kts`. +2. `./tools/build-release.sh` — builds an **unsigned** release, signs it + v2/v3-only with preserved alignment, and writes `releases/RECCoon-<v>.apk` + (also copied to `dist/`). +3. `git add -A && git commit`, then tag `v<version>` and push `main` + the tag: + `git tag -a v1.0.1 -m "RECCoon 1.0.1" && git push origin main v1.0.1`. +4. Update `commit:` in `f-droid/com.tomcooks.reccoon.yml` to the new tag hash and + push it to the fdroiddata MR (edit the file on branch `reccoon`), or run + `./tools/submit-to-fdroid.sh` if starting a fresh MR. +5. Comment on the MR and ask `linsui` to re-trigger the pipeline. + +## Signing / build gotchas (why it is set up this way) + +These caused real pipeline failures; do not undo them. + +- **AGP adds a "Dependency metadata" (PKDS) signing block** that F-Droid's scanner + rejects. Therefore the release is built **unsigned** and signed afterward with + the SDK `apksigner` (`tools/build-release.sh`). +- **`META-INF/version-control-info.textproto`** embeds the git revision and breaks + reproducibility. Disabled with `buildTypes.release.vcsInfo { include = false }`. +- **v1/JAR signing** adds `META-INF/*.SF`/`*.RSA` and changes the bytes. Sign + **v2/v3 only** (`--v1-signing-enabled false`). +- **apksigner re-aligns the ZIP by default**, changing the bytes. Use + `--alignment-preserved`. +- **Push the tag** to the source repo — `checkupdates` fails with "No tags found" + otherwise. +- fdroiddata needs **`subdir: app`** and a **full commit hash** in `commit:`. +- **R8** is enabled with keep rules for the sherpa-onnx JNI classes and custom + views (`app/proguard-rules.pro`). +- The app id was renamed from `com.wuhei.reccoon`; the app prefers the + app-specific external model folder and best-effort migrates the old one. + +## Review feedback addressed (MR !51981) + +- `POST_NOTIFICATIONS` is now requested on Android 13+ (recording/download + notifications were silent). +- Model download wording changed from "over Wi-Fi" to "over the internet". +- Parakeet model download pinned to a fixed Hugging Face revision. +- `NonFreeNet` anti-feature added, with an `en-US` reason. + +Open, offered but not done: metered-connection check, SHA-256 model validation +(currently size-only), and cleaning the stale `cache/reccoon_recording.wav` after a +recording that is killed mid-way. + +## Merge-request helper + +- `tools/submit-to-fdroid.sh` forks `fdroid/fdroiddata`, adds the metadata on a + branch and opens the MR. It reads a GitLab token from `~/.config/gitlab-token` + (never committed). Revoke the token when done. +- The fork's own CI cannot run jobs (GitLab identity verification); F-Droid's + maintainers trigger the real pipeline. The fork CI is currently disabled to + avoid empty-pipeline notification noise. + +## Model / evaluation notes + +- The app now ships **only** the NVIDIA Parakeet v3 model (Whisper removed). +- Evaluation harness and results (Whisper vs Parakeet vs Whistle): + `tools/whistle-eval/README.md`. +- Desktop model download/side-loading: `tools/download-parakeet.sh`. + +## Also done while waiting (goodwill for the queue) + +Smoke-tested and commented on: Box Breathing `!51970`, Sun Piano `!52095`, +Zahlenschatzjagd `!52111`. |
