feat(store): list Kieli by default; fix release tag that would overwrite 0.1.7 #15
Loading…
Reference in a new issue
No description provided.
Delete branch "orchestra/sfos-forgejo-store:kieli-default-source"
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?
Makes the Kieli app (
harbour-kieli) appear in the store with no sourceconfiguration, and fixes a publishing bug found while doing it.
1. Kieli as a default release source
donach/harbour-kieliis now inDEFAULT_RELEASE_REPOS(plus aREPO_HARBOUR_NAMESentry for the pre-release stub case), and in the defaultlist used by
rpm/check-orca-catalog.sh.The release asset is
harbour-kieli-1.0.0-1.aarch64.rpm, which the existingpicker handles unchanged —
parseRpmFilenameyields{name:"harbour-kieli", version:"1.0.0-1"}andpreferHarbourRpmmatches theharbour-prefix.2. The release tag was hardcoded to 0.1.7
.forgejo/workflows/harbour-sfos-forgejo-store-rpm.ymlpublished withso any later version would have uploaded its RPM over the 0.1.7 release
rather than creating a new one (and
publish-rpm.shdeletes an existing assetof the same name first, so the old release would have been overwritten in
place). The tag and title now come from the spec's
Version, and the job failsloudly if the spec cannot be read.
3. Housekeeping
Version: 0.1.8→0.1.9; the scaffold check's pinned expectation follows.docs/api.mdlisteddonach/omb-sfostwice; now once.Verification
The aarch64 RPM build is left to CI: it runs on this PR, and on merge it will
publish
harbour-sfos-forgejo-store-v0.1.9.Note for the reviewer
The working tree of the local checkout had an uncommitted 0.1.9 change set
from October (APK release fallback:
src/packageinstaller.*,qml/pages/InstallPage.qml,qml/js/ForgejoApi.js, README/SCOPE). I did nottouch, commit or revert it; this branch is based on
main(0.1.8). That WIPalso bumps the version to 0.1.9, so it will need a rebase/version bump when it
lands.
Ordering note:
donach/harbour-kielidoes not exist yet — the app repository is published but sits under a restricted account, so it is not anonymously readable and has to be transferred todonachfirst. Until then this source resolves 404 and the catalog renders an empty Kieli card (the stub path inMainPage.qml). Merge this after the transfer.Also query
orchestra/harbour-kieliKieli is published from the agent account, which may stay under
orchestraor move todonach. Both paths are now default release sources.mergeAppsfolds them into one card because the RPM name (harbour-kieli) is the key, andmergeReleaseListsdedupes by version — so no duplicate card when both resolve.Stop stubbing a source that fails to load
A 404/401/network failure used to upsert an empty app. That rendered a card for something the user cannot install, and it made a non-public source look like a broken app instead of an absent one. A source that succeeds with zero releases still lists — that is what keeps the store's own repo visible.
Why it matters here
orchestra/harbour-kieliis currently internal (private:false, internal:true), so it 404s anonymously and resolves with a token. With a token in Settings the store lists and downloads it today; the moment the repo is public (transfer todonach) it works anonymously. Without this change the anonymous store showed an empty Kieli card.View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.