Adopt the cc.tiredsysadmin namespace and a Makefile entrypoint (v0.22.0)

Brings the project in line with CLAUDE.md:

- Application id / namespace is now cc.tiredsysadmin.android.sizzle
  (cc.tiredsysadmin.<os>.<application>), including the two JNI symbols in
  native_audio.cpp — JNI resolves by mangled package path, so renaming the
  package alone would fail at runtime, not at build time.
- Versions move to versions.properties at the repo root, read by both Gradle
  and the Makefile, with slots for the other platforms. The release APK name
  now derives from applicationId instead of being spelled out.
- Makefile becomes the build/publish entrypoint: atomic targets with real
  dependencies (deps, check, staging, release, install, dist, bump-*), and a
  manual-only publish split into publish-apk / publish-metadata, which also
  regenerates the F-Droid metadata from versions.properties.
- Annotate the two lint errors in MainActivity that this surfaced
  (ComponentActivity.dispatchKeyEvent's LIBRARY_GROUP_PREFIX restriction,
  media3's UnstableApi) so `make check` is green rather than advisory.
- Document identity, versioning, build types and publishing in the handover
  doc; point the README at make.

NOTE: the id change makes this a different app to Android and to F-Droid.
Installs of space.rcmd.android.sizzle will not be upgraded by it and will sit
side by side with the new one.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Reactorcoremeltdown
2026-11-03 16:54:48 +01:00
co-authored by Claude Opus 5
parent 924b84a4d5
commit fdee7853e5
85 changed files with 734 additions and 385 deletions
+10 -2
View File
@@ -41,11 +41,19 @@ download an importable `.zip`).
Open the project in **Android Studio** (2024.1+) and Run on an **API 26+**
device or emulator.
From the CLI (the Gradle wrapper is committed, so a fresh clone needs no setup):
From the CLI, `make` is the entrypoint (the Gradle wrapper is committed, so a
fresh clone needs no setup):
```
./gradlew assembleDebug
make help # every target, plus the current version
make check # unit tests + lint
make staging # release-like build for on-device testing
make install # adb install -r the staging APK
```
Versions live in `versions.properties` (`make bump-minor` / `bump-patch`), and
`make release` produces the unsigned, F-Droid-named APK. Publishing to the
private F-Droid repo is a separate, manual `make publish`.
## Where to start reading
See **[docs/DEVELOPER_HANDOVER.md](docs/DEVELOPER_HANDOVER.md)** — a from-scratch