Extras icon indicating copy to clipboard operation
Extras copied to clipboard

[Bug]: Wrong URL in glazewm after changes in v3.0

Open Dragonfly911117 opened this issue 5 months ago • 0 comments

Prerequisites

  • [X] I have written a descriptive issue title.
  • [X] I have searched all issues/PRs to ensure it has not already been reported or fixed.
  • [X] I have verified that I am using the latest version of Scoop and corresponding bucket.

Package Name

glazewm

Expected/Current Behaviour

Expecting Scoop to download, install, and update GlazeWM properly. However, due to the URL (installer name) changing since v3.0, Scoop still targets v2.1.1. Additionally, since the team has removed the 32-bit binary, the 32-bit URL should be removed as well.

Steps to Reproduce

PS C:\Users\User\scoop\apps\scoop\current> scoop install glazewm
Installing 'glazewm' (2.1.1) [64bit] from 'extras' bucket
GlazeWM_x64_2.1.1.exe (203.3 MB) [============================================================================] 100%
Checking hash of GlazeWM_x64_2.1.1.exe ... ok.
Linking ~\scoop\apps\glazewm\current => ~\scoop\apps\glazewm\2.1.1
Creating shim for 'GlazeWM'.
Making C:\Users\User\scoop\shims\glazewm.exe a GUI binary.
Creating shortcut for GlazeWM (GlazeWM.exe)
'glazewm' (2.1.1) was installed successfully!
PS C:\Users\User\scoop\apps\scoop\current> bin/checkver -Dir ..\..\glazewm\
manifest: 3.2.0 (scoop version is 2.1.1) autoupdate available

Possible Solution

Change the file bucket/glazewm.json to

@@ -1,16 +1,12 @@
 {
-    "version": "2.1.1",
+    "version": "3.2.0",
     "description": "A tiling window manager for Windows inspired by i3 and Polybar.",
     "homepage": "https://github.com/glzr-io/glazewm",
     "license": "GPL-3.0-only",
     "architecture": {
         "64bit": {
-            "url": "https://github.com/glzr-io/glazewm/releases/download/v2.1.1/GlazeWM_x64_2.1.1.exe#/GlazeWM.exe",
-            "hash": "a534b649cf0076ad024688681ad01cbaf44e23caca1fc46f9a208202ff640c2c"
-        },
-        "32bit": {
-            "url": "https://github.com/glzr-io/glazewm/releases/download/v2.1.1/GlazeWM_x86_2.1.1.exe#/GlazeWM.exe",
-            "hash": "0cbe283e9890b0b465e24196b8525c6c64feb83b4652f5b8985da71668d85827"
+            "url": "https://github.com/glzr-io/glazewm/releases/download/v3.2.0/glazewm-v3.2.0.exe#/glazewm-v3.2.0.exe",
+            "hash": "d5e2f53b3db5c9a53eb3dcf03662e7800650c6cb5513a1eb2852cbe8f2ea5c30"
         }
     },
     "bin": "GlazeWM.exe",
@@ -24,10 +20,7 @@
     "autoupdate": {
         "architecture": {
             "64bit": {
-                "url": "https://github.com/glzr-io/glazewm/releases/download/v$version/GlazeWM_x64_$version.exe#/GlazeWM.exe"
-            },
-            "32bit": {
-                "url": "https://github.com/glzr-io/glazewm/releases/download/v$version/GlazeWM_x86_$version.exe#/GlazeWM.exe"
+                "url": "https://github.com/glzr-io/glazewm/releases/download/v$version/glazewm-v$version.exe#/glazewm-v$version.exe"
             }
         }
     }

Scoop and Buckets Version

PS>scoop --version
Current Scoop version:
859d1db5 (HEAD -> master, tag: v0.5.2, origin/master, origin/HEAD) chore(release): Bump to version 0.5.2 (#6080)

'main' bucket:
fbd80966c (HEAD -> master, origin/master, origin/HEAD) slang: Update to version 2024.13

'extras' bucket:
e4f03398a (HEAD -> master, origin/master, origin/HEAD) skype: Update to version 8.129.0.202

'sysinternals' bucket:
6b2b695 (HEAD -> main, origin/main, origin/HEAD) sysmon: Update to version 15.15

'nonportable' bucket:
ec0e3c91 (HEAD -> master, origin/master, origin/HEAD) vokoscreenng-np: Update to version 4.3.0

'games' bucket:
0fba47508 (HEAD -> master, origin/master, origin/HEAD) stonecutter: Update to version 1.3.5.3

Scoop Config

PS>scoop config

last_update                       scoop_repo                              scoop_branch
-----------                       ----------                              ------------
2024-10-01T00:13:08.9344530+08:00 https://github.com/ScoopInstaller/Scoop master

PowerShell Version

PS>$PSversiontable

Name                           Value
----                           -----
PSVersion                      5.1.22621.4111
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.22621.4111
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Additional Softwares

No response

Dragonfly911117 avatar Sep 30 '24 18:09 Dragonfly911117