Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
3 tasks done
Dragonfly911117 opened this issue Sep 30, 2024 · 1 comment
Open
3 tasks done

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

Dragonfly911117 opened this issue Sep 30, 2024 · 1 comment
Labels

Comments

@Dragonfly911117
Copy link

Dragonfly911117 commented Sep 30, 2024

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all issues/PRs to ensure it has not already been reported or fixed.
  • 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

@g-berthiaume
Copy link
Contributor

g-berthiaume commented Nov 4, 2024

+1
I also think this is broken: glazewm has not been updated since 2024-06-19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants