Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
polarathene opened this issue Mar 14, 2019 · 8 comments
Open

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

polarathene opened this issue Mar 14, 2019 · 8 comments

Comments

@polarathene
Copy link

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
Copy link

welcome bot commented Mar 14, 2019

👋🏾Thanks for opening your first issue here! Be sure to follow the issue template! ✌🏾

@imolorhe
Copy link
Collaborator

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
Copy link
Author

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
Copy link

stale bot commented Jul 11, 2019

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.

@stale stale bot added the wontfix label Jul 11, 2019
@stale stale bot closed this as completed Jul 18, 2019
@acao
Copy link

acao commented Jan 16, 2023

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

shall I open a new ticket?

@imolorhe imolorhe reopened this Jan 16, 2023
@imolorhe
Copy link
Collaborator

Reopened the issue! 🙂

@acao
Copy link

acao commented Jan 16, 2023

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
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants