Dustin Rodrigues
81e3aa899d
update-report: use appropriate pronoun in update message
2021-02-19 11:58:01 -05:00
Bo Anderson
0e732d3917
cmd/update-report: report outdated count & suggest brew upgrade
2021-02-10 15:36:38 +00:00
Mike McQuaid
72cb6ffd12
utils: import {ohai,puts}_stdout_or_stderr
...
Fixes #10536
2021-02-05 15:03:31 +00:00
Mike McQuaid
dbf65770af
cmd/update-report: output to stderr when not a TTY.
...
Otherwise things like `$(brew bundle list --formula)` become a bit
useless as they can auto-update and then will always fail.
2021-02-03 13:31:24 +00:00
Rylan Polster
84fc16c1c1
Apply suggestions from code review
...
Co-Authored-By: Mike McQuaid <mike@mikemcquaid.com>
2021-01-28 09:10:14 -05:00
Rylan Polster
f508f8dc0c
update: show message prompting brew tap --repair
...
This message is shown when a fetch fails due to a branch rename
2021-01-28 09:10:13 -05:00
EricFromCanada
6fc116318e
fixes for grammar and wording
2021-01-26 16:19:47 -05:00
EricFromCanada
571179ff0e
pass second argument to ohai when applicable
2021-01-26 15:36:43 -05:00
Rylan Polster
d1f3e39b7b
Update commands to generate usage banner
2021-01-18 21:20:11 -05:00
Rylan Polster
f1f3fdc315
settings: add module for managing git config settings
2021-01-12 16:27:25 -05:00
Rylan Polster
e7b369273a
completions: link official taps automatically
2021-01-11 12:27:57 -05:00
Rylan Polster
234267cc93
completions: make opt-in only
2021-01-08 11:10:24 -05:00
hyuraku
64d4eb2425
cmd/update-report: fix to show new tag
2021-01-01 17:54:59 +09:00
Rylan Polster
80d8b419de
update-report: update blog post link
2020-12-28 10:56:07 -05:00
Rylan Polster
5b360f35c5
update-report: use gitconfig to remember last tag
2020-12-25 14:14:57 -05:00
Rylan Polster
a0e663d833
update: show either changelog or release noted link
2020-12-24 19:05:23 -05:00
Rylan Polster
9fd2319afa
update-report: add links to changelog and blog
2020-12-23 12:06:28 -05:00
EricFromCanada
1acb085574
update-report: summarize updated casks for --preinstall
...
Also, show less output if --quiet is passed.
2020-12-15 08:47:34 -05:00
Markus Reiter
3c2ec1c60f
Deprecate remaining cask commands.
2020-11-21 19:56:12 +01:00
Markus Reiter
da9289eff0
Add more type signatures.
2020-11-13 12:26:36 +01:00
Jonathan Chang
f9fec9bdc7
rubocop: fix Style/IfInsideElse
2020-11-10 23:28:31 +11:00
Jonathan Chang
ab7b757400
rubocop: fix Style/NegatedIfElseCondition
2020-11-10 23:28:31 +11:00
EricFromCanada
3768b7a6e9
apidoc: update comment wording, punctuation, formatting
2020-11-06 00:21:02 -05:00
Markus Reiter
24ae318a3d
Move type annotations into files.
2020-10-10 14:59:39 +02:00
Mike McQuaid
9df637ffd1
Add HOMEBREW_UPDATE_REPORT_ONLY_INSTALLED
...
This allows reducing the volume of `brew update` output by only
outputting the changes to formulae that you have installed.
2020-09-11 11:59:47 +01:00
Dustin Rodrigues
d400b151e7
minor typo fixes
2020-09-02 12:23:14 -04:00
miccal
2ed4196d73
cmd/update-report: fix output of new casks
2020-08-20 20:39:52 +08:00
miccal
73b4ad3647
cmd/update-report: consistency for formulae and casks
2020-08-19 14:31:54 +08:00
Markus Reiter
490e503b1b
Replace Homebrew.args
with Context
.
2020-08-06 16:13:14 +02:00
Markus Reiter
6c964d4a78
Pass verbose?
to Keg#link
, Keg#unlink
and Keg#optlink
.
2020-08-06 16:12:52 +02:00
Rylan Polster
15cfb9a358
update-report: fix args
2020-08-01 13:33:42 -04:00
Markus Reiter
d4c2ffd705
Refactor CLI::Parser
.
2020-07-31 15:07:17 +02:00
Markus Reiter
919adcc216
Pass args
in update-report
instead of using global args
.
2020-07-30 03:21:12 +02:00
Markus Reiter
f8934c0255
Pass args
in Install
and Messages
instead of using global args
.
2020-07-30 03:21:12 +02:00
Markus Reiter
c0d42dd922
Remove --force
from global_options
.
2020-07-28 10:31:11 +02:00
Jonathan Chang
26549d312b
update-report: faster autoupdate
...
This disables verbose reporting of new formulae versions when
automatically updating before e.g. `brew install`.
2020-07-22 22:53:03 +10:00
Jonathan Chang
76709d82c5
Fix brew style
.
2020-07-13 23:24:14 +10:00
Caleb Xu
a53c92bd7f
Cache commands list for faster shell completions
2020-06-18 11:06:31 -04:00
Mike McQuaid
3381cbf5c7
Use Homebrew::EnvConfig.
2020-04-07 09:58:26 +01:00
Bo Anderson
870bae8ce6
cmd/update-report: check for HOMEBREW_DISABLE_LOAD_FORMULA
2020-03-28 22:15:07 +00:00
Mike McQuaid
1e265247ca
rubocop: apply autofixes.
2020-03-13 21:16:18 +00:00
EricFromCanada
b75b39097d
update: highlight currently-installed casks
2020-03-05 11:26:55 -05:00
Mike McQuaid
a7fe0ed847
cmd: use more and cleanup new args APIs.
2020-03-05 09:40:15 +00:00
Michelle Nguyen(she/her)
352774e80f
Add deleted casks to report dump.
...
Co-Authored-By: Mike McQuaid <mike@mikemcquaid.com>
2020-03-03 13:46:08 -05:00
Michelle Nguyen(she/her)
1f5f9b37c7
Change if statement to elsif.
...
Co-Authored-By: Mike McQuaid <mike@mikemcquaid.com>
2020-03-03 13:45:46 -05:00
Michelle Nguyen
948ad02c84
Display updated casks when running Already up-to-date.. Fixes #7011 .
2020-03-02 17:17:52 -05:00
Mike McQuaid
8f98b2bcc4
analytics: tweak behaviour.
...
- Use separate method for `not_this_run?` so we can still set the
analytics message as seen when set.
- Clarify when analytics message is printed that we haven't sent any
analytics yet.
2020-02-22 17:13:51 +00:00
Mike McQuaid
3a9f585ebb
Move more code to utils/analytics.
2019-11-22 09:10:29 +00:00
Issy Long
02524ba322
Remove --local
from git config
commands as it's the default
...
- The `--local` option doesn't exist in early versions of git (~1.7),
but its behaviour is the default (saving in the current repo's .git
directory).
- As it's the default across versions, we don't need to specify it
everywhere.
- Reported in Linuxbrew/install issue 78.
2019-11-16 10:19:42 +00:00
EricFromCanada
329c6c78be
manpages: relocate some sections
...
Reorder switches as force/quiet/verbose/debug, --installed before --all, and link to SPECIFYING FORMULAE from top of page.
2019-08-20 08:58:20 -04:00