-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
theia-ide: Add version 1.49.100 #13274
Conversation
All changes look good. Wait for review from human collaborators. theia-ide
|
* Note: checkver returns `1.49.1`, download-url is at `1.49.100` so, used in manifest is `$version00` in hopes that future versions will follow the same pattern. * Version specific download link for theia (for use in `"autoupdate"`) https://projects.eclipse.org/projects/ecd.theia/downloads -> https://download.eclipse.org/theia / ide / latest / windows * Dealing with NSIS pkgs: examples at https://github.com/search via: `user:scoopinstaller path:bucket/*.json "\"extract_dir\": \"$P"` https://github.com/ScoopInstaller/Extras/blob/d48d63f0bf/bucket/android-messages.json#L10-L18 * `checkver: github` from https://github.com/ScoopInstaller/Scoop/wiki/App-Manifest-Autoupdate#special-cases Close: ScoopInstaller#13272
todo:
|
/verify |
All changes look good. Wait for review from human collaborators. theia-ide
|
uh ohw,
so, how to proceed? just to be clear, there's no problem in matching hash of current version; as is evident with the github-actions Details
$ scoop download theia-ide@1.47.1
Updating Scoop...
Updating Buckets...
Scoop was updated successfully!
INFO Downloading 'theia-ide' (1.47.1) [64bit] from svah bucket
WARN Given version (1.47.1) does not match manifest (1.49.1)
WARN Attempting to generate manifest for 'theia-ide' (1.47.1)
Autoupdating theia-ide
DEBUG[1715549772.06301] [$updatedProperties] = [url hash] -> D:\UserFiles\scoop\apps\scoop\current\lib\autoupdate.ps1:465:5
...
DEBUG[1715549772.28056] $substitutions.$baseurl https://download.eclipse.org/theia/ide/1.47.100/windows
...
DEBUG[1715549772.32169] $hashfile_url = https://download.eclipse.org/theia/ide/latest/windows/latest.yml -> D:\UserFiles\scoop\apps\scoop\current\lib\autoupdate.ps1:206:5
Searching hash for TheiaIDESetup-1.47.100.exe in https://download.eclipse.org/theia/ide/latest/windows/latest.yml
DEBUG[1715549773.86048] $regex = sha512: ([a-zA-Z0-9+\/=]{24,88}) -> D:\UserFiles\scoop\apps\scoop\current\lib\autoupdate.ps1:60:9
Found: sha512:a88a979fb1446cf463517377331ed67c78cdb9e2dec70e5d139b1b751883e2cecb20d45f060d9a1a8b30d7fb374d98ddd089e60c071cb5d8fd35819ba06a9156 using Extract Mode
Writing updated theia-ide manifest
Starting download with aria2 ...
Download: [#1e0208 4.2MiB/210MiB(1%) CN:5 DL:228KiB ETA:15m27s]
^C
$ scoop download theia-ide@1.48.3
INFO Downloading 'theia-ide' (1.48.3) [64bit] from svah bucket
WARN Given version (1.48.3) does not match manifest (1.49.1)
WARN Attempting to generate manifest for 'theia-ide' (1.48.3)
Autoupdating theia-ide
DEBUG[1715549842.13152] [$updatedProperties] = [url hash] -> D:\UserFiles\scoop\apps\scoop\current\lib\autoupdate.ps1:465:5
...
DEBUG[1715549842.28746] $substitutions.$baseurl https://download.eclipse.org/theia/ide/1.48.300/windows
...
DEBUG[1715549842.3241] $hashfile_url = https://download.eclipse.org/theia/ide/latest/windows/latest.yml -> D:\UserFiles\scoop\apps\scoop\current\lib\autoupdate.ps1:206:5
Searching hash for TheiaIDESetup-1.48.300.exe in https://download.eclipse.org/theia/ide/latest/windows/latest.yml
DEBUG[1715549843.78344] $regex = sha512: ([a-zA-Z0-9+\/=]{24,88}) -> D:\UserFiles\scoop\apps\scoop\current\lib\autoupdate.ps1:60:9
Found: sha512:a88a979fb1446cf463517377331ed67c78cdb9e2dec70e5d139b1b751883e2cecb20d45f060d9a1a8b30d7fb374d98ddd089e60c071cb5d8fd35819ba06a9156 using Extract Mode
Writing updated theia-ide manifest
Starting download with aria2 ...
Download: [#96bebb 304KiB/196MiB(0%) CN:5 DL:184KiB ETA:18m12s]
^C |
* Get sha512 hash with `$base64` from `latest.yml` file upstream * Ref: 'hash-from-text-file' & 'hash-variables' at scoop-wiki https://github.com/ScoopInstaller/Scoop/wiki/App-Manifest-Autoupdate * Use versioned directory for package, rather than "latest/" one to accomodate using some older versions too. * Newer versions from `jq` filter on given url's data should work: https://api.github.com/repos/eclipse-theia/theia/releases ```jq [ .[].tag_name[1:] | select(. >= "1.44") ] | group_by( .[:-1] )[] | max_by(.) ```
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>
oops, added |
Never mind. |
/verify |
All changes look good. Wait for review from human collaborators. theia-ide
|
* But force use the `mirror_id=1` i.e. (Canada) Main Download Site * As the "best" resolved mirror was extremely slow in my case, * ... might as well be for others too
/verify |
All changes look good. Wait for review from human collaborators. theia-ide
|
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>
/verify |
All changes look good. Wait for review from human collaborators. theia-ide
|
holly molly.
thanks for this enlightening comment 😇🪔:
|
Note: checkver returns
1.49.1
, download-url is at1.49.100
so, used in manifest is$version00
in hopes that future versions will follow the same pattern.Version specific download link for theia (for use in
"autoupdate"
) https://projects.eclipse.org/projects/ecd.theia/downloads -> https://download.eclipse.org/theia / ide / latest / windowsDealing with NSIS pkgs: examples at https://github.com/search via:
user:scoopinstaller path:bucket/*.json "\"extract_dir\": \"$P"
https://github.com/ScoopInstaller/Extras/blob/d48d63f0bf/bucket/android-messages.json#L10-L18checkver: github
from https://github.com/ScoopInstaller/Scoop/wiki/App-Manifest-Autoupdate#special-casesClose: #13272