chore: check patches against stored APKs in CI and keep the store filled #126
No reviewers
Labels
No labels
area/architecture
area/build-ci
area/bytecode
area/code-quality
area/docs
area/extension
area/fingerprint
area/security
area/tests
Bug report
Feature request
review
sev/low
sev/medium
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
midas/midas-patches!126
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "review/79-apk-store"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #79 (last open item of #105).
midas-apks(anonymous access: 401).scripts/apk-store.sh exists|fetch|upload: upload verifies the signers first (check-patches.sh -V -x) and stores only the repacked original APKs; a 409 with identical content counts as success.ci.ymlgets apatch-checkjob (needsbuild, reuses its .mpp): on PRs de Volkskrant, Tubantia and Videoland (all stored tested versions, phone + TV), on pushes to dev/main every package. Runs only when patch-relevant files changed; exit 1 = a patch failed, exit 2 = no verdict; a selected package with nothing stored fails; withoutAPK_STORE_TOKENit warns and skips.app-update-check: a new version that applies is uploaded to the store before its bump PR is opened (APK_STORE_WRITE_TOKEN; dry runs never upload); dispatch inputseed_storefills the store for packages whose APKPure version equals the newest tested version.Verified locally:
bash -n; real server with a fake token gives clean 401s; a zipped Gelderlander 9.21.1 split set verifies; mock store end-to-end (upload, re-upload, patch-check 15 Applied, seed dry run); buildAndroid + unit tests. Not verified: the workflow on Forgejo with real secrets (needs the owner's tokens).🤖 Generated with Claude Code