NetBeans 30 not available - cask's livecheck appears to be broken (again) due to changes by provider
### Verification
- [x] I understand that [if I ignore these instructions, my issue may be closed without review](https://github.com/Homebrew/homebrew-cask/blob/HEAD/doc/faq/closing_issues_without_review.md).
- [x] I have retried my command with `--force`.
- [x] I ran `brew update-reset && brew update` and retried my command.
- [x] I ran `brew doctor`, fixed as many issues as possible and retried my command.
- [x] I have checked the instructions for [reporting bugs](https://github.com/Homebrew/homebrew-cask#reporting-bugs).
- [x] I made doubly sure this is not a [checksum does not match / SHA256 mismatch](https://docs.brew.sh/Common-Issues#cask---checksum-does-not-match) error (do not open an issue before trying to open a PR to fix first).
### Description of issue
NetBeans 30 has been released and binaries from Friends of Apache NetBeans are available here:
https://installers.friendsofapachenetbeans.org
It looks like the file naming for their binaries has changed again, see here:
https://api.github.com/repos/Friends-of-Apache-NetBeans/netbeans-installers/releases/latest
Also see similar issue from last year here: https://github.com/Homebrew/homebrew-cask/issues/225749
### Command that failed
brew livecheck --autobump --cask netbeans --debug --verbose
### Output of command with `--verbose --debug`
```shell
/opt/homebrew/Library/Homebrew/vendor/portable-ruby/4.0.5_1/bin/bundle
#<Homebrew::DevCmd::LivecheckCmd::Args:0x00000001197dbcd8>
/Users/kjaeger/.homebrew/livecheck_watchlist.txt
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromNameLoader): loading netbeans
Cask: netbeans
livecheck block?: Yes
URL (url): https://github.com/Friends-of-Apache-NetBeans/netbeans-installers/releases/download/v29-build1/Apache-NetBeans-29-arm64.pkg
Strategies: Git, GithubLatest, PageMatch
Strategy: GithubLatest
Regex: /\/v?(\d+(?:\.\d+)*(?:[._-]build\d+)?)\/Apache[._-]NetBeans[._-]v?(\d+(?:\.\d+)*)[._-]arm64\.pkg/i
/usr/bin/env /opt/homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/5.1.14-43-gedf610a\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 15.7.7\)\ curl/8.7.1 --header Accept-Language:\ en --retry 3 --location https://api.github.com/repos/Friends-of-Apache-NetBeans/netbeans-installers/releases/latest --header Accept:\ application/vnd.github+json --write-out '
'\%\{http_code\} --header Authorization:\ token\ ****** --header X-GitHub-Api-Version:2022-11-28 --dump-header /private/tmp/github_api_headers20260529-11739-calnpo
URL (strategy): https://api.github.com/repos/Friends-of-Apache-NetBeans/netbeans-installers/releases/latest
Error: netbeans: Unable to get versions
```
### Output of `brew doctor` and `brew config`
```shell
➜ ~ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!
Warning: Some installed casks are deprecated or disabled.
You should find replacements for the following casks:
librewolf
➜ ~ brew config
HOMEBREW_VERSION: 5.1.14-43-gedf610a
ORIGIN: https://github.com/Homebrew/brew
HEAD: edf610ae45f91ba07953c72b1c70433651d6c468
Last commit: 30 hours ago
Branch: main
Core tap JSON: 29 May 00:17 UTC
Core cask tap HEAD: 1741f04313f3176d54f346bc5357712b02097e05
Core cask tap last commit: 25 hours ago
Core cask tap JSON: 29 May 00:18 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.nHBzORerWA/org.xquartz:0
HOMEBREW_DOWNLOAD_CONCURRENCY: 24
HOMEBREW_FORBID_PACKAGES_FROM_PATHS: set
HOMEBREW_FORCE_BREWED_CURL: set
HOMEBREW_GITHUB_API_TOKEN: set
HOMEBREW_MAKE_JOBS: 12
HOMEBREW_SORBET_RUNTIME: set
HOMEBREW_USE_INTERNAL_API: set
Homebrew Ruby: 4.0.5 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/4.0.5_1/bin/ruby
CPU: dodeca-core 64-bit arm_lobos
Clang: 17.0.0 build 1700
Git: 2.54.0 => /opt/homebrew/bin/git
Curl: 8.20.0 => /opt/homebrew/opt/curl/bin/curl
macOS: 15.7.7-arm64
CLT: 26.3.0.0.1.1771626560
Xcode: N/A
Rosetta 2: false
```
### Output of `brew tap`
```shell
➜ ~ brew tap
fluxcd/tap
hashicorp/tap
homebrew/cask
jzelinskie/duckdns
nextdns/tap
sap/sapmachine
tw93/tap
```
0 条评论