[flatpak] Prepare CI for publishing to Flathub changes scheduled for November 6th 2023.
Categories
(Thunderbird :: Build Config, task)
Tracking
(Not tracked)
People
(Reporter: b, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fixed by bug 1867428 and CI changes])
+++ This bug was initially created as a clone of Bug #1859510 +++
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/118.0
Steps to reproduce:
There are upcoming Flathub changes that will lock Thunderbird updates from being properly published.
flat-manager-client create needs to specify --build-log-url $URL, where $URL points to the build log of runme.sh. The Docker image used for flat-manager-client will be updated shortly, but the latest version can be also fetched with wget/curl from https://raw.githubusercontent.com/flatpak/flat-manager/master/flat-manager-client.
| Reporter | ||
Comment 1•2 years ago
|
||
The rollout of that change is scheduled in about 3 weeks, on November 6th 2023. I can push it by a week if it helps.
The server-side validation can be replicated as part of your CI by using flatpak-builder-lint tool on the repo archive created by runme.sh. The tool is available in the ghcr.io/flathub/flatpak-builder-lint:latest Docker image, and an example usage looks like this:
flatpak-builder-lint repo /path/to/repo
| Reporter | ||
Comment 2•2 years ago
|
||
Alternatively,
flatpak-builder-lint --exceptions repo /path/to/repo
To better emulate what Flathub will be doing. If there are no errors reported (also indicated by exit status code), it will pass the validation on Flathub's side as well.
Updated•2 years ago
|
Updated•2 years ago
|
Comment 3•2 years ago
|
||
Quickly looking at this, flat-manager-client create is run in the pushflatpak scriptworker. As that infrastructure is shared between Firefox and Thunderbird, there's nothing to do there.
The flatpak-builder-lint piece sounds like it would need to run as an intermediary job between release-flatpak-repackage and the push job run by the scriptworker.
Again, since Firefox has to do this as well I'll sort of defer to see how they handle it.
Comment 4•2 years ago
|
||
Firefox ticket was closed with the https://github.com/mozilla-releng/scriptworker-scripts/pull/861
Comment 5•2 years ago
|
||
Bug 1867428 needs to be fixed, but when it is this bug can close along along with it.
Updated•2 years ago
|
Updated•2 years ago
|
Description
•