Rylan Polster
ca5f6026ed
Fix tests
2021-07-05 11:29:27 -04:00
Rylan Polster
36dd69dd60
Rename download_bottles
to fetch_bottles
2021-07-05 10:55:34 -04:00
Rylan Polster
22f986b89a
Install formulae from JSON files
2021-07-04 12:38:59 -04:00
Allen Reese
128f63db53
reinstall: add support for the --git option
2021-06-30 10:16:46 -07:00
Bo Anderson
d14a0bb131
Remove FormulaInstaller.prevent_build_flags
2021-03-22 16:11:27 +00:00
Bo Anderson
8e98ce69f3
Stricter handling of CLI args
2021-03-18 16:41:57 +00:00
Rylan Polster
d1f3e39b7b
Update commands to generate usage banner
2021-01-18 21:20:11 -05:00
Dawid Dziurla
332372469f
cmd: indicate multiple named args in usage banner
2021-01-15 13:04:00 +01:00
Rylan Polster
da811373d3
Add named_args DSL for commands
2021-01-13 17:09:42 -05:00
Markus Reiter
7236faee25
Properly pass cask options in reinstall
.
2021-01-10 20:19:38 +01:00
hyuraku
4f74134169
cmd/reinstall: refactor
2020-12-29 20:40:26 +09:00
EricFromCanada
bcdb0c7698
upgrade: show upgradeable dependents during dry run
2020-11-17 18:26:35 -05:00
EricFromCanada
72bc057014
manpage: fixes for formatting
2020-11-16 08:02:50 -05:00
Markus Reiter
da9289eff0
Add more type signatures.
2020-11-13 12:26:36 +01:00
Markus Reiter
24ae318a3d
Move type annotations into files.
2020-10-10 14:59:39 +02:00
Markus Reiter
10e3b63b7b
Inline install
, reinstall
and upgrade
options.
2020-10-08 11:33:38 +02:00
Markus Reiter
d6b563e752
Support min_named :formula_or_cask
.
2020-10-08 11:12:17 +02:00
Markus Reiter
7743fed77b
Add “GLOBAL CASK OPTIONS” section to man page.
2020-10-08 11:07:35 +02:00
Markus Reiter
e40eece17b
Add cask options to brew reinstall
.
2020-10-08 11:06:04 +02:00
Markus Reiter
d443d9ab75
Include cask
in brew reinstall
help text.
2020-10-08 11:06:04 +02:00
Mike McQuaid
dbe427073d
Merge pull request #8399 from MLH-Fellowship/migrate-to-args-named
...
args: Migrate usage of args loading methods to args.named
2020-08-25 10:07:27 +01:00
Markus Reiter
4937e4bbc3
Refactor and document Upgrade
.
2020-08-24 19:42:24 +02:00
William Ma
fa7bd3bff6
args: Migrate usage of args loading methods to args.named
2020-08-23 09:02:20 -04:00
Markus Reiter
b48bc316e0
Use CLI::Parser
for cask
commands.
2020-08-13 05:15:15 +02:00
William Ma
907d4d7f74
Add shared methods for uninstalling, reinstalling casks
2020-08-05 11:04:40 -04:00
Markus Reiter
d4c2ffd705
Refactor CLI::Parser
.
2020-07-31 15:07:17 +02:00
Markus Reiter
c470a6ff43
Pass args
directly to prevent_build_flags
.
2020-07-30 03:21:12 +02:00
Markus Reiter
20bd4280ff
Pass args.cc
to Install
.
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
Markus Reiter
8a1f8ab858
Pass args
to FormulaInstaller
instead of using global args
.
2020-07-25 04:21:21 +02:00
William Ma
525d1ac27d
Fix PR issues
2020-07-03 10:33:38 -04:00
William Ma
3459931a8d
Merge branch 'master' into integrate-uninstall-reinstall
2020-07-02 15:13:10 -04:00
Mike McQuaid
2c133a3d45
Check installed dependents on install and reinstall
...
It's not sufficient to do this merely on `brew upgrade` because
`brew install` and `brew reinstall` can also result in formulae being
upgraded.
This requires moving logic from `cmd/upgrade.rb` to `upgrade.rb`. To
save you searching the diff the changes that resulted from doing that:
- Query the installed formulae from class state in `FormulaInstaller`
rather than the (incomplete) list that we passed into it.
- Don't output the "Checking dependents" message. It was there for
systems and configurations where this is slow but for most users
and most installations this will be a (annoying, noisy) no-op.
Fixes https://github.com/Homebrew/brew/issues/7860
2020-07-02 12:53:52 +01:00
William Ma
f3ae2fdfdc
reinstall: Replace with more specific imports
2020-06-30 13:22:21 -04:00
William Ma
dff61c9eab
style: Fix style issues
2020-06-30 12:21:21 -04:00
William Ma
8a05b5258a
args: Refactor to load casks directly
2020-06-30 12:08:03 -04:00
William Ma
d1004c8143
reinstall: Add ability to reference casks from brew reinstall
2020-06-24 15:03:35 -04:00
Mike McQuaid
a7fe0ed847
cmd: use more and cleanup new args APIs.
2020-03-05 09:40:15 +00:00
Samuel Cochran
4c91ca06db
Add --interactive
to brew reinstall
...
More often than I realised, I want to `brew reinstall
--build-from-source --interactive $FORMULA` to add some custom
configuration. It seems like a useful addition?
2020-02-06 09:56:51 +11:00
Gautham Goli
959b88266d
ARGV: Replace usages of ARGV.resolved_formulae with Homebrew.args
2020-01-02 13:56:19 +00:00
EricFromCanada
90e830c19e
cmd: add raises for invalid input
2019-12-15 00:04:45 -05:00
EricFromCanada
8a8359cdd4
manpages: sentence rewording for readability
...
Use active voice when applicable, better verbs & adjectives, preposition usage, proper tense, etc.
2019-08-20 09:05:45 -04:00
EricFromCanada
6520785307
manpages: grammar fixes
2019-08-20 08:26:26 -04:00
EricFromCanada
a3e0647797
manpages: whitespace fixes
2019-08-20 08:24:20 -04:00
Mike McQuaid
9354081323
Add HOMEBREW_DISPLAY_INSTALL_TIMES
...
Fixes #6300
2019-07-28 11:12:32 +01:00
Mike McQuaid
c4f72312ce
Fixup brew style
failures.
2019-04-30 09:19:18 +01:00
Mike McQuaid
36dbad3922
Add frozen_string_literal to all files.
2019-04-20 13:27:36 +09:00
Mike McQuaid
e40b171127
Rename cli_parser to cli/parser.
2019-04-17 22:16:50 +09:00
Mike McQuaid
267d721988
Note HOMEBREW_NO_INSTALL_CLEANUP in the help/manual
2019-02-03 09:34:00 +01:00