sourcegit-scm / sourcegit

Windows/macOS/Linux GUI client for GIT users
MIT License
602 stars 65 forks source link

[FEATURE] Windows installer and Package management etc. Winget / Choco #175

Closed tom8zds closed 1 day ago

tom8zds commented 3 weeks ago

need installer for windows or upload to package management like winget or choco, portable release not convinent when upgrade

lgranie commented 2 weeks ago

I have made a scoop manifest https://github.com/ScoopInstaller/Main/pull/5923

LouieTian0209 commented 2 weeks ago

Agreed. Having a standalone installer for Windows would be a lot better, especially since there are already deb and rpm packages for Linux.

gadfly3173 commented 5 days ago

I tried to create a manifest for a winget package: https://github.com/gadfly3173/winget-pkgs/commit/d35d48449f92c2bcfcc756e6fa6ad6fcf49839d9 , but encountered some issues:

I think a standalone installer is helpful to improve the upgrade experience, which is also the form of installation of most GUI tools in winget.

ZaLiTHkA commented 5 days ago

just FYI, searching through the Scoop "apps" list page, I found a user bucket that includes Sourcegit: https://scoop.sh/#/apps?o=false&q=sourcegit

I have made a scoop manifest ScoopInstaller/Main#5923

unfortunately, this PR was closed with a request to reopen it in the "Extras" bucket, but I don't think this has happened yet.


not to imply that a Winget package is not required, just a note to say that an installation path is currently available through Scoop.

love-linger commented 5 days ago

The description for this app in https://scoop.sh/#/apps?o=false&q=sourcegit is Native Kubernetes desktop client..

I've created a new package request to ScoopInstaller/Extra bucket. Hope they can add it to the offical bucket.

ZaLiTHkA commented 5 days ago

The description for this app in scoop.sh/#/apps?o=false&q=sourcegit is Native Kubernetes desktop client..

yeah, I did notice that, it does actually install Sourcegit though..

I've created a new package request to ScoopInstaller/Extra bucket. Hope they can add it to the offical bucket.

awesome.. hopefully that gets a little more visibility to this awesome Git client! :) there aren't many Linux options that come anywhere close to Sourcegit.

tom8zds commented 2 days ago

what about a quick and simple approach by innosetup, just pack the portable into installer

love-linger commented 2 days ago

what about a quick and simple approach by innosetup, just pack the portable into installer

There is no point in providing an installer if you can't solve the problem of automatic upgrades within the installer.

LouieTian0209 commented 2 days ago

what about a quick and simple approach by innosetup, just pack the portable into installer

Only if it won't overwrite existing configs and histories. If innosetup installer can only overwrite/replace project files and leave configs and histories alone, then it makes sense to have it offered as an option for release.

love-linger commented 2 days ago

what about a quick and simple approach by innosetup, just pack the portable into installer

Only if it won't overwrite existing configs and histories. If innosetup installer can only overwrite/replace project files and leave configs and histories alone, then it makes sense to have it offered as an option for release.

But I can't find any advantages that compares to the portable way.

love-linger commented 2 days ago

https://github.com/microsoft/winget-pkgs/pull/160907

love-linger commented 1 day ago

image

Now, users can install this app via

winget install SourceGit

Note: If you have run self-build SourceGit that based on develop branch after tag v8.18, please do NOT install from this way. It's because that after v8.18, the settings of repository has been moved into the repository's git dir. The preference.json modified by it can not be used by the older version, such as release v8.18

love-linger commented 1 day ago

It's installed SourceGit as a command-line tool. You should run it from the console or Win+R at the first time. Then you can add it to taskbar.