Merge pull request #13413 from MikeMcQuaid/update_report_new

cmd/update-report: always output new formulae.
This commit is contained in:
Mike McQuaid 2022-06-13 09:47:41 +01:00 committed by GitHub
commit fba051f98f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 9 deletions

View File

@ -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)

View File

@ -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: {

View File

@ -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).

View File

@ -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