diff --git a/.forgejo/workflows/flatpak.yaml b/.forgejo/workflows/flatpak.yaml index 1238c48..bf7153a 100644 --- a/.forgejo/workflows/flatpak.yaml +++ b/.forgejo/workflows/flatpak.yaml @@ -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 diff --git a/AGENTS.template.md b/AGENTS.template.md index 939c2fc..e4c19e7 100644 --- a/AGENTS.template.md +++ b/AGENTS.template.md @@ -176,9 +176,10 @@ The app's packaging: `--packaging=flatpak` makes `bin/nostro-app-/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 `` 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.