From 4e9957b731466c554b2badbb7d29afd5cbbea2e4 Mon Sep 17 00:00:00 2001 From: Brian <18603393+brian6932@users.noreply.github.com> Date: Thu, 26 Oct 2023 01:43:34 -0400 Subject: [PATCH] (chore): Use GitHub repo ID, instead of repo name in checkver (#5215) --- bucket/arc.json | 2 +- bucket/aws.json | 2 +- bucket/azure-ps.json | 2 +- bucket/bbdown.json | 2 +- bucket/coq.json | 2 +- bucket/detekt.json | 2 +- bucket/dust.json | 2 +- bucket/flux.json | 2 +- bucket/git.json | 2 +- bucket/grails.json | 2 +- bucket/grpcurl.json | 2 +- bucket/hashlink.json | 2 +- bucket/haskell.json | 2 +- bucket/ipinfo-cli.json | 2 +- bucket/kim.json | 2 +- bucket/kotlin-native.json | 2 +- bucket/libavif.json | 2 +- bucket/mingit-busybox.json | 2 +- bucket/mingit.json | 2 +- bucket/neovim.json | 2 +- bucket/openshift-okd-client.json | 2 +- bucket/pdf2djvu.json | 2 +- bucket/pester.json | 2 +- bucket/pnpm.json | 2 +- bucket/sapling.json | 2 +- bucket/simplex-chat.json | 2 +- bucket/terraform-provider-ibm.json | 2 +- bucket/upbound-cli.json | 2 +- bucket/v.json | 2 +- bucket/wkhtmltopdf.json | 2 +- 30 files changed, 30 insertions(+), 30 deletions(-) diff --git a/bucket/arc.json b/bucket/arc.json index 4983f6f4e7..5c8c03030d 100644 --- a/bucket/arc.json +++ b/bucket/arc.json @@ -15,7 +15,7 @@ }, "bin": "arc.exe", "checkver": { - "url": "https://api.github.com/repos/mholt/archiver/releases", + "url": "https://api.github.com/repositories/55814200/releases", "regex": "arc_([\\d.]+)_windows_amd64\\.exe" }, "autoupdate": { diff --git a/bucket/aws.json b/bucket/aws.json index 8970018237..5a9fa6b3ea 100644 --- a/bucket/aws.json +++ b/bucket/aws.json @@ -15,7 +15,7 @@ "aws_completer.exe" ], "checkver": { - "url": "https://api.github.com/repos/aws/aws-cli/tags", + "url": "https://api.github.com/repositories/6780767/tags", "jsonpath": "$[0].name" }, "autoupdate": { diff --git a/bucket/azure-ps.json b/bucket/azure-ps.json index 0082a08d02..7561c697b7 100644 --- a/bucket/azure-ps.json +++ b/bucket/azure-ps.json @@ -18,7 +18,7 @@ "name": "AzureRM" }, "checkver": { - "url": "https://api.github.com/repos/Azure/azure-powershell/releases", + "url": "https://api.github.com/repositories/23891194/releases", "regex": "download/v(?[^/]+)/Az-Cmdlets-([0-9.]+)-x64[.]msi" }, "autoupdate": { diff --git a/bucket/bbdown.json b/bucket/bbdown.json index d9185711a1..33b4a3fdb5 100644 --- a/bucket/bbdown.json +++ b/bucket/bbdown.json @@ -24,7 +24,7 @@ "bin": "BBDown.exe", "persist": "BBDown.data", "checkver": { - "url": "https://api.github.com/repos/nilaoda/BBDown/releases", + "url": "https://api.github.com/repositories/282637924/releases", "jsonpath": "$[0].assets", "regex": "BBDown_(?[\\d.]+)_(?[\\d]+)_win-x64.zip" }, diff --git a/bucket/coq.json b/bucket/coq.json index 80d75e41b0..c95627ecca 100644 --- a/bucket/coq.json +++ b/bucket/coq.json @@ -33,7 +33,7 @@ "COQBIN": "bin" }, "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.(?[\\d.]+)-Windows-x86_64.exe", "reverse": true }, diff --git a/bucket/detekt.json b/bucket/detekt.json index 339101a590..8190426c53 100644 --- a/bucket/detekt.json +++ b/bucket/detekt.json @@ -19,7 +19,7 @@ ] ], "checkver": { - "url": "https://api.github.com/repos/detekt/detekt/releases", + "url": "https://api.github.com/repositories/71729669/releases", "regex": "detekt-cli-(?[\\d.]+)\\.zip" }, "autoupdate": { diff --git a/bucket/dust.json b/bucket/dust.json index 7069d6f56f..bac7636bce 100644 --- a/bucket/dust.json +++ b/bucket/dust.json @@ -17,7 +17,7 @@ }, "bin": "dust.exe", "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" }, "autoupdate": { diff --git a/bucket/flux.json b/bucket/flux.json index 29a14e01bf..46076fe322 100644 --- a/bucket/flux.json +++ b/bucket/flux.json @@ -19,7 +19,7 @@ }, "bin": "flux.exe", "checkver": { - "url": "https://api.github.com/repos/fluxcd/flux2/releases", + "url": "https://api.github.com/repositories/258469100/releases", "jsonpath": "$..browser_download_url", "regex": "flux_([\\d.]+)_windows_amd64.zip" }, diff --git a/bucket/git.json b/bucket/git.json index 3cffc4edf7..3c20b11bce 100644 --- a/bucket/git.json +++ b/bucket/git.json @@ -60,7 +60,7 @@ "GIT_INSTALL_ROOT": "$dir" }, "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", "regex": "download/v(?[\\d.]+windows\\.\\d)/PortableGit-([\\d.]+)-64" }, diff --git a/bucket/grails.json b/bucket/grails.json index 518fc890e0..e8e71639a1 100644 --- a/bucket/grails.json +++ b/bucket/grails.json @@ -14,7 +14,7 @@ "GRAILS_HOME": "$dir" }, "checkver": { - "url": "https://api.github.com/repos/grails/grails-core/releases", + "url": "https://api.github.com/repositories/512295/releases", "regex": "/grails-([\\d.]+)\\.zip" }, "autoupdate": { diff --git a/bucket/grpcurl.json b/bucket/grpcurl.json index 23417d55f6..1303bd7f4a 100644 --- a/bucket/grpcurl.json +++ b/bucket/grpcurl.json @@ -15,7 +15,7 @@ }, "bin": "grpcurl.exe", "checkver": { - "url": "https://api.github.com/repos/fullstorydev/grpcurl/releases", + "url": "https://api.github.com/repositories/111431261/releases", "regex": "grpcurl_([\\d.]+)_windows_x" }, "autoupdate": { diff --git a/bucket/hashlink.json b/bucket/hashlink.json index 65f6f2b186..ace47676b3 100644 --- a/bucket/hashlink.json +++ b/bucket/hashlink.json @@ -11,7 +11,7 @@ "HASHLINKPATH": "$dir" }, "checkver": { - "url": "https://api.github.com/repos/HaxeFoundation/hashlink/releases/latest", + "url": "https://api.github.com/repositories/42316018/releases/latest", "regex": "([\\d.]+)-win" }, "autoupdate": { diff --git a/bucket/haskell.json b/bucket/haskell.json index ae184c86ef..84df25ee68 100644 --- a/bucket/haskell.json +++ b/bucket/haskell.json @@ -29,7 +29,7 @@ ], "env_add_path": "lib\\bin", "checkver": { - "url": "https://api.github.com/repos/commercialhaskell/ghc/tags", + "url": "https://api.github.com/repositories/46509594/tags", "jsonpath": "$..name", "regex": "ghc-([\\d\\.]+)-release" }, diff --git a/bucket/ipinfo-cli.json b/bucket/ipinfo-cli.json index 7c41bc94fa..161ea4d97e 100644 --- a/bucket/ipinfo-cli.json +++ b/bucket/ipinfo-cli.json @@ -23,7 +23,7 @@ ], "bin": "ipinfo.exe", "checkver": { - "url": "https://api.github.com/repos/ipinfo/cli/releases/latest", + "url": "https://api.github.com/repositories/306538237/releases/latest", "jsonpath": "$.name", "regex": "ipinfo-(?.*)$" }, diff --git a/bucket/kim.json b/bucket/kim.json index eb16513a8b..005b313e5a 100644 --- a/bucket/kim.json +++ b/bucket/kim.json @@ -11,7 +11,7 @@ }, "bin": "kim.exe", "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" }, "autoupdate": { diff --git a/bucket/kotlin-native.json b/bucket/kotlin-native.json index d120040afd..5bb977dc02 100644 --- a/bucket/kotlin-native.json +++ b/bucket/kotlin-native.json @@ -42,7 +42,7 @@ } }, "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" } } diff --git a/bucket/libavif.json b/bucket/libavif.json index e3e463f427..e0052c7217 100644 --- a/bucket/libavif.json +++ b/bucket/libavif.json @@ -22,7 +22,7 @@ "avifenc.exe" ], "checkver": { - "url": "https://api.github.com/repos/AOMediaCodec/libavif/releases", + "url": "https://api.github.com/repositories/191218735/releases", "regex": "v([\\d.]+)/libavif_vs(?\\d+)_x64_(?\\w+)_Release\\.zip" }, "autoupdate": { diff --git a/bucket/mingit-busybox.json b/bucket/mingit-busybox.json index 1e76eb2662..8649311490 100644 --- a/bucket/mingit-busybox.json +++ b/bucket/mingit-busybox.json @@ -29,7 +29,7 @@ "GIT_INSTALL_ROOT": "$dir" }, "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", "regex": "download/v(?[\\d.]+windows\\.\\d)/MinGit-([\\d.]+)-busybox-64" }, diff --git a/bucket/mingit.json b/bucket/mingit.json index ded3708852..8fc9e94539 100644 --- a/bucket/mingit.json +++ b/bucket/mingit.json @@ -26,7 +26,7 @@ "GIT_INSTALL_ROOT": "$dir" }, "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", "regex": "download/v(?[\\d.]+windows\\.\\d)/MinGit-([\\d.]+)-64" }, diff --git a/bucket/neovim.json b/bucket/neovim.json index f51735994f..5004e8973d 100644 --- a/bucket/neovim.json +++ b/bucket/neovim.json @@ -27,7 +27,7 @@ ] ], "checkver": { - "url": "https://api.github.com/repos/neovim/neovim/releases/latest", + "url": "https://api.github.com/repositories/16408992/releases/latest", "jsonpath": "$.body", "regex": "NVIM v(?[\\w.-]+)\\.(?[\\w.-]+)\\.(?[\\w.-]+)", "replace": "${majorVersion}.${minorVersion}.${patchVersion}" diff --git a/bucket/openshift-okd-client.json b/bucket/openshift-okd-client.json index 504f874f95..ceb4c65d27 100644 --- a/bucket/openshift-okd-client.json +++ b/bucket/openshift-okd-client.json @@ -11,7 +11,7 @@ }, "bin": "oc.exe", "checkver": { - "url": "https://api.github.com/repos/openshift/okd/tags", + "url": "https://api.github.com/repositories/222003131/tags", "jsonpath": "$[0].name" }, "autoupdate": { diff --git a/bucket/pdf2djvu.json b/bucket/pdf2djvu.json index ca95abe7ca..8d8ae78b03 100644 --- a/bucket/pdf2djvu.json +++ b/bucket/pdf2djvu.json @@ -18,7 +18,7 @@ "djvused.exe" ], "checkver": { - "url": "https://api.github.com/repos/jwilk/pdf2djvu/releases", + "url": "https://api.github.com/repositories/36523035/releases", "regex": "pdf2djvu-win32-([\\d.]+)\\.zip" }, "autoupdate": { diff --git a/bucket/pester.json b/bucket/pester.json index 9b3154f1ad..f26fc7d5cb 100644 --- a/bucket/pester.json +++ b/bucket/pester.json @@ -19,7 +19,7 @@ "$auth = Get-GitHubToken", "$head = @{}", "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'", "$releases = $(Invoke-WebRequest -Headers $head $url).Content | ConvertFrom-Json", "$releases | ForEach-Object {", diff --git a/bucket/pnpm.json b/bucket/pnpm.json index c9747e34db..9ed326d4c4 100644 --- a/bucket/pnpm.json +++ b/bucket/pnpm.json @@ -16,7 +16,7 @@ "$auth = Get-GitHubToken", "$head = @{}", "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'", "$releases = $(Invoke-WebRequest -Headers $head $url).Content | ConvertFrom-Json", "$releases | ForEach-Object {", diff --git a/bucket/sapling.json b/bucket/sapling.json index c64a5103e4..d9a5f5f06f 100644 --- a/bucket/sapling.json +++ b/bucket/sapling.json @@ -24,7 +24,7 @@ "extract_dir": "Sapling", "bin": "sl.exe", "checkver": { - "url": "https://api.github.com/repos/facebook/sapling/releases/latest", + "url": "https://api.github.com/repositories/58146669/releases/latest", "jsonpath": "$.tag_name", "regex": "(?(?[\\d.]+)\\.(?[\\d]{8})-(?