Closed yurikoles closed 1 week ago
🤔 I can't reproduce this:
$ brew outdated
deckset (2.0.25,2636) != 2.0.32,2687
font-anonymice-nerd-font (3.0.2) != 3.2.1
font-fira-code-nerd-font (3.0.2) != 3.2.1
font-monofur-nerd-font (3.0.2) != 3.2.1
$ brew outdated --fetch-HEAD
deckset (2.0.25,2636) != 2.0.32,2687
font-anonymice-nerd-font (3.0.2) != 3.2.1
font-fira-code-nerd-font (3.0.2) != 3.2.1
font-monofur-nerd-font (3.0.2) != 3.2.1
Closing until a maintainer can reproduce.
I'm seeing this on ~one~ two of my installations. Adding a ohai Context.current.inspect
to cmd/outdated.rb
's print_outdated
shows that --fetch-HEAD
is causing @quiet=true
and other values to be nil
, in both bash and zsh. Other machines are fine.
$ brew outdated --formula -v | head -n 5
==> #<Context::ContextStruct:0x00000001141b3e50 @debug=false, @quiet=false, @verbose=true>
autoconf (2.71) < 2.72
bdw-gc (8.0.6) < 8.2.6
boost (1.78.0_1) < 1.85.0
c-ares (1.18.1_1) < 1.32.1
$ brew outdated --formula -v --fetch-HEAD | head -n 5
==> #<Context::ContextStruct:0x000000010d854ab8 @debug=nil, @quiet=true, @verbose=nil>
autoconf
bdw-gc
boost
c-ares
It only occurs if any keg was installed using --HEAD
and is up-to-date.
$ brew outdated --formula -v flac123
flac123 (HEAD-d969f2c_1) < 2.1.1
$ brew outdated --formula -v --fetch-HEAD flac123
flac123 (HEAD-d969f2c_1) < 2.1.1
$ brew outdated --formula -v flac123 libpng
flac123 (HEAD-d969f2c_1) < 2.1.1
$ brew outdated --formula -v --fetch-HEAD flac123 libpng
flac123
brew doctor
outputVerification
brew doctor
output" above saysYour system is ready to brew.
and am still able to reproduce my issue.brew update
twice and am still able to reproduce my issue.brew install wget
. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.brew config
outputWhat were you trying to do (and why)?
List all outdated apps with corresponding versions, including
HEAD
.What happened (include all command output)?
--verbose
flag doesn't make any difference, as well as--formulae
flag, which just skips casks.What did you expect to happen?
brew outdated --fetch-HEAD
should show upgrades with corresponding version changes, at least non-head ones.Step-by-step reproduction instructions (by running
brew
commands)You don't need to have any
HEAD
formula installed to see the difference between the following two commands, given you have at least one outdated app.