ScoopInstaller / Main

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

vapoursynth@>=R66: Fix autoupdate url #5864

Open BinToss opened 1 month ago

BinToss commented 1 month ago

Changes expected file extensions from .7z (used until VapourSynth R65) to .zip (R66-RC1 and later)

This does not update the package itself. I'll let the bot do that.

Closes #5863


 ScoopInstaller.Main  .\bin\checkver.ps1 vapoursynth
vapoursynth: 68 (scoop version is 65) autoupdate available
 ScoopInstaller.Main  .\bin\checkver.ps1 vapoursynth -u
vapoursynth: 68 (scoop version is 65) autoupdate available
Autoupdating vapoursynth
Downloading VapourSynth64-Portable-R68.zip to compute hashes!
VapourSynth64-Portable-R68.zip (8.5 MB) [=====================================================================================================] 100%
Computed hash: 911d22e6c52886b043194bc17f232f4e054f9e76259c72b66dfc679e7409304b
Downloading VapourSynth64-Portable-R68.zip to compute hashes!
Loading VapourSynth64-Portable-R68.zip from cache
Computed hash: 911d22e6c52886b043194bc17f232f4e054f9e76259c72b66dfc679e7409304b
Writing updated vapoursynth manifest

vapoursynth.json


{
+    "version": "68",
"description": "A video processing framework with simplicity in mind",
"homepage": "https://www.vapoursynth.com",
"suggest": {
"vcredist": "extras/vcredist2022"
},
"license": "LGPL-2.1-or-later",
"architecture": {
"64bit": {
+           "url": "https://github.com/vapoursynth/vapoursynth/releases/download/R68/VapourSynth64-Portable-R68.zip",
+           "hash": "911d22e6c52886b043194bc17f232f4e054f9e76259c72b66dfc679e7409304b"
},
"32bit": {
+           "url": "https://github.com/vapoursynth/vapoursynth/releases/download/R68/VapourSynth64-Portable-R68.zip",
+           "hash": "911d22e6c52886b043194bc17f232f4e054f9e76259c72b66dfc679e7409304b"
}
},
"pre_install": [
"$arch = $architecture.SubString(0,2)",
"if(Test-Path \"$persist_dir\\vapoursynth$arch\") {Copy-Item \"$persist_dir\\*\" \"$dir\\\" -Force -Recurse}"
],
"uninstaller": {
"script": [
"$arch = $architecture.SubString(0,2)",
"ensure \"$persist_dir\" | Out-Null",
"Copy-Item \"$dir\\vapoursynth$arch\" \"$persist_dir\\\" -Force -Recurse"
]
},
"bin": [
"AVFS.exe",
"VSPipe.exe",
"pfm-192-vapoursynth-win.exe",
"vsrepo.py"
],
"checkver": {
"github": "https://github.com/vapoursynth/vapoursynth",
"regex": "tag/R(\\d+)"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/vapoursynth/vapoursynth/releases/download/R$version/VapourSynth64-Portable-R$version.zip"
},
"32bit": {
"url": "https://github.com/vapoursynth/vapoursynth/releases/download/R$version/VapourSynth64-Portable-R$version.zip"
}
}
}
}
BinToss commented 1 month ago

/verify Is everything good to merge?

github-actions[bot] commented 1 month ago

Your changes do not pass checks.

vapoursynth

github-actions[bot] commented 1 month ago

Your changes do not pass checks.

vapoursynth

BinToss commented 1 month ago

/verify

I did not know I also needed to commit the checkver-updated manifest.

github-actions[bot] commented 1 month ago

All changes look good.

Wait for review from human collaborators.

vapoursynth