ScoopInstaller / Main

📦 The default bucket for Scoop.
https://scoop.sh
The Unlicense
1.54k stars 921 forks source link

[Bug]: Grails CLI has moved. CLI is now in grails-forge (not in grails-core anymore). #5763

Open Mmagoo95 opened 2 months ago

Mmagoo95 commented 2 months ago

Prerequisites

Package Name

Grails

Expected/Current Behaviour

"url": "https://github.com/grails/grails-core/releases/download/v6.2.0/grails-6.2.0.zip",
"hash": "c2e7c0aa55a18bf07f0b0fba493c679261c4dd88cfa4a60fd6e142081aec616e",
"extract_dir": "grails-6.2.0",

In this package there is no file called bin\grails.bat anymore. The CLI has been moved by the Grails software developpers.

Steps to Reproduce

grails: 6.1.2 -> 6.2.0
Updating one outdated app:
Updating 'grails' (6.1.2 -> 6.2.0)
Downloading new version
Starting download with aria2 ...
Download: Download Results:
Download: gid   |stat|avg speed  |path/URI
Download: ======+====+===========+=======================================================
Download: 49276f|OK  |    10MiB/s|D:/SCOOP/cache/grails#6.2.0#https_github.com_grails_grails-core_releases_download_v6.2.0_grails-6.2.0.zip
Download: Status Legend:
Download: (OK):download completed.
Checking hash of grails-6.2.0.zip ... ok.
Uninstalling 'grails' (6.1.2)
Removing shim 'grails'.
Removing shim 'grails.cmd'.
Unlinking D:\SCOOP\apps\grails\current
Installing 'grails' (6.2.0) [64bit] from 'main' bucket
Loading grails-6.2.0.zip from cache.
Extracting grails-6.2.0.zip ... done.
Linking D:\SCOOP\apps\grails\current => D:\SCOOP\apps\grails\6.2.0
Creating shim for 'grails'.
Get-Command: D:\SCOOP\apps\scoop\current\lib\install.ps1:783
Line |
 783 |              $bin = (Get-Command $target).Source
     |                      ~~~~~~~~~~~~~~~~~~~
     | The term 'bin\grails.bat' is not recognized as a name of a cmdlet, function, script file, or executable program.
     | Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Can't shim 'bin\grails.bat': File doesn't exist.

Possible Solution

"url": "https://github.com/grails/grails-forge/releases/download/v6.2.0/grails-cli-6.2.0.zip", 
"hash": "de6eaa4389ce4cb08081e219f8838b6cb1a0445c8e6a4dd66cb4cc2fa7652776", 
"extract_dir": "grails-cli-6.2.0",

Scoop and Buckets Version

PS7 SCOOP> scoop --version
Current Scoop version:
d285bb08 (HEAD -> master, tag: v0.4.1, origin/master, origin/HEAD) chore(release): Bump to version 0.4.1 (#5924)

'main' bucket:
ab69a80bb (HEAD -> master, origin/master, origin/HEAD) quarkus-cli: Update to version 3.9.5

'extras' bucket:
7c216b392 (HEAD -> master, origin/master, origin/HEAD) xpipe: Update to version 9.0

'versions' bucket:
ba59f6179 (HEAD -> master, origin/master, origin/HEAD) joplin-pre: Update to version 3.0.6

'java' bucket:
469998e8 (HEAD -> master, origin/master, origin/HEAD) zulufx8-jre: Update to version 8.78.0.19

Scoop Config

PS7 SCOOP> scoop config

alias                           : @{s=scoop-s; i=scoop-i; c=scoop-c; u=scoop-u; ls=scoop-ls}
aria2-max-connection-per-server : 2
aria2-min-split-size            : 10M
aria2-warning-enabled           : False
aria2-enabled                   : True
last_update                     : 27/04/2024 18:50:31
scoop_branch                    : master
scoop_repo                      : https://github.com/ScoopInstaller/Scoop

PowerShell Version

PS7 SCOOP> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.4.2
PSEdition                      Core
GitCommitId                    7.4.2
OS                             Microsoft Windows 10.0.22631
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Additional Softwares

No response