diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 976e52a..6276438 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -16,8 +16,8 @@ android { targetSdk = 36 // Raised for every build published to the download page (TASK-066), or the app will not // see it as newer. - versionCode = 2 - versionName = "0.2.0" + versionCode = 3 + versionName = "0.2.1" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" } diff --git a/docs/development-log.md b/docs/development-log.md index 41ae470..e716db1 100644 --- a/docs/development-log.md +++ b/docs/development-log.md @@ -1480,3 +1480,14 @@ This is the append-only implementation and handoff record shared by Codex and Cl - Caution: the published APK is the debug build, signed with this PC's debug key. It installs over copies built on this PC; a copy built elsewhere has to be removed first. - Next owner: the product owner, to try the link and the install on the device. + +## 2026-10-12 — TASK-067: source and APK on the team's Gitea + +- Request: the human product owner named the upload address and asked for the APK to be + downloadable from there. +- What changed: TASK-063/064 merged with TASK-065/066; version 0.2.1 (versionCode 3), since the + build differs from the 0.2.0 on the download page; `origin` added; source pushed as `main`; the + APK pushed alone on an `apk` branch as `UBGitea.apk`. +- The repository is public and the product owner chose to publish as is. The in-app update check + still reads the download page's `version.json` (versionCode 2), so 0.2.1 is not offered there. +- Verification: the five required checks pass on the merged branch; 471 unit tests, 0 failures. diff --git a/tasks/067-publish-to-team-gitea.md b/tasks/067-publish-to-team-gitea.md new file mode 100644 index 0000000..3e14fc5 --- /dev/null +++ b/tasks/067-publish-to-team-gitea.md @@ -0,0 +1,52 @@ +# TASK-067: Publish the source and an installable APK to the team's Gitea + +Status: implemented; pushed; download link not yet opened on a device +Owner: Claude +Reviewer: human product owner + +## Outcome + +The repository lives at +`https://gitea.ubisampaju.synology.me/RobotAutomationDevelopment-Dept/Ubisam-MobileGit.git`, and +the APK can be downloaded from a fixed link on its `apk` branch. + +## Scope + +- Included: merging TASK-063/064 with TASK-065/066, version 0.2.1 (versionCode 3), the `origin` + remote, a `main` branch with the source, an `apk` branch holding only `UBGitea.apk`. +- Excluded: the password-protected download page and its `version.json`, which stay as they are. + +## Writable paths + +- `app/build.gradle.kts` +- `tasks/067-publish-to-team-gitea.md` +- `docs/development-log.md` + +## Acceptance criteria + +- [x] The merged branch passes the required checks. +- [x] The upload address is not written in any tracked file except this task and the log; a + change of address needs only `git remote set-url origin `. +- [x] `main` on the remote is the merged source; `apk` holds only the APK, so the source history + carries no binaries. + +## Security and privacy + +The repository is public on the team's Gitea: anyone who can reach the server can read the source +and download the APK without logging in. The product owner chose this (2026-10-12). No secrets are +tracked; `local.properties` and signing keys are not in the repository. The APK is signed with +this PC's debug key. + +## Required checks + +```text +./gradlew compileDebugKotlin compileDebugUnitTestKotlin testDebugUnitTest assembleDebug lintDebug +``` + +## Evidence + +See the development log entry for TASK-067. + +## Review findings + +None.