sourcegit icon indicating copy to clipboard operation
sourcegit copied to clipboard

[Feature Request] Add snap or Flatpak versions for auto updates

Open alculete opened this issue 3 months ago • 8 comments

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

alculete avatar Sep 22 '25 19:09 alculete

For deb-based package managers you can use deb repository from https://github.com/sourcegit-scm/sourcegit?tab=readme-ov-file#how-to-use

aikawayataro avatar Sep 25 '25 03:09 aikawayataro

Not everyone is using deb-based package managers, so that comment is useless. Flatpaks are universal.

dylanmartinezs avatar Sep 30 '25 06:09 dylanmartinezs

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.

aikawayataro avatar Oct 01 '25 11:10 aikawayataro

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

alculete avatar Oct 02 '25 07:10 alculete

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

MicrogamerCz avatar Oct 02 '25 07:10 MicrogamerCz

For snap you can request for help at https://forum.snapcraft.io/

alculete avatar Oct 03 '25 04:10 alculete

I don't use snap but if you can package it then I believe it will be appreciated

aikawayataro avatar Oct 03 '25 08:10 aikawayataro

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

Kyuyrii avatar Oct 22 '25 05:10 Kyuyrii

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.

love-linger avatar Nov 27 '25 06:11 love-linger

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.

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.

Kyuyrii avatar Dec 01 '25 21:12 Kyuyrii