cmd/update-report: always output new formulae.
There's near zero performance overhead and this seems good for discovery. Fixes #13412
This commit is contained in:
parent
7f2220a57f
commit
78695938ae
@ -542,12 +542,9 @@ class ReporterHub
|
||||
def dump(updated_formula_report: true)
|
||||
report_all = Homebrew::EnvConfig.update_report_all_formulae?
|
||||
|
||||
if report_all
|
||||
dump_new_formula_report
|
||||
dump_new_cask_report
|
||||
dump_renamed_formula_report
|
||||
end
|
||||
|
||||
dump_new_formula_report
|
||||
dump_new_cask_report
|
||||
dump_renamed_formula_report if report_all
|
||||
dump_deleted_formula_report(report_all)
|
||||
dump_deleted_cask_report(report_all)
|
||||
|
||||
|
||||
@ -336,7 +336,7 @@ module Homebrew
|
||||
},
|
||||
HOMEBREW_UPDATE_REPORT_ALL_FORMULAE: {
|
||||
description: "If set, `brew update` lists changes to all formulae and cask files rather than only showing " \
|
||||
"when they are installed or outdated.",
|
||||
"when they are new and not installed or outdated and installed.",
|
||||
boolean: true,
|
||||
},
|
||||
HOMEBREW_UPDATE_TO_TAG: {
|
||||
|
||||
@ -2177,7 +2177,7 @@ example, run `export HOMEBREW_NO_INSECURE_REDIRECT=1` rather than just
|
||||
*Default:* macOS: `/private/tmp`, Linux: `/tmp`.
|
||||
|
||||
- `HOMEBREW_UPDATE_REPORT_ALL_FORMULAE`
|
||||
<br>If set, `brew update` lists changes to all formulae and cask files rather than only showing when they are installed or outdated.
|
||||
<br>If set, `brew update` lists changes to all formulae and cask files rather than only showing when they are new and not installed or outdated and installed.
|
||||
|
||||
- `HOMEBREW_UPDATE_TO_TAG`
|
||||
<br>If set, always use the latest stable tag (even if developer commands have been run).
|
||||
|
||||
@ -3195,7 +3195,7 @@ Use this path as the temporary directory for building packages\. Changing this m
|
||||
\fBHOMEBREW_UPDATE_REPORT_ALL_FORMULAE\fR
|
||||
.
|
||||
.br
|
||||
If set, \fBbrew update\fR lists changes to all formulae and cask files rather than only showing when they are installed or outdated\.
|
||||
If set, \fBbrew update\fR lists changes to all formulae and cask files rather than only showing when they are new and not installed or outdated and installed\.
|
||||
.
|
||||
.TP
|
||||
\fBHOMEBREW_UPDATE_TO_TAG\fR
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user