Skip to content

Commit

Permalink
(chore): Use GitHub repo ID, instead of repo name in checkver (#12093)
Browse files Browse the repository at this point in the history
* chore: Use repo ID, instead of repo name

* Fix broken manifests (debugviewpp, ilspy, liteide, scratch, tlaplus-toolbox)

* debugviewpp: Attempt to pass CI

* `.`

* dismplusplus: Improve `checkver`
  • Loading branch information
brian6932 authored Oct 27, 2023
1 parent 31d96b5 commit 70aed60
Show file tree
Hide file tree
Showing 58 changed files with 111 additions and 83 deletions.
2 changes: 1 addition & 1 deletion bucket/86box.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
]
],
"checkver": {
"url": "https://api.github.com/repos/86Box/86Box/releases/latest",
"url": "https://api.github.com/repositories/61964127/releases/latest",
"jsonpath": "$.assets[*].browser_download_url",
"regex": "v(?<version>[\\d.]+)/86Box-Windows-64-b(?<build>\\d+)\\.zip"
},
Expand Down
2 changes: 1 addition & 1 deletion bucket/age.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"age-keygen.exe"
],
"checkver": {
"url": "https://api.github.com/repos/FiloSottile/age/releases",
"url": "https://api.github.com/repositories/187403699/releases",
"regex": "/age-v([\\w.-]+)-windows"
},
"autoupdate": {
Expand Down
2 changes: 1 addition & 1 deletion bucket/bitwarden.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
],
"persist": "bitwarden-appdata",
"checkver": {
"url": "https://api.github.com/repos/bitwarden/clients/releases",
"url": "https://api.github.com/repositories/53538899/releases",
"regex": "tag/desktop-v([\\d.]+)"
},
"autoupdate": {
Expand Down
2 changes: 1 addition & 1 deletion bucket/bloop.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
]
],
"checkver": {
"url": "https://api.github.com/repos/BloopAI/bloop/releases",
"url": "https://api.github.com/repositories/576642715/releases",
"regex": "bloop_([\\d.]+)_x64_en-US.msi"
},
"autoupdate": {
Expand Down
2 changes: 1 addition & 1 deletion bucket/chromium.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
],
"persist": "User Data",
"checkver": {
"url": "https://api.github.com/repos/Hibbiki/chromium-win64/tags",
"url": "https://api.github.com/repositories/220217660/tags",
"jsonpath": "$..name",
"regex": "v([\\d.\\-r]+)"
},
Expand Down
2 changes: 1 addition & 1 deletion bucket/clingo.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"lpconvert.exe"
],
"checkver": {
"url": "https://api.github.com/repos/potassco/clingo/releases",
"url": "https://api.github.com/repositories/58459878/releases",
"regex": "clingo-([\\d.]+)-win64\\.zip"
},
"autoupdate": {
Expand Down
27 changes: 18 additions & 9 deletions bucket/debugviewpp.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"version": "1.8.0.86",
"version": "1.8.0.103",
"description": "Collect, view and filter application logs.",
"homepage": "https://github.com/CobaltFusion/DebugViewPP",
"license": "BSL-1.0",
"notes": "The 'OutputForwarderVSIX.vsix' is located at '$dir'.",
"architecture": {
"64bit": {
"url": "https://github.com/CobaltFusion/DebugViewPP/releases/download/v1.8.0.48-x64/DebugView%2B%2B.zip",
"hash": "7441cf9acce907b221ccc85be417a709f6938fbffdc251be108e46abcfe9959f"
"url": "https://github.com/CobaltFusion/DebugViewPP/releases/download/1.8.0.103-x64/DebugView%2B%2B.zip",
"hash": "35fe7bf1713e5ffc0d89fb00e58deae414165fe4e8e0326a09a63cb040818c7e"
},
"32bit": {
"url": "https://github.com/CobaltFusion/DebugViewPP/releases/download/v1.8.0.86/DebugView%2B%2B.zip",
"hash": "b4e841575da785a1a13d974099c29d0425d9cb84ddc8ae62b82890f4842af67e"
"url": "https://github.com/CobaltFusion/DebugViewPP/releases/download/v1.8.0.95/DebugView%2B%2B.zip",
"hash": "98d2c858271b69f8577c6225905413b0c13139f6edc55d4ac92c7c92e6de22e6"
}
},
"bin": [
Expand All @@ -23,16 +23,25 @@
"DebugViewConsole.exe"
],
"checkver": {
"url": "https://api.github.com/repos/CobaltFusion/DebugViewPP/releases",
"regex": "Debugview\\+\\+ v([\\d.]+) - 32 bit version"
"script": [
"try {",
" foreach ($tag in (Invoke-RestMethod https://api.github.com/repositories/14376430/releases).tag_name) {",
" if ($64 -and $32) { break }",
" if ($_ -clike '*-x64') { $64 = $tag } else { $32 = $tag }",
" }",
" $64, $32 -join ' '",
"}",
"catch { '' }"
],
"regex": "\\A(?<prefix64>v?)([\\d.]+)-x64 (?<prefix32>v?)(?<ver32>[\\d.]+)\\Z"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/CobaltFusion/DebugViewPP/releases/download/v$matchTag64-x64/DebugView%2B%2B.zip"
"url": "https://github.com/CobaltFusion/DebugViewPP/releases/download/$matchPrefix64$version-x64/DebugView%2B%2B.zip"
},
"32bit": {
"url": "https://github.com/CobaltFusion/DebugViewPP/releases/download/v$matchTag32/DebugView%2B%2B.zip"
"url": "https://github.com/CobaltFusion/DebugViewPP/releases/download/$matchPrefix32$matchVer32/DebugView%2B%2B.zip"
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions bucket/dismplusplus.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@
},
"persist": "Config\\Config.ini",
"checkver": {
"url": "https://api.github.com/repos/Chuyu-Team/Dism-Multi-language/releases",
"jsonpath": "$..browser_download_url",
"regex": "v(?<tag>[\\d.]+)/Dism%2B%2B(?<version>[\\w\\d.]+)\\.zip"
"url": "https://api.github.com/repositories/74809720/releases/latest",
"jsonpath": "$.assets[0].browser_download_url",
"regex": "v(?<tag>[\\d.]+)/Dism%2B%2B(?<version>[\\d.]+[a-z]?)\\.zip"
},
"autoupdate": {
"url": "https://github.com/Chuyu-Team/Dism-Multi-language/releases/download/v$matchTag/Dism++$version.zip"
Expand Down
2 changes: 1 addition & 1 deletion bucket/dosbox-x.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
],
"persist": "dosbox.conf",
"checkver": {
"url": "https://api.github.com/repos/joncampbell123/dosbox-x/releases/latest",
"url": "https://api.github.com/repositories/19881421/releases/latest",
"jsonpath": "$.assets..browser_download_url",
"regex": "dosbox-x-v([\\d.]+).*vsbuild-arm64-(?<releasearm64>\\d+).*vsbuild-win32-(?<releasewin32>\\d+).*vsbuild-win64-(?<releasewin64>\\d+)"
},
Expand Down
2 changes: 1 addition & 1 deletion bucket/fancontrol.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"Plugins"
],
"checkver": {
"url": "https://api.github.com/repos/Rem0o/FanControl.Releases/releases/latest",
"url": "https://api.github.com/repositories/268350681/releases/latest",
"jsonpath": "$.assets..browser_download_url",
"regex": "/V([\\d.]+)/FanControl_net_(?<netver>(?!4_8)[\\d_]+).zip"
},
Expand Down
2 changes: 1 addition & 1 deletion bucket/fmedia.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
],
"persist": "fmedia.conf",
"checkver": {
"url": "https://api.github.com/repos/stsaz/fmedia/releases",
"url": "https://api.github.com/repositories/36122394/releases",
"jsonpath": "$..browser_download_url",
"regex": "fmedia-([\\d.]+)-windows-x64.zip"
},
Expand Down
2 changes: 1 addition & 1 deletion bucket/freecad.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
]
],
"checkver": {
"url": "https://api.github.com/repos/FreeCAD/FreeCAD/releases",
"url": "https://api.github.com/repositories/5736080/releases",
"regex": "FreeCAD-([\\d.]+)-WIN-x64-portable((-\\d+)?)\\.zip",
"replace": "${1}${2}"
},
Expand Down
2 changes: 1 addition & 1 deletion bucket/garbro.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
]
],
"checkver": {
"url": "https://api.github.com/repos/morkt/GARbro/releases/latest",
"url": "https://api.github.com/repositories/22076748/releases/latest",
"jsonpath": "$.assets..browser_download_url",
"regex": "GARbro-v([\\d.]+).rar"
},
Expand Down
2 changes: 1 addition & 1 deletion bucket/ghidra.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
],
"persist": "Ghidra/Configurations",
"checkver": {
"url": "https://api.github.com/repos/NationalSecurityAgency/ghidra/releases/latest",
"url": "https://api.github.com/repositories/173228436/releases/latest",
"jsonpath": "$.assets..browser_download_url",
"regex": "ghidra_([\\d.]+)_PUBLIC_(?<releasedate>\\d+)\\.zip",
"replace": "${1}-${2}"
Expand Down
2 changes: 1 addition & 1 deletion bucket/gitextensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
],
"persist": "GitExtensions.settings",
"checkver": {
"url": "https://api.github.com/repos/gitextensions/gitextensions/releases",
"url": "https://api.github.com/repositories/85953/releases",
"jsonpath": "$..browser_download_url",
"regex": "/v(?<tag>[\\d.]+)/GitExtensions-Portable-([\\d.]+)-(?<commit>[\\w]+)\\.zip"
},
Expand Down
2 changes: 1 addition & 1 deletion bucket/github.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
]
],
"checkver": {
"url": "https://api.github.com/repos/desktop/desktop/tags",
"url": "https://api.github.com/repositories/58559694/tags",
"regex": "tags/release-([\\d.]+)\""
},
"autoupdate": {
Expand Down
2 changes: 1 addition & 1 deletion bucket/icecast.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"icecast.xml"
],
"checkver": {
"url": "https://api.github.com/repos/xiph/Icecast-Server/tags",
"url": "https://api.github.com/repositories/27493196/tags",
"regex": "v([\\d.]+)\""
},
"autoupdate": {
Expand Down
29 changes: 22 additions & 7 deletions bucket/ilspy.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "8.0.0.7345",
"version": "8.1.1.7464",
"description": ".NET assembly browser and decompiler.",
"homepage": "http://ilspy.net",
"license": "MIT",
Expand All @@ -9,8 +9,16 @@
"extras/windowsdesktop-runtime-lts"
]
},
"url": "https://github.com/icsharpcode/ILSpy/releases/download/v8.0/ILSpy_binaries_8.0.0.7345.zip",
"hash": "2f3cb188eac706c08ea278201b4854030fd091697fb41f1b5654cb3a5835ae37",
"architecture": {
"arm64": {
"url": "https://github.com/icsharpcode/ILSpy/releases/download/v8.1.1/ILSpy_binaries_8.1.1.7464-arm64.zip",
"hash": "ed1d5689360580dd67b6480a62df75bb9cc4d0014f8e2d944016e83b8aa66cf8"
},
"64bit": {
"url": "https://github.com/icsharpcode/ILSpy/releases/download/v8.1.1/ILSpy_binaries_8.1.1.7464-x64.zip",
"hash": "c6ab2cb7f14b8e6aa667e4f0daa3023f603e8fe584952e58aa34a69a513a017a"
}
},
"bin": "ILSpy.exe",
"shortcuts": [
[
Expand All @@ -19,11 +27,18 @@
]
],
"checkver": {
"url": "https://api.github.com/repos/icsharpcode/ILSpy/releases/latest",
"jsonpath": "$.assets[*].browser_download_url",
"regex": "download/v(?<tag>[\\d.]+)/ILSpy_binaries_([\\d.]+).zip"
"url": "https://api.github.com/repositories/1327739/releases/latest",
"jsonpath": "$.assets..browser_download_url",
"regex": "download/v(?<tag>[\\d.]+)/ILSpy_binaries_([\\d.]+)-x64\\.zip"
},
"autoupdate": {
"url": "https://github.com/icsharpcode/ILSpy/releases/download/v$matchTag/ILSpy_binaries_$version.zip"
"architecture": {
"arm64": {
"url": "https://github.com/icsharpcode/ILSpy/releases/download/v$matchTag/ILSpy_binaries_$version-arm64.zip"
},
"64bit": {
"url": "https://github.com/icsharpcode/ILSpy/releases/download/v$matchTag/ILSpy_binaries_$version-x64.zip"
}
}
}
}
2 changes: 1 addition & 1 deletion bucket/inkscape-extension-sozi.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
]
},
"checkver": {
"url": "https://api.github.com/repos/sozi-projects/Sozi/releases/latest",
"url": "https://api.github.com/repositories/940219/releases/latest",
"jsonpath": "$.assets..browser_download_url",
"regex": "/v(?<tag>[\\d.]+)/sozi-extras-media-([\\d.]+)-(?<build>[\\d]+)-inkscape-1.0.zip"
},
Expand Down
2 changes: 1 addition & 1 deletion bucket/insomnia.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
]
],
"checkver": {
"url": "https://api.github.com/repos/Kong/insomnia/releases",
"url": "https://api.github.com/repositories/56899284/releases",
"regex": "\"core@([\\d.]+)\""
},
"autoupdate": {
Expand Down
2 changes: 1 addition & 1 deletion bucket/jexiftoolgui.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
],
"persist": "logs",
"checkver": {
"url": "https://api.github.com/repos/hvdwolf/jExifToolGUI/releases/latest",
"url": "https://api.github.com/repositories/187222374/releases/latest",
"jsonpath": "$.assets..browser_download_url",
"regex": "jExifToolGUI-([\\d.]+)-win-x86_64_with-jre\\.zip"
},
Expand Down
2 changes: 1 addition & 1 deletion bucket/lightbulb.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
],
"persist": "Settings.json",
"checkver": {
"url": "https://api.github.com/repos/Tyrrrz/LightBulb/tags",
"url": "https://api.github.com/repositories/78772975/tags",
"regex": "tags/([\\d.]+)"
},
"autoupdate": {
Expand Down
2 changes: 1 addition & 1 deletion bucket/linkerd.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"bin": "linkerd.exe",
"checkver": {
"url": "https://api.github.com/repos/linkerd/linkerd2/releases",
"url": "https://api.github.com/repositories/113106184/releases",
"regex": "download/stable-([\\d.]+)/link"
},
"autoupdate": {
Expand Down
12 changes: 6 additions & 6 deletions bucket/liteide.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"version": "38.2",
"version": "38.3",
"description": "Simple, open source, cross-platform Go IDE",
"homepage": "http://liteide.org",
"license": "LGPL-2.1-only",
"architecture": {
"64bit": {
"url": "https://github.com/visualfc/liteide/releases/download/x38.2/liteidex38.2.win64-qt5.15.2.zip",
"hash": "9a19840d1d1295137d695a5d412d53327a997ed9db3c8183dfcf8e0bb7d05db5"
"url": "https://github.com/visualfc/liteide/releases/download/x38.3/liteidex38.3-win64-qt5.15.2.zip",
"hash": "83e610976f5503a9a9fffe32a4883eeae74685e339c69f388403ffec6cb409b3"
}
},
"extract_dir": "liteide",
Expand All @@ -18,14 +18,14 @@
]
],
"checkver": {
"url": "https://api.github.com/repos/visualfc/liteide/releases/latest",
"url": "https://api.github.com/repositories/6753728/releases/latest",
"jsonpath": "$.assets..browser_download_url",
"regex": "liteidex([\\d.-]+).win64-qt(?<qt64bitver>[\\d.]+).zip"
"regex": "liteidex([\\d.-]+)-win64-qt(?<qt>[\\d.]+)\\.zip"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/visualfc/liteide/releases/download/x$version/liteidex$version.win64-qt$matchQt64bitver.zip"
"url": "https://github.com/visualfc/liteide/releases/download/x$version/liteidex$version-win64-qt$matchQt.zip"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion bucket/magicavoxel.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
]
],
"checkver": {
"url": "https://api.github.com/repos/ephtracy/ephtracy.github.io/releases",
"url": "https://api.github.com/repositories/32556501/releases",
"jsonpath": "$..browser_download_url",
"regex": "MagicaVoxel-([\\d.]+)-win64\\.zip"
},
Expand Down
2 changes: 1 addition & 1 deletion bucket/mindforger.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
]
],
"checkver": {
"url": "https://api.github.com/repos/dvorka/mindforger/releases/latest",
"url": "https://api.github.com/repositories/115310754/releases/latest",
"jsonpath": "$.assets..browser_download_url",
"regex": "mindforger-windows-installer-([\\d.]+)-([a-f0-9]{8}).exe"
},
Expand Down
2 changes: 1 addition & 1 deletion bucket/mpv.net.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
],
"persist": "portable_config",
"checkver": {
"url": "https://api.github.com/repos/mpvnet-player/mpv.net/releases/latest",
"url": "https://api.github.com/repositories/101537172/releases/latest",
"jsonpath": "$.assets[*].browser_download_url",
"regex": "download/v(?<tag>.*)/mpv.net-v([\\d.]+)(?<channel>-stable)?\\.zip"
},
Expand Down
2 changes: 1 addition & 1 deletion bucket/nekoray.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
],
"persist": "config",
"checkver": {
"url": "https://api.github.com/repos/MatsuriDayo/nekoray/releases/latest",
"url": "https://api.github.com/repositories/488177011/releases/latest",
"regex": "nekoray-([\\d.]+)-(?<extra>[\\d-]+)-windows64"
},
"autoupdate": {
Expand Down
2 changes: 1 addition & 1 deletion bucket/neovim-qt.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
]
],
"checkver": {
"url": "https://api.github.com/repos/equalsraf/neovim-qt/releases",
"url": "https://api.github.com/repositories/20190634/releases",
"regex": "tag/v([\\d.]+)"
},
"autoupdate": {
Expand Down
2 changes: 1 addition & 1 deletion bucket/notesnook.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
]
],
"checkver": {
"url": "https://api.github.com/repos/streetwriters/notesnook/releases",
"url": "https://api.github.com/repositories/353775942/releases",
"jsonpath": "$..browser_download_url",
"regex": "/v([\\d.]+)/notesnook_win_x64_portable.exe"
},
Expand Down
2 changes: 1 addition & 1 deletion bucket/nuclear.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
]
],
"checkver": {
"url": "https://api.github.com/repos/nukeop/nuclear/releases",
"url": "https://api.github.com/repositories/68968979/releases",
"regex": "/nuclear\\.Setup\\.([\\d.]+)\\.exe"
},
"autoupdate": {
Expand Down
Loading

0 comments on commit 70aed60

Please sign in to comment.