4116 Commits

Author SHA1 Message Date
Mike McQuaid
6987fb4d05
upgrade: make clear formula options are used (not install options). 2019-04-02 08:20:28 +01:00
Mike McQuaid
fdb18b8916
brew install --ignore-dependencies: unsupported, developer flag.
People are using this instead of adjusting their PATH.
2019-04-02 08:18:30 +01:00
Mike McQuaid
7d26a61cc8
Deprecate tap pinning
Tap pinning is not used by Homebrew or the Homebrew maintainers so issues relating to pinned taps (#5418, #5796) don’t get fixed. Tap pinning does not work consistently or reliably and is conceptually confusing to encourage users to use fully-scoped user/tap/formula naming or avoid shadowing core tap formulae' names instead.
2019-04-01 15:07:50 +01:00
Mike McQuaid
d12e39633c
Remove odisabled. 2019-04-01 15:07:50 +01:00
Mike McQuaid
70b93f65ea
*cmd/*: use *system instead of exec for easier testing.
This improves both test coverage, makes it easier to use a profiler and
a debugger.
2019-03-27 21:15:24 +00:00
Mike McQuaid
cf4511f72a
Merge pull request #5538 from zachauten/brew-info-display-casks
Make brew info output cask if no formula exists
2019-03-25 16:54:03 +00:00
Zach Auten
999c4743d0 Added flag for cask_reason to output cask info or just message with cask name 2019-03-24 15:28:34 -04:00
Zach Auten
517083474a Removed cask_reason from missing_formula.reason
- It won't output anything during a failed 'brew install'
- There's a seperate call to MissingFormula.cask_reason
  when 'brew info' is executed on a cask.
2019-03-21 17:35:38 -04:00
Mike Miller
fcd712eb58 update: make --help consistent, add options
Document short options and common global options. Apply the same indent
as other command help strings.
2019-03-16 23:12:17 -07:00
Mike Miller
e3ec8a7d47 update: add -f short option alias for --force 2019-03-16 23:11:16 -07:00
EricFromCanada
f97f7b615e deps: allow passing both --installed & --include-requirements
And update docs.
2019-03-14 21:00:21 -04:00
EricFromCanada
be040f9c66 info: update help text 2019-03-13 22:36:39 -04:00
EricFromCanada
705f03ef9f info: support analytics for cask-install 2019-03-13 22:36:12 -04:00
EricFromCanada
fbb28175d8 info: use UsageError, extend timeout 2019-03-13 22:35:51 -04:00
EricFromCanada
560ccddb69 help: rewrap output to 80 columns
Accounts for paragraph breaks and option descriptions. Also fixes some help text nits.
2019-03-11 12:52:07 -04:00
EricFromCanada
23c62b8b83 deps: fix --1 and --annotate options 2019-03-07 16:39:42 -05:00
EricFromCanada
aead4a720d outdated & tap-info: set default value for --json
Matching what's already been done for `brew info`.
2019-03-04 11:59:49 -05:00
Mike McQuaid
45243fe449
Revert "Fix Infinite Recursion in upgradable_dependents and broken_dependents" 2019-02-26 16:49:17 +00:00
Mike McQuaid
9b682da37b
Use Homebrew/linuxbrew-core
This would allow the Linuxbrew core tap to live in the Homebrew
organisation.
2019-02-25 14:21:13 +00:00
Shaun Jackman
8abc67a414 vendor-install: Add portable-ruby for aarch64 (ARM64) 2019-02-24 22:36:56 -08:00
なつき
193ead3c0c
fish 2.x support for brew shellenv 2019-02-21 17:54:29 -08:00
Mike McQuaid
e095da4d01
rubocop: enable Layout/EmptyLineAfterGuardClause. 2019-02-21 12:55:49 +00:00
Mike McQuaid
d64429a736
rubocop: enable Style/IfUnlessModifier. 2019-02-21 12:55:49 +00:00
Mike McQuaid
c6101196eb
Merge pull request #5773 from ntkme/shellenv
Support different shells for `brew shellenv`
2019-02-20 12:47:31 +00:00
Mike McQuaid
06a49484fb
Merge pull request #5751 from Frizlab/master
Fix Infinite Recursion in upgradable_dependents and broken_dependents
2019-02-20 10:25:35 +00:00
なつき
50ba2ad93f Support different shells for brew shellenv 2019-02-20 10:21:55 +00:00
Mike McQuaid
ae7492f3b5
Remove "undocumented options" that are documented options. 2019-02-16 20:07:28 +00:00
Mike McQuaid
e7ce5dddb7
update: recommend 'brew untap` if tap doesn't exist.
We removed a few old, deprecated repos recently and people with them
still tapped who get confused at the `brew update` error message.
2019-02-16 19:57:56 +00:00
Frizlab
c27ba5c4bd Print a warning when a recursive upgradable or broken dependant has been found 2019-02-16 14:40:29 +01:00
Frizlab
b4f76db37c Fix infinite recursion in upgradable_dependents and broken_dependents 2019-02-16 00:04:12 +01:00
Mike McQuaid
c25261a665
cmd/install: add --bottle-arch.
This argument was missing when the command-line parser code was added.

Fixes #5741.
2019-02-15 20:13:05 +00:00
Mike McQuaid
e7c5d91151
cleanup: add --prune-prefix option.
From https://discourse.brew.sh/t/error-calling-brew-prune-is-disabled/4142/4 and https://github.com/github/homebrew-bootstrap/pull/72 it seems this is worth having as a dedicated flag.
2019-02-13 09:39:21 +00:00
Harry Mallon
f20319a516 cmd/repository: Fix man pages and help 2019-02-07 10:11:31 +00:00
Markus Reiter
81b6623774
Merge pull request #5668 from GauthamGoli/update-report-quiet-arg
cmd/update: Add quiet flag
2019-02-04 17:55:11 +01:00
Gautham Goli
ff4544eebd
cmd/update: Add quiet flag 2019-02-04 15:06:06 +01:00
Gautham Goli
ba057ad239
Fixes #5663 2019-02-04 08:40:05 +01:00
Mike McQuaid
267d721988
Note HOMEBREW_NO_INSTALL_CLEANUP in the help/manual 2019-02-03 09:34:00 +01:00
Mike McQuaid
4101bfda81
update-reset: avoid hanging on shallow-since.
For some reason this seems to hang when there's been no commits since
the latest tag. Not a problem in `brew update`.
2019-02-02 18:34:44 +01:00
Reto Kromer
15403183f2
fix typo 2019-01-31 20:33:16 +01:00
Mike McQuaid
fd4e45c688
lines_spec: fix a typo. 2019-01-30 21:59:55 +00:00
Mike McQuaid
6cb7a00f2d
cmd: remove --help headers and tweak docs. 2019-01-30 21:39:28 +00:00
Mike McQuaid
96c1dffb71
vendor-install: improve --help formatting. 2019-01-30 21:38:46 +00:00
Mike McQuaid
172326a0cf
update: improve --help formatting. 2019-01-30 21:38:46 +00:00
Mike McQuaid
2b285f23c2
update-reset: improve --help formatting. 2019-01-30 21:38:45 +00:00
Mike McQuaid
2a676dd94c
shellenv: improve --help formatting. 2019-01-30 21:38:45 +00:00
Mike McQuaid
04f3ca78c0
update-report: use CLI::Parser. 2019-01-30 21:38:45 +00:00
Mike McQuaid
9144625940
log: use CLI::Parser. 2019-01-30 21:38:45 +00:00
Mike McQuaid
dbd8de7148
--version: use CLI::Parser. 2019-01-30 21:38:45 +00:00
Mike McQuaid
7b90539943
--repository: use CLI::Parser. 2019-01-30 21:38:45 +00:00
Mike McQuaid
b521ba0c7a
--prefix: use CLI::Parser. 2019-01-30 21:38:44 +00:00