Homebrew / homebrew-cask

🍻 A CLI workflow for the administration of macOS applications distributed as binaries
https://brew.sh
BSD 2-Clause "Simplified" License
20.95k stars 10.73k forks source link

Please update IntelliJ IDEA to the latest version 2024.2.0.1, thank you #182564

Closed zhangyulai closed 2 months ago

zhangyulai commented 3 months ago

Verification

Description of issue

"IntelliJ IDEA has been updated to version 2024.2.0.1. I wanted to submit a PR for the update, but I was informed that it would update automatically. However, the automatic update did not occur."

iShot_2024-08-16_07 29 53 iShot_2024-08-16_07 34 49

Command that failed

brew bump-cask-pr --version 2024.2.0.1,242.20224.387 intellij-idea

Output of command with --verbose --debug

Fetching gem metadata from https://rubygems.org/.......
Fetching sorbet-runtime 0.5.11520
Installing sorbet-runtime 0.5.11520
Bundle complete! 38 Gemfile dependencies, 28 gems now installed.
Bundled gems are installed into `../../usr/local/Homebrew/Library/Homebrew/vendor/bundle`
Error: Whoops, the intellij-idea cask has its version update
pull requests automatically opened by BrewTestBot every ~3 hours!
We'd still love your contributions, though, so try another one
that's not in the autobump list:
  https://github.com/Homebrew/homebrew-cask/blob/master/.github/autobump.txt

Output of brew doctor and brew config

Fetching gem metadata from https://rubygems.org/.......
Fetching sorbet-runtime 0.5.11520
Installing sorbet-runtime 0.5.11520
Bundle complete! 38 Gemfile dependencies, 28 gems now installed.
Bundled gems are installed into `../../usr/local/Homebrew/Library/Homebrew/vendor/bundle`
Error: Whoops, the intellij-idea cask has its version update
pull requests automatically opened by BrewTestBot every ~3 hours!
We'd still love your contributions, though, so try another one
that's not in the autobump list:
  https://github.com/Homebrew/homebrew-cask/blob/master/.github/autobump.txt

Output of brew tap

Fetching gem metadata from https://rubygems.org/.......
Fetching sorbet-runtime 0.5.11520
Installing sorbet-runtime 0.5.11520
Bundle complete! 38 Gemfile dependencies, 28 gems now installed.
Bundled gems are installed into `../../usr/local/Homebrew/Library/Homebrew/vendor/bundle`
Error: Whoops, the intellij-idea cask has its version update
pull requests automatically opened by BrewTestBot every ~3 hours!
We'd still love your contributions, though, so try another one
that's not in the autobump list:
  https://github.com/Homebrew/homebrew-cask/blob/master/.github/autobump.txt
ianrobrien commented 3 months ago

Looks like there was an issue during the autobump:

==> intellij-idea Current cask version: 2024.2,242.20224.300 Latest livecheck version: unable to get versions Open pull requests: none Closed pull requests: none

Might need to change how the version is detected in the cask formula.

SMillerDev commented 3 months ago

Does brew livecheck intellij-idea work locally?

zhangyulai commented 3 months ago

Does brew livecheck intellij-idea work locally?

➜ ~ brew livecheck intellij-idea intellij-idea: 2024.2,242.20224.300 ==> 2024.2.0.1,242.20224.387

iShot_2024-08-16_21 52 50
riggzh commented 3 months ago

+1

ianrobrien commented 3 months ago

Same. So the version check works locally but not from the GitHub Actions runner. I'm assuming brew livecheck uses the same routine as the update workflow.

In that case, what could be the issue? Can the job run with debug output? Maybe there's a connectivity issue.

SMillerDev commented 2 months ago

Could be that Jetbrains blocks requests from GitHub actions, it's hard to tell. You can always manually edit the file and make a pull request with that change though.

viazovskyi585 commented 2 months ago

I noticed that alex313031-thorium is not updated despite it is in autobump list too. Could this issue be more global?

SMillerDev commented 2 months ago

I noticed that alex313031-thorium is not updated despite it is in autobump list too. Could this issue be more global?

We don't really know what the issue is beyond "it works locally but not in CI", so it's hard to tell.

khipp commented 2 months ago

I noticed that alex313031-thorium is not updated despite it is in autobump list too. Could this issue be more global?

alex313031-thorium fails to update because the x64 build is missing from the current release:

Sorry, ARM64 build only for now. We ran into linker errors that couldn't be resolved without removing alot of Thorium's compiler optimization flags. Releasing a non-optimized Thorium build would go against one of the browser's founding principles (performance), so pending further investigation/testing, hopefully for M127 we can make an x64 build again!

viazovskyi585 commented 2 months ago

@khipp thanks for the explanation 👍

khipp commented 2 months ago

Closing this since the last automated version bump ran without issues: https://github.com/Homebrew/homebrew-cask/pull/182938.