ScoopInstaller / Versions

📦 A Scoop bucket for alternative versions of apps.
https://scoop.sh
The Unlicense
212 stars 202 forks source link

About splitting golang versions #619

Open lqllife opened 2 years ago

lqllife commented 2 years ago

Hi awesome scoop developers. golang has multiple small versions, such as 1.19, 1.18, 1.17, etc, when I install from scoop, I can only get the lastest one, it's no convenient for installing different versions at the same time. can you split golang by versions like php, such as go1.19, go1.18, go1.17, etc. thanks!

rashil2000 commented 2 years ago

Have you tried scoop install go@1.17?

lqllife commented 2 years ago

Have you tried scoop install go@1.17?

Yes, 1.17 Installation directory is the same with go lastest, the current link to 1.17 folder, but 1.17 also has some subversions, when go released a new subversions, scoop can't update.

I hope you can split golang versions like php, every subversion can be updated by scoop update *.

PS D:\SoftWares\Scoop\> scoop list php               
Installed apps matching 'php':

Name  Version Source   Updated             Info
----  ------- ------   -------             ----
php   8.1.9   main     2022-08-23 10:35:46
php72 7.2.34  versions 2022-08-23 11:51:26
php73 7.3.33  versions 2022-08-23 11:47:13
php74 7.4.30  versions 2022-08-23 10:55:46
PS D:\SoftWares\Scoop> scoop list go 
Installed apps matching 'go':

Name    Version Source           Updated             Info
----    ------- ------           -------             ----
go      1.17    <auto-generated> 2022-08-23 13:48:51
PS D:\SoftWares\Scoop\apps\go> dir

    Directory: D:\SoftWares\Scoop\apps\go

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d----         2022/8/23  1:48 pm                1.17
d----         2022/8/16  3:46 pm                1.17.13
d----         2022/8/16 11:42 am                1.18.5
d----         2022/8/16 11:42 am                1.19
l-r--         2022/8/23  1:48 pm                current -> D:\SoftWares\Scoop\apps\go\1.17