Commit graph Nostro/.forgejo
Author SHA1 Message Date
1292a6eef1
build(packaging): add the Forgejo workflow that tests and releases
.forgejo/workflows/flatpak.yaml, after imsd-messages' workflow, of whose
packaging scripts make-aarch64-sysroot.sh and build-aarch64.sh are the
counterparts. `check` runs the version check, the tests, the lint and
the aarch64 build of both Flatpaks for a pull request or a run by hand.
`publish` does the same but the lint for a pushed tag X.Y.Z, then
commits the service and the app into the Catcrafts Flatpak repository,
signed with the key on the runner's host, and makes the release on the
forge. A push without a tag runs nothing, so this push does not.

packaging/flatpak/release-version.sh is that app's script for Nostro:
NOSTRO_VERSION in project.cpp against the newest <release> of the app's
metainfo, and for a tag that it is that version, annotated, signed by
the owner as Forgejo verifies it, on master and newer than every
release.

Both files are after ones of imsd-messages, which are Catcrafts' own
and GPL-3.0-only, and are LGPL-3.0-only here, as nostro's packaging is
(design rule 13): a move between licences.

Not run: no runner has had the workflow. It parses as YAML and each of
its steps as shell. release-version.sh was run on this tree without a
tag, where it prints 0.1.0 and renders the notes, and with a tag that
is no version, which it refuses; what it checks of a real tag needs the
forge.

What a first run needs, and did not have on 2026-11-19, is in
AGENTS.template.md under "Releasing": a runner labelled `flatpak` for
this repository, the cache volume allowed in that runner's config, and
Crafter.Graphics' text-input change on the forge as the branch
claude/nostro-app. That change was uncommitted work in one local
checkout that day, so the app could be built nowhere else: the notes
on --graphics= now say so.

Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com>
2026-11-19 16:14:33 +01:00