[Feature Request] Add snap or Flatpak versions for auto updates
Add snap or Flatpak versions for auto updates. Currently I'm using deb but on every update it needs to download new version manually from the web
For deb-based package managers you can use deb repository from https://github.com/sourcegit-scm/sourcegit?tab=readme-ov-file#how-to-use
Not everyone is using deb-based package managers, so that comment is useless. Flatpaks are universal.
Previous Flatpak issues/comments: #462 https://github.com/sourcegit-scm/sourcegit/pull/479#issuecomment-2352631960
The last attempt: https://github.com/sourcegit-scm/sourcegit/discussions/1561
TL;DR Flatpak is way too cumbersome. I do believe that software packaging should not be a burden for the author, in general software packaging is handled by package maintainers (what author could or couldn't be). Counting previous closed issues and failed attempt, I would not expect Flatpak soon. Maybe @MicrogamerCz can give some update on Flatpak package.
Previous Flatpak issues/comments: #462 #479 (comment)
The last attempt: #1561
TL;DR Flatpak is way too cumbersome. I do believe that software packaging should not be a burden for the author, in general software packaging is handled by package maintainers (what author could or couldn't be). Counting previous closed issues and failed attempt, I would not expect Flatpak soon. Maybe @MicrogamerCz can give some update on Flatpak package.
What about snaps then? it is not as universal as flatpak but still has good features including the auto update
Previous Flatpak issues/comments: #462 #479 (comment)
The last attempt: #1561
TL;DR Flatpak is way too cumbersome. I do believe that software packaging should not be a burden for the author, in general software packaging is handled by package maintainers (what author could or couldn't be). Counting previous closed issues and failed attempt, I would not expect Flatpak soon. Maybe @MicrogamerCz can give some update on Flatpak package.
Nothing new since the last update in the discussion, I haven't had time to look into it
For snap you can request for help at https://forum.snapcraft.io/
I don't use snap but if you can package it then I believe it will be appreciated
A Snap app with classic confinement has much more freedom than a Flatpak app, making it look like a .deb app.
This would probably be the best option.
However, for a Snap app to be allowed to be confined in classic confinement, the developer must submit a request on the Snapcraft forum, and then we'll review whether it's safe to allow classic confinement.
I created an extremely simple snapcraft.yaml file that creates a Snap version with classic confinement using the published deb packages.
https://github.com/Kyuyrii/Test-Snap-Sourcegit/blob/main/snapcraft.yaml
I've made the generated .snap file available here: https://github.com/Kyuyrii/Test-Snap-Sourcegit/releases/tag/2025.36
If you want to install and test it, download the file and use this command: sudo snap install ./sourcegit_2025.36_amd64.snap --dangerous --classic
Thank you very much, @Kyuyrii. As @aikawayataro said, the project welcomes everyone to support distribution for different package management platforms. Currently, this repository only provides .deb, .rpm, and AppImage packages.
Thank you very much, @Kyuyrii. As @aikawayataro said, the project welcomes everyone to support distribution for different package management platforms. Currently, this repository only provides
.deb,.rpm, andAppImagepackages.
In this case, I created the snapcraft.yaml file, but I suppose that SourceGit developers who need to publish this Snap version, since it's a classic Snap, have more access to the system, so it would be necessary to make a request to be able to receive the classic confinement.