Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

brew bump --installed fails when missing pr listing rights #16504

Closed
3 tasks done
nicerloop opened this issue Jan 19, 2024 · 1 comment · Fixed by #16508
Closed
3 tasks done

brew bump --installed fails when missing pr listing rights #16504

nicerloop opened this issue Jan 19, 2024 · 1 comment · Fixed by #16508
Assignees
Labels
bug Reproducible Homebrew/brew bug help wanted We want help addressing this outdated PR was locked due to age

Comments

@nicerloop
Copy link

brew doctor output

Your system is ready to brew.

Verification

  • My "brew doctor output" above says Your system is ready to brew. and am still able to reproduce my issue.
  • I ran brew update twice and am still able to reproduce my issue.
  • This issue's title and/or description do not reference a single formula e.g. brew install wget. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.

brew config output

HOMEBREW_VERSION: 4.2.4-55-g5a297a7
ORIGIN: https://github.com/Homebrew/brew
HEAD: 5a297a7dd5bbbbc50dfad718b58bc58e3dbbb8c4
Last commit: 75 minutes ago
Core tap HEAD: 64b6aa63c41558c004a307f7f2e8fcd98d2d7d8b
Core tap last commit: 35 minutes ago
Core tap JSON: 03 Aug 07:59 UTC
Core cask tap HEAD: 680e8faf3d392299f383cc22b281e764423f9003
Core cask tap last commit: 67 minutes ago
Core cask tap JSON: 13 Sep 16:07 UTC
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: ["--no-quarantine"]
HOMEBREW_CLEANUP_MAX_AGE_DAYS: 730
HOMEBREW_MAKE_JOBS: 4
HOMEBREW_NO_INSTALL_FROM_API: set
HOMEBREW_SORBET_RUNTIME: set
Homebrew Ruby: 3.1.4 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/bin/ruby
CPU: quad-core 64-bit ivybridge
Clang: 15.0.0 build 1500
Git: 2.43.0 => /usr/local/bin/git
Curl: 8.1.2 => /usr/bin/curl
macOS: 13.6.3-x86_64
CLT: 15.1.0.0.1.1700200546
Xcode: N/A

What were you trying to do (and why)?

I tried to check all my installed formulae and casks:

brew bump --installed

What happened (include all command output)?

After some successful checks, and some PRs opened, the command stopped with the following message:

Error: Validation Failed: [{"message"=>"The listed users and repositories cannot be searched either because the resources do not exist or you do not have permission to view them.", "resource"=>"Search", "field"=>"q", "code"=>"invalid"}]

The processed items all have starting names in 'a', the items whose names start with alphabetically following letters not even tried.

After investigation, using --verbose --debug, it appears the failing item is wix/brew/applesimutils. Using --installed --no-pull-requests, the process completed without failure.

What did you expect to happen?

I expected the failing pr listing to be eventually logged, but mainly the process to continue to check the remaining items.

Step-by-step reproduction instructions (by running brew commands)

brew tap wix/brew
brew install wix/brew/applesimutils
brew bump --installed
@nicerloop nicerloop added the bug Reproducible Homebrew/brew bug label Jan 19, 2024
@MikeMcQuaid MikeMcQuaid added the help wanted We want help addressing this label Jan 19, 2024
@issyl0
Copy link
Member

issyl0 commented Jan 19, 2024

Thanks for the issue.

The repository wix/homebrew-brew used to exist, but doesn't anymore. It now redirects in a browser (and when cloning the repo, installing the formula from the tap, etc.) to wix-incubator/homebrew-brew. This breaks our detection of if there are any PRs.

Not immediately sure how to fix this, but that's what's happening. You're right that it probably should not horribly fail, it should just note it and continue onwards.

@issyl0 issyl0 self-assigned this Jan 20, 2024
@github-actions github-actions bot added the outdated PR was locked due to age label Feb 21, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Reproducible Homebrew/brew bug help wanted We want help addressing this outdated PR was locked due to age
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants