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)
|
def dump(updated_formula_report: true)
|
||||||
report_all = Homebrew::EnvConfig.update_report_all_formulae?
|
report_all = Homebrew::EnvConfig.update_report_all_formulae?
|
||||||
|
|
||||||
if report_all
|
|
||||||
dump_new_formula_report
|
dump_new_formula_report
|
||||||
dump_new_cask_report
|
dump_new_cask_report
|
||||||
dump_renamed_formula_report
|
dump_renamed_formula_report if report_all
|
||||||
end
|
|
||||||
|
|
||||||
dump_deleted_formula_report(report_all)
|
dump_deleted_formula_report(report_all)
|
||||||
dump_deleted_cask_report(report_all)
|
dump_deleted_cask_report(report_all)
|
||||||
|
|
||||||
|
|||||||
@ -336,7 +336,7 @@ module Homebrew
|
|||||||
},
|
},
|
||||||
HOMEBREW_UPDATE_REPORT_ALL_FORMULAE: {
|
HOMEBREW_UPDATE_REPORT_ALL_FORMULAE: {
|
||||||
description: "If set, `brew update` lists changes to all formulae and cask files rather than only showing " \
|
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,
|
boolean: true,
|
||||||
},
|
},
|
||||||
HOMEBREW_UPDATE_TO_TAG: {
|
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`.
|
*Default:* macOS: `/private/tmp`, Linux: `/tmp`.
|
||||||
|
|
||||||
- `HOMEBREW_UPDATE_REPORT_ALL_FORMULAE`
|
- `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`
|
- `HOMEBREW_UPDATE_TO_TAG`
|
||||||
<br>If set, always use the latest stable tag (even if developer commands have been run).
|
<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
|
\fBHOMEBREW_UPDATE_REPORT_ALL_FORMULAE\fR
|
||||||
.
|
.
|
||||||
.br
|
.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
|
.TP
|
||||||
\fBHOMEBREW_UPDATE_TO_TAG\fR
|
\fBHOMEBREW_UPDATE_TO_TAG\fR
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user