Bottles
Bottles copied to clipboard
[Request]: Publish to Flathub with GitHub CI
Tell us the problem or your need
Currently, we're maintaining this repository and com.usebottles.bottles
. Having to maintain both repos and continuously update them separately is annoying.
Describe the solution you'd like
Flathub enables us to publish from our own infra and CI without relying on an external repository. Since we regularly release updates, taking advantage of this would make it easier for us to maintain.
Other solutions?
No response
Additional context and references
OBS Studio did exactly this with GitHub CI: https://github.com/obsproject/obs-studio/pull/5569
I completely agree with you
In my opinion, this is how we should be publishing:
- Each stable release goes to the
stable
branch - Each commit goes to the
beta
branch
Publish a release on every commit may waste Flathub resources. I propose 1 release at night
I'll message on the Flatpak Matrix.
FYI having wanting the same thing, but since tokens are not easily available yet, as a workaround I opted to use a submodule for EasyEffects.
We keep all the dependencies in the submodule, while a copy paste of the main EasyEffects module exists in both upstream and the downstream Flathub repo.
This works decently well since to update Flathub usually only the submodule needs updating (except when updating runtime version). Gnome builder also works correctly with this setup.
I experimented with symlinks but that seems to cause flatpak-builder to not correctly pick up patches that we unfortunately need for some dependencies.
One thing I haven’t figured out is how to automate the updating of the Flathub repo, while I have experimented with submodules in f-e-d-c the problem is there is no syntax to communicate we want every tag from upstream, not say to just send a pr each time a reference file in a submodule changed. But since this is fundamentally just a workaround maybe I will write some GitHub workflow instead.
Good to know
Got this message some time ago: