feat(store): list Kieli by default; fix release tag that would overwrite 0.1.7 #15

Open
orchestra wants to merge 2 commits from orchestra/sfos-forgejo-store:kieli-default-source into main
First-time contributor

Makes the Kieli app (harbour-kieli) appear in the store with no source
configuration, and fixes a publishing bug found while doing it.

1. Kieli as a default release source

donach/harbour-kieli is now in DEFAULT_RELEASE_REPOS (plus a
REPO_HARBOUR_NAMES entry for the pre-release stub case), and in the default
list used by rpm/check-orca-catalog.sh.

The release asset is harbour-kieli-1.0.0-1.aarch64.rpm, which the existing
picker handles unchanged — parseRpmFilename yields
{name:"harbour-kieli", version:"1.0.0-1"} and preferHarbourRpm matches the
harbour- prefix.

2. The release tag was hardcoded to 0.1.7

.forgejo/workflows/harbour-sfos-forgejo-store-rpm.yml published with

RELEASE_TAG="harbour-sfos-forgejo-store-v0.1.7"
RELEASE_TITLE="harbour-sfos-forgejo-store 0.1.7 (aarch64 harbour)"

so any later version would have uploaded its RPM over the 0.1.7 release
rather than creating a new one (and publish-rpm.sh deletes an existing asset
of 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 fails
loudly if the spec cannot be read.

3. Housekeeping

  • Version: 0.1.8 → 0.1.9; the scaffold check's pinned expectation follows.
  • docs/api.md listed donach/omb-sfos twice; now once.

Verification

scripts/check-harbour-sfos-forgejo-store-scaffold.sh   PASSED
rpm/check-aarch64.sh                                   OK
rpm/check-update-compare.sh                            OK
node --check (ForgejoApi.js, .pragma stripped)          OK
parseRpmFilename('harbour-kieli-1.0.0-1.aarch64.rpm')  {"name":"harbour-kieli","version":"1.0.0-1"}

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 not
touch, commit or revert it; this branch is based on main (0.1.8). That WIP
also bumps the version to 0.1.9, so it will need a rebase/version bump when it
lands.

Makes the **Kieli** app (`harbour-kieli`) appear in the store with no source configuration, and fixes a publishing bug found while doing it. ## 1. Kieli as a default release source `donach/harbour-kieli` is now in `DEFAULT_RELEASE_REPOS` (plus a `REPO_HARBOUR_NAMES` entry for the pre-release stub case), and in the default list used by `rpm/check-orca-catalog.sh`. The release asset is `harbour-kieli-1.0.0-1.aarch64.rpm`, which the existing picker handles unchanged — `parseRpmFilename` yields `{name:"harbour-kieli", version:"1.0.0-1"}` and `preferHarbourRpm` matches the `harbour-` prefix. ## 2. The release tag was hardcoded to 0.1.7 `.forgejo/workflows/harbour-sfos-forgejo-store-rpm.yml` published with ``` RELEASE_TAG="harbour-sfos-forgejo-store-v0.1.7" RELEASE_TITLE="harbour-sfos-forgejo-store 0.1.7 (aarch64 harbour)" ``` so any later version would have uploaded its RPM **over the 0.1.7 release** rather than creating a new one (and `publish-rpm.sh` deletes an existing asset of 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 fails loudly if the spec cannot be read. ## 3. Housekeeping - `Version: 0.1.8` → `0.1.9`; the scaffold check's pinned expectation follows. - `docs/api.md` listed `donach/omb-sfos` twice; now once. ## Verification ``` scripts/check-harbour-sfos-forgejo-store-scaffold.sh PASSED rpm/check-aarch64.sh OK rpm/check-update-compare.sh OK node --check (ForgejoApi.js, .pragma stripped) OK parseRpmFilename('harbour-kieli-1.0.0-1.aarch64.rpm') {"name":"harbour-kieli","version":"1.0.0-1"} ``` 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 not touch, commit or revert it; this branch is based on `main` (0.1.8). That WIP also bumps the version to 0.1.9, so it will need a rebase/version bump when it lands.
feat(store): list Kieli by default; fix the release tag that would overwrite 0.1.7
Some checks failed
harbour-sfos-forgejo-store-rpm / gate (pull_request) Has been cancelled
harbour-sfos-forgejo-store-rpm / build (pull_request) Has been cancelled
harbour-sfos-forgejo-store-rpm / build-blocked (pull_request) Has been cancelled
4e909c65be
Adds donach/harbour-kieli to the default release sources, so the Kieli app
appears in the catalog with no source configuration.

Also fixes a real publishing bug: the CI publish step hardcoded
RELEASE_TAG=harbour-sfos-forgejo-store-v0.1.7, so releasing 0.1.8 or 0.1.9
would have uploaded the new RPM over the 0.1.7 release instead of creating a
new one. The tag and title now come from the spec's Version.

Version 0.1.8 -> 0.1.9. Removes a duplicated donach/omb-sfos in docs/api.md.
Author
First-time contributor

Ordering note: donach/harbour-kieli does 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 to donach first. Until then this source resolves 404 and the catalog renders an empty Kieli card (the stub path in MainPage.qml). Merge this after the transfer.

Ordering note: `donach/harbour-kieli` does 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 to `donach` first. Until then this source resolves 404 and the catalog renders an empty Kieli card (the stub path in `MainPage.qml`). **Merge this after the transfer.**
feat(store): also query orchestra/harbour-kieli; skip unreadable sources
Some checks are pending
harbour-sfos-forgejo-store-rpm / gate (pull_request) Blocked by required conditions
harbour-sfos-forgejo-store-rpm / build (pull_request) Blocked by required conditions
harbour-sfos-forgejo-store-rpm / build-blocked (pull_request) Blocked by required conditions
fb9d3028b3
Kieli is published from the agent account, which may stay under `orchestra`
or move to `donach`. Both paths are now default release sources; mergeApps
folds them into one card because the RPM name (harbour-kieli) is the key and
mergeReleaseLists dedupes by version.

Also stops stubbing a release source that fails to load. A 404/401 used to
render an empty card for an app that cannot be installed — and it made a
restricted-owner source look like a broken app instead of an absent one. A
source that succeeds with zero releases still lists, which is what keeps the
store's own repo visible.

With a token configured (Settings), the orchestra source resolves too; without
one it 404s and is now silently skipped.
Author
First-time contributor

Also query orchestra/harbour-kieli

Kieli is published from the agent account, which may stay under orchestra or move to donach. Both paths are now default release sources. mergeApps folds them into one card because the RPM name (harbour-kieli) is the key, and mergeReleaseLists dedupes 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-kieli is 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 to donach) it works anonymously. Without this change the anonymous store showed an empty Kieli card.

### Also query `orchestra/harbour-kieli` Kieli is published from the agent account, which may stay under `orchestra` or move to `donach`. Both paths are now default release sources. `mergeApps` folds them into one card because the RPM name (`harbour-kieli`) is the key, and `mergeReleaseLists` dedupes 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-kieli` is 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 to `donach`) it works anonymously. Without this change the anonymous store showed an empty Kieli card.
Some checks are pending
harbour-sfos-forgejo-store-rpm / gate (pull_request) Blocked by required conditions
harbour-sfos-forgejo-store-rpm / build (pull_request) Blocked by required conditions
harbour-sfos-forgejo-store-rpm / build-blocked (pull_request) Blocked by required conditions
This pull request has changes conflicting with the target branch.
  • .forgejo/workflows/harbour-sfos-forgejo-store-rpm.yml
  • README.md
  • docs/SCOPE.md
  • docs/api.md
  • qml/js/ForgejoApi.js
  • rpm/check-orca-catalog.sh
  • rpm/harbour-sfos-forgejo-store.spec
  • scripts/check-harbour-sfos-forgejo-store-scaffold.sh
Some workflows are waiting to be reviewed.
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.
git fetch -u kieli-default-source:orchestra-kieli-default-source
git switch orchestra-kieli-default-source

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.

git switch main
git merge --no-ff orchestra-kieli-default-source
git switch orchestra-kieli-default-source
git rebase main
git switch main
git merge --ff-only orchestra-kieli-default-source
git switch orchestra-kieli-default-source
git rebase main
git switch main
git merge --no-ff orchestra-kieli-default-source
git switch main
git merge --squash orchestra-kieli-default-source
git switch main
git merge --ff-only orchestra-kieli-default-source
git switch main
git merge orchestra-kieli-default-source
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
donach/sfos-forgejo-store!15
No description provided.