docs(packaging): say what a run of the workflow needs since the move to Catcrafts/Nostro

The workflow's head and the notes' "Releasing" said a job would wait for a
runner: the repository had been pushed to jorijnvdgraaf/Nostro, which the
organisation's `flatpak` runner does not serve. It was moved to
Catcrafts/Nostro the same day, 2026-11-19, so both now say that it has one.

What the move left open is new in both. The repository became private with
it, and for a tag the release checks read the forge without a login
(packaging/flatpak/release-version.sh, as imsd-messages' do), which a
private repository answers with a 404: it has to be public by the time a
tag is pushed. On 2026-11-21 the forge still answered 404 for it without a
login.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
Jorijn van der Graaf 2026-11-21 06:00:32 +01:00
commit 490ea995e4
Signed by: jorijnvdgraaf
GPG key ID: 2937E59CDCC1BCFB
2 changed files with 7 additions and 5 deletions

View file

@ -21,10 +21,11 @@ name: Flatpak
# enters the forge): the repository and the key Crafter.Build's workflow publishes with. The shared installation is for
# publish jobs only: a pull request's job runs as root in a privileged container and must never reach it.
#
# What the runner has to have before the first run, none of which this file can bring about:
# What a run needs, none of which this file can bring about:
# - Both jobs run on the privileged runner labelled `flatpak` (bubblewrap needs the privilege). That is the Catcrafts
# organisation's, which serves the organisation's repositories: a repository outside it needs that runner, or one
# like it, registered for itself.
# organisation's, which serves the organisation's repositories, of which this is one.
# - The repository is public by the time a tag is pushed: the release checks read the forge without a login, and a
# private repository answers them with a 404.
# - The runner's config has to allow the four volumes of `publish`, of which crafter-flatpak-nostro-cache is new.
# - The app is built against a Crafter.Graphics checkout for as long as project.cpp takes one (--graphics=): the
# branch $GRAPHICS_REF has to be on the forge. Once project.cpp names Crafter.Graphics at a commit itself, the

View file

@ -176,9 +176,10 @@ The app's packaging: `--packaging=flatpak` makes `bin/nostro-app-<variant>/files
A release is a tag, as it is for Crafter.Build and imsd-messages: a push without one runs nothing. `packaging/flatpak/release-version.sh` holds `NOSTRO_VERSION` in `project.cpp` to the newest `<release>` of the app's metainfo, whose description is the release notes. For a tag it also checks that the tag is that version, annotated, signed by the owner as Forgejo verifies it, on master, and newer than every release there is. So a release is: bump both, commit, `git tag -s X.Y.Z -m 'Nostro X.Y.Z'`, and push master and the tag together.
The workflow was written on 2026-11-19 and pushed without having run once: its first run is its test. What it needs, and did not have that day:
The workflow was written on 2026-11-19 and pushed without having run once: its first run is its test. What it needs, and how each stood that day:
- A runner. The `flatpak` runner is the Catcrafts organisation's and serves that organisation's repositories, and the repository was pushed to `jorijnvdgraaf/Nostro`. There a job waits until a runner with that label is registered for the repository, or the repository is moved.
- A runner, which it has. The `flatpak` runner is the Catcrafts organisation's and serves that organisation's repositories. The repository was first pushed to `jorijnvdgraaf/Nostro`, where no runner would have taken a job, and was moved to `Catcrafts/Nostro` the same day.
- The repository public by the time a tag is pushed. The release checks read the forge without a login, as imsd-messages' do, and a private repository answers them with a 404. After the move it was private.
- The runner's config has to allow the four volumes `publish` mounts. Three are the ones imsd-messages' job mounts; `crafter-flatpak-nostro-cache` is new.
- Crafter.Graphics' text-input change on the forge, as the branch the workflow's `GRAPHICS_REF` names ("Dev environment"). Until then the app's build fails in the step that fetches it, and with it both jobs.