chore: declare app updates in the platform lists of Edition and Kubus titles #137
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!137
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "chore/app-update-check-platform-titles"
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?
The app update check's PR step inserted
AppTarget(version = ...)into the title'sConstants<Title>.kt. Edition and Kubus titles have no AppTargets there any more (they live inEDITION_TARGETS/KUBUS_TARGETS), so nothing changed andgit commitfailed with "nothing to commit".declare_versionin.forgejo/scripts/app-update-check.shnow handles three cases:untestedVersions: the PR drops it, or drops the whole argument line when it was the only entry (branchapp-update/<package>-<version>, as before).*Title.ktlist right after the experimental entry, and to theuntestedVersionsof every other title of that platform.app-update/<edition|kubus>-<version>.untestedVersionsnames the version, so a later run gives it its own case-1 PR.Also:
$BASE_BRANCH. Before, the edits stayed in the index and leaked into the next package's branch.untestedVersions = setOf(...)arguments are edited. Any other form fails that package with an error instead of guessing.BINMODE=3).Tested on a scratch clone, with the report step's API calls and push stubbed:
untestedVersions, and De Gelderlander's set becomes("9.23.0", "9.22.0")only when it did not pass.Not tested: a real run in CI. The PR API call needs
jq, which Git Bash doesn't have.🤖 Generated with Claude Code