(chore): Use GitHub repo ID, instead of repo name in checkver (#5215)

This commit is contained in:
Brian 2023-10-26 01:43:34 -04:00 committed by GitHub
parent 5e1121ec07
commit 4e9957b731
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
30 changed files with 30 additions and 30 deletions

View File

@ -15,7 +15,7 @@
}, },
"bin": "arc.exe", "bin": "arc.exe",
"checkver": { "checkver": {
"url": "https://api.github.com/repos/mholt/archiver/releases", "url": "https://api.github.com/repositories/55814200/releases",
"regex": "arc_([\\d.]+)_windows_amd64\\.exe" "regex": "arc_([\\d.]+)_windows_amd64\\.exe"
}, },
"autoupdate": { "autoupdate": {

View File

@ -15,7 +15,7 @@
"aws_completer.exe" "aws_completer.exe"
], ],
"checkver": { "checkver": {
"url": "https://api.github.com/repos/aws/aws-cli/tags", "url": "https://api.github.com/repositories/6780767/tags",
"jsonpath": "$[0].name" "jsonpath": "$[0].name"
}, },
"autoupdate": { "autoupdate": {

View File

@ -18,7 +18,7 @@
"name": "AzureRM" "name": "AzureRM"
}, },
"checkver": { "checkver": {
"url": "https://api.github.com/repos/Azure/azure-powershell/releases", "url": "https://api.github.com/repositories/23891194/releases",
"regex": "download/v(?<release>[^/]+)/Az-Cmdlets-([0-9.]+)-x64[.]msi" "regex": "download/v(?<release>[^/]+)/Az-Cmdlets-([0-9.]+)-x64[.]msi"
}, },
"autoupdate": { "autoupdate": {

View File

@ -24,7 +24,7 @@
"bin": "BBDown.exe", "bin": "BBDown.exe",
"persist": "BBDown.data", "persist": "BBDown.data",
"checkver": { "checkver": {
"url": "https://api.github.com/repos/nilaoda/BBDown/releases", "url": "https://api.github.com/repositories/282637924/releases",
"jsonpath": "$[0].assets", "jsonpath": "$[0].assets",
"regex": "BBDown_(?<version>[\\d.]+)_(?<date>[\\d]+)_win-x64.zip" "regex": "BBDown_(?<version>[\\d.]+)_(?<date>[\\d]+)_win-x64.zip"
}, },

View File

@ -33,7 +33,7 @@
"COQBIN": "bin" "COQBIN": "bin"
}, },
"checkver": { "checkver": {
"url": "https://api.github.com/repos/coq/platform/releases/latest", "url": "https://api.github.com/repositories/212040108/releases/latest",
"regex": "Coq-Platform-release-([\\d.]+)-version.(?<coqver>[\\d.]+)-Windows-x86_64.exe", "regex": "Coq-Platform-release-([\\d.]+)-version.(?<coqver>[\\d.]+)-Windows-x86_64.exe",
"reverse": true "reverse": true
}, },

View File

@ -19,7 +19,7 @@
] ]
], ],
"checkver": { "checkver": {
"url": "https://api.github.com/repos/detekt/detekt/releases", "url": "https://api.github.com/repositories/71729669/releases",
"regex": "detekt-cli-(?<version>[\\d.]+)\\.zip" "regex": "detekt-cli-(?<version>[\\d.]+)\\.zip"
}, },
"autoupdate": { "autoupdate": {

View File

@ -17,7 +17,7 @@
}, },
"bin": "dust.exe", "bin": "dust.exe",
"checkver": { "checkver": {
"url": "https://api.github.com/repos/bootandy/dust/releases", "url": "https://api.github.com/repositories/125563061/releases",
"regex": "dust-v([\\d.]+)-x86_64-pc-windows-msvc\\.zip" "regex": "dust-v([\\d.]+)-x86_64-pc-windows-msvc\\.zip"
}, },
"autoupdate": { "autoupdate": {

View File

@ -19,7 +19,7 @@
}, },
"bin": "flux.exe", "bin": "flux.exe",
"checkver": { "checkver": {
"url": "https://api.github.com/repos/fluxcd/flux2/releases", "url": "https://api.github.com/repositories/258469100/releases",
"jsonpath": "$..browser_download_url", "jsonpath": "$..browser_download_url",
"regex": "flux_([\\d.]+)_windows_amd64.zip" "regex": "flux_([\\d.]+)_windows_amd64.zip"
}, },

View File

@ -60,7 +60,7 @@
"GIT_INSTALL_ROOT": "$dir" "GIT_INSTALL_ROOT": "$dir"
}, },
"checkver": { "checkver": {
"url": "https://api.github.com/repos/git-for-windows/git/releases/latest", "url": "https://api.github.com/repositories/23216272/releases/latest",
"jsonpath": "$..browser_download_url", "jsonpath": "$..browser_download_url",
"regex": "download/v(?<tag>[\\d.]+windows\\.\\d)/PortableGit-([\\d.]+)-64" "regex": "download/v(?<tag>[\\d.]+windows\\.\\d)/PortableGit-([\\d.]+)-64"
}, },

View File

@ -14,7 +14,7 @@
"GRAILS_HOME": "$dir" "GRAILS_HOME": "$dir"
}, },
"checkver": { "checkver": {
"url": "https://api.github.com/repos/grails/grails-core/releases", "url": "https://api.github.com/repositories/512295/releases",
"regex": "/grails-([\\d.]+)\\.zip" "regex": "/grails-([\\d.]+)\\.zip"
}, },
"autoupdate": { "autoupdate": {

View File

@ -15,7 +15,7 @@
}, },
"bin": "grpcurl.exe", "bin": "grpcurl.exe",
"checkver": { "checkver": {
"url": "https://api.github.com/repos/fullstorydev/grpcurl/releases", "url": "https://api.github.com/repositories/111431261/releases",
"regex": "grpcurl_([\\d.]+)_windows_x" "regex": "grpcurl_([\\d.]+)_windows_x"
}, },
"autoupdate": { "autoupdate": {

View File

@ -11,7 +11,7 @@
"HASHLINKPATH": "$dir" "HASHLINKPATH": "$dir"
}, },
"checkver": { "checkver": {
"url": "https://api.github.com/repos/HaxeFoundation/hashlink/releases/latest", "url": "https://api.github.com/repositories/42316018/releases/latest",
"regex": "([\\d.]+)-win" "regex": "([\\d.]+)-win"
}, },
"autoupdate": { "autoupdate": {

View File

@ -29,7 +29,7 @@
], ],
"env_add_path": "lib\\bin", "env_add_path": "lib\\bin",
"checkver": { "checkver": {
"url": "https://api.github.com/repos/commercialhaskell/ghc/tags", "url": "https://api.github.com/repositories/46509594/tags",
"jsonpath": "$..name", "jsonpath": "$..name",
"regex": "ghc-([\\d\\.]+)-release" "regex": "ghc-([\\d\\.]+)-release"
}, },

View File

@ -23,7 +23,7 @@
], ],
"bin": "ipinfo.exe", "bin": "ipinfo.exe",
"checkver": { "checkver": {
"url": "https://api.github.com/repos/ipinfo/cli/releases/latest", "url": "https://api.github.com/repositories/306538237/releases/latest",
"jsonpath": "$.name", "jsonpath": "$.name",
"regex": "ipinfo-(?<version>.*)$" "regex": "ipinfo-(?<version>.*)$"
}, },

View File

@ -11,7 +11,7 @@
}, },
"bin": "kim.exe", "bin": "kim.exe",
"checkver": { "checkver": {
"url": "https://api.github.com/repos/rancher/kim/releases", "url": "https://api.github.com/repositories/333185595/releases",
"regex": "download/v([\\w.-]+)/kim-windows-amd64.exe" "regex": "download/v([\\w.-]+)/kim-windows-amd64.exe"
}, },
"autoupdate": { "autoupdate": {

View File

@ -42,7 +42,7 @@
} }
}, },
"hash": { "hash": {
"url": "https://api.github.com/repos/JetBrains/kotlin/releases/latest", "url": "https://api.github.com/repositories/3432266/releases/latest",
"regex": "(?sm)kotlin-native-windows-x86_64[\\w.-]+\\s+\\|\\s+$sha256" "regex": "(?sm)kotlin-native-windows-x86_64[\\w.-]+\\s+\\|\\s+$sha256"
} }
} }

View File

@ -22,7 +22,7 @@
"avifenc.exe" "avifenc.exe"
], ],
"checkver": { "checkver": {
"url": "https://api.github.com/repos/AOMediaCodec/libavif/releases", "url": "https://api.github.com/repositories/191218735/releases",
"regex": "v([\\d.]+)/libavif_vs(?<vs>\\d+)_x64_(?<commit>\\w+)_Release\\.zip" "regex": "v([\\d.]+)/libavif_vs(?<vs>\\d+)_x64_(?<commit>\\w+)_Release\\.zip"
}, },
"autoupdate": { "autoupdate": {

View File

@ -29,7 +29,7 @@
"GIT_INSTALL_ROOT": "$dir" "GIT_INSTALL_ROOT": "$dir"
}, },
"checkver": { "checkver": {
"url": "https://api.github.com/repos/git-for-windows/git/releases/latest", "url": "https://api.github.com/repositories/23216272/releases/latest",
"jsonpath": "$..browser_download_url", "jsonpath": "$..browser_download_url",
"regex": "download/v(?<tag>[\\d.]+windows\\.\\d)/MinGit-([\\d.]+)-busybox-64" "regex": "download/v(?<tag>[\\d.]+windows\\.\\d)/MinGit-([\\d.]+)-busybox-64"
}, },

View File

@ -26,7 +26,7 @@
"GIT_INSTALL_ROOT": "$dir" "GIT_INSTALL_ROOT": "$dir"
}, },
"checkver": { "checkver": {
"url": "https://api.github.com/repos/git-for-windows/git/releases/latest", "url": "https://api.github.com/repositories/23216272/releases/latest",
"jsonpath": "$..browser_download_url", "jsonpath": "$..browser_download_url",
"regex": "download/v(?<tag>[\\d.]+windows\\.\\d)/MinGit-([\\d.]+)-64" "regex": "download/v(?<tag>[\\d.]+windows\\.\\d)/MinGit-([\\d.]+)-64"
}, },

View File

@ -27,7 +27,7 @@
] ]
], ],
"checkver": { "checkver": {
"url": "https://api.github.com/repos/neovim/neovim/releases/latest", "url": "https://api.github.com/repositories/16408992/releases/latest",
"jsonpath": "$.body", "jsonpath": "$.body",
"regex": "NVIM v(?<majorVersion>[\\w.-]+)\\.(?<minorVersion>[\\w.-]+)\\.(?<patchVersion>[\\w.-]+)", "regex": "NVIM v(?<majorVersion>[\\w.-]+)\\.(?<minorVersion>[\\w.-]+)\\.(?<patchVersion>[\\w.-]+)",
"replace": "${majorVersion}.${minorVersion}.${patchVersion}" "replace": "${majorVersion}.${minorVersion}.${patchVersion}"

View File

@ -11,7 +11,7 @@
}, },
"bin": "oc.exe", "bin": "oc.exe",
"checkver": { "checkver": {
"url": "https://api.github.com/repos/openshift/okd/tags", "url": "https://api.github.com/repositories/222003131/tags",
"jsonpath": "$[0].name" "jsonpath": "$[0].name"
}, },
"autoupdate": { "autoupdate": {

View File

@ -18,7 +18,7 @@
"djvused.exe" "djvused.exe"
], ],
"checkver": { "checkver": {
"url": "https://api.github.com/repos/jwilk/pdf2djvu/releases", "url": "https://api.github.com/repositories/36523035/releases",
"regex": "pdf2djvu-win32-([\\d.]+)\\.zip" "regex": "pdf2djvu-win32-([\\d.]+)\\.zip"
}, },
"autoupdate": { "autoupdate": {

View File

@ -19,7 +19,7 @@
"$auth = Get-GitHubToken", "$auth = Get-GitHubToken",
"$head = @{}", "$head = @{}",
"if($auth) { $head.add('authorization', \"Bearer $auth\") }", "if($auth) { $head.add('authorization', \"Bearer $auth\") }",
"$url = 'https://api.github.com/repos/pester/Pester/releases'", "$url = 'https://api.github.com/repositories/1213474/releases'",
"$latest_ver = [Version]::new(0,0,0,0) # note: Powershell 5 does not support casting 'int' or 'float' to 'System.Version'", "$latest_ver = [Version]::new(0,0,0,0) # note: Powershell 5 does not support casting 'int' or 'float' to 'System.Version'",
"$releases = $(Invoke-WebRequest -Headers $head $url).Content | ConvertFrom-Json", "$releases = $(Invoke-WebRequest -Headers $head $url).Content | ConvertFrom-Json",
"$releases | ForEach-Object {", "$releases | ForEach-Object {",

View File

@ -16,7 +16,7 @@
"$auth = Get-GitHubToken", "$auth = Get-GitHubToken",
"$head = @{}", "$head = @{}",
"if($auth) { $head.add('authorization', \"Bearer $auth\") }", "if($auth) { $head.add('authorization', \"Bearer $auth\") }",
"$url = 'https://api.github.com/repos/pnpm/pnpm/releases'", "$url = 'https://api.github.com/repositories/50565430/releases'",
"$latest_ver = [Version]::new(0,0,0,0) # note: Powershell 5 does not support casting 'int' or 'float' to 'System.Version'", "$latest_ver = [Version]::new(0,0,0,0) # note: Powershell 5 does not support casting 'int' or 'float' to 'System.Version'",
"$releases = $(Invoke-WebRequest -Headers $head $url).Content | ConvertFrom-Json", "$releases = $(Invoke-WebRequest -Headers $head $url).Content | ConvertFrom-Json",
"$releases | ForEach-Object {", "$releases | ForEach-Object {",

View File

@ -24,7 +24,7 @@
"extract_dir": "Sapling", "extract_dir": "Sapling",
"bin": "sl.exe", "bin": "sl.exe",
"checkver": { "checkver": {
"url": "https://api.github.com/repos/facebook/sapling/releases/latest", "url": "https://api.github.com/repositories/58146669/releases/latest",
"jsonpath": "$.tag_name", "jsonpath": "$.tag_name",
"regex": "(?<tag>(?<ver>[\\d.]+)\\.(?<date>[\\d]{8})-(?<time>[\\d]{6})\\+(?<hash>[\\da-f]{8}))", "regex": "(?<tag>(?<ver>[\\d.]+)\\.(?<date>[\\d]{8})-(?<time>[\\d]{6})\\+(?<hash>[\\da-f]{8}))",
"replace": "${ver}.${date}.${time}.${hash}" "replace": "${ver}.${date}.${time}.${hash}"

View File

@ -11,7 +11,7 @@
}, },
"bin": "simplex-chat.exe", "bin": "simplex-chat.exe",
"checkver": { "checkver": {
"url": "https://api.github.com/repos/simplex-chat/simplex-chat/releases", "url": "https://api.github.com/repositories/229407566/releases",
"jsonpath": "$[?(@.prerelease == false)]..browser_download_url", "jsonpath": "$[?(@.prerelease == false)]..browser_download_url",
"regex": "download/v([\\d.]+)/simplex-chat-windows-x86-64" "regex": "download/v([\\d.]+)/simplex-chat-windows-x86-64"
}, },

View File

@ -17,7 +17,7 @@
} }
}, },
"checkver": { "checkver": {
"url": "https://api.github.com/repos/IBM-Cloud/terraform-provider-ibm/releases", "url": "https://api.github.com/repositories/94801963/releases",
"regex": "releases/download/v([\\d.]+)/" "regex": "releases/download/v([\\d.]+)/"
}, },
"autoupdate": { "autoupdate": {

View File

@ -11,7 +11,7 @@
}, },
"bin": "up.exe", "bin": "up.exe",
"checkver": { "checkver": {
"url": "https://api.github.com/repos/upbound/up/tags", "url": "https://api.github.com/repositories/345125931/tags",
"regex": "tags/v([\\d.]+)\"" "regex": "tags/v([\\d.]+)\""
}, },
"autoupdate": { "autoupdate": {

View File

@ -13,7 +13,7 @@
"extract_dir": "v", "extract_dir": "v",
"bin": "v.exe", "bin": "v.exe",
"checkver": { "checkver": {
"url": "https://api.github.com/repos/vlang/v/releases?per_page=100", "url": "https://api.github.com/repositories/169677297/releases?per_page=100",
"regex": "releases/tag/([\\d.]+)" "regex": "releases/tag/([\\d.]+)"
}, },
"autoupdate": { "autoupdate": {

View File

@ -19,7 +19,7 @@
"wkhtmltopdf.exe" "wkhtmltopdf.exe"
], ],
"checkver": { "checkver": {
"url": "https://api.github.com/repos/wkhtmltopdf/packaging/releases", "url": "https://api.github.com/repositories/131323182/releases",
"jsonpath": "$..browser_download_url", "jsonpath": "$..browser_download_url",
"regex": "/wkhtmltox-([\\d.-]+)\\.mxe-cross-" "regex": "/wkhtmltox-([\\d.-]+)\\.mxe-cross-"
}, },