Open cbm755 opened 7 months ago
docker run --rm -it ghcr.io/flathub/flatpak-builder-lint:latest
(from https://github.com/flathub-infra/flatpak-builder-lint)
The linter is specific to Flathub and contains overrides and patches to appstream, specific to Flathub.
If you want it for testing Flathub deployments, use it. If the goal is to mirror upstream behaviour then it's probably not the thing you want.
Of course we could provide a Docker container, but TBH, using the Flatpak would be way less "heavy"... In the past there was a PPA with up-to-date AppStream, that would - for the GitHub CI - probably be the easiest option.
I use the Archlinux Image, as it always have the latest version of AppStream
org.freedesktop.appstream.cli
. Here's an example of thishttps://github.com/gnu-octave/octave-doctest/pull/287/files
But that feels a bit "heavy".
On GitLab I can use any containers I want, so I simply choose one with appstream >= 1, such as:
fedora:40
image which has appstreamcli >= 1.alpine
currently has 0.16.3 but will probably soon have 0.16.4. Example of the alpine here: https://gitlab.com/plom/plom/-/merge_requests/2540