altair-graphql / altair

โœจโšก๏ธ A feature-rich GraphQL Client for all platforms.
https://altairgraphql.dev
MIT License
5.11k stars 315 forks source link

[Wishlist]: Add Flatpak as alternative to Snaps for Linux #649

Open polarathene opened 5 years ago

polarathene commented 5 years ago

Just adding a wishlist issue here for Flatpak packaging for Linux distribution. If it garners enough thumbs up from others maybe it can also be supported?

welcome[bot] commented 5 years ago

๐Ÿ‘‹๐ŸพThanks for opening your first issue here! Be sure to follow the issue template! โœŒ๐Ÿพ

imolorhe commented 5 years ago

Hey @polarathene,

I am not aware of any standard way of deploying flatpak packages from CI (but there is a travis snap provider for publishing snaps). If you can show a way to publish electron builds as flatpak through a CI job, then I would be more than happy to make your wish come true. ๐Ÿ˜Š

polarathene commented 5 years ago

Yeah I understand. I have setup my own electron app with CI since and supporting snap is no problem, but flatpak wasn't supported by electron-builder.

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

acao commented 1 year ago

would love to help revisit this now that electron-builder supports flatpak!

shall I open a new ticket?

imolorhe commented 1 year ago

Reopened the issue! ๐Ÿ™‚

acao commented 1 year ago

awesome ty! #1966 would be an open duplicate of this ticket, it would seem

looking into it further, generating a .flatpak build will be possible with electron-builder and flatpak-builder, however publishing to flathub or other repositories might be a bit trickier. it appears it requires pushing to a standalone configuration git repository in the flathub org that contains some of the manifests. the submission guidelines to get set up appear to be relatively involved.

the other electron-builder publishing modules appear to interface with both HTTP apis and CLIs programmatically, however none of them involve working with an external git repository. The current electron builder support for flatpak bundles the manifests & such to a single file, so publishing to flathub is currently ruled out which requires seperate files for manifest/etc in a repository.

imolorhe commented 1 year ago

Did some browsing around. It seems the packaging/publishing experience for flatpak files is not great. However like you mentioned, building the .flatpak build files should be possible.

I would have expected that the publishing pipeline would have some support for github releases or maybe even using a github repository as the flatpak repository, but that doesn't seem to be possible.