A sweep of the export (git archive) against the release leak standard: - Internal ids in comments: a split "(rule 157)", two "RULE 131" headers and a "Preference 172" the id search missed because it was case-sensitive. - Comments that quoted or credited the operator (shuffle caps, mix rotation, player bar layout, ID3v1 table). - Real artists still in the suspect-source fixtures (and the Beck example in its comment): replaced with invented ones in the same file shapes. - "26,171 tracks", a count from a real library, in the plural examples: now 12,345. - Comments pointing at CI files the export leaves out (release.yml, the ci-go image, the Gitea keystore secret, an M8 milestone, .dockerignore history); client/README describes the release image, not the lanes. - renovate.json is export-ignore: it targets the workbench's dev branch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1.5 KiB
Bundled client assets
Holds the Android APK (minstrel.apk) and its version sidecar
(minstrel.apk.version) that the server serves via /api/client/version
and /api/client/apk for the in-app update flow.
Release images
The release build signs the APK, writes its sidecar, and places both here
before the image is built. docker buildx build bakes them into the image
via COPY client/ /app/client/, so a server always offers the app built
alongside it.
The sidecar
minstrel.apk.version is JSON:
{"name": "2026.10.23.1200", "code": 3549060, "channel": "dev"}
nameis the version name the app shows.codeis the ordering key Android installs by.nullmeans unknown, and clients then compare names.channelsays which lane built it.
A sidecar that is not valid JSON, or has no name, is an error rather
than a blank version.
Development
An empty directory works fine: the endpoints return 404 and the Android update banner stays hidden.
To smoke-test the update flow locally, drop a real APK and a sidecar into this directory:
cp /path/to/app-release.apk client/minstrel.apk
echo '{"name":"2099.01.01.0000","code":null,"channel":"dev"}' > client/minstrel.apk.version
Why a directory and not embed.FS?
The APK is 30-60 MB. Embedding bloats the Go binary and slows go build
for everyone, even when the APK isn't being changed. File-on-disk also
lets an admin override it at runtime with a volume mount on
/app/client/ to ship their own build.