Mike McQuaid
209d12b89f
vendor-install: remove ARM bottles until built.
2019-10-10 16:17:06 +01:00
Mike McQuaid
e9aba2efb6
Require and provide portable Ruby 2.6.3.
2019-10-10 15:53:16 +01:00
Markus Reiter
a49282c318
Simplify return value logic.
2019-10-04 23:39:26 +02:00
Mike McQuaid
8ff2e9ae4e
Improve speed of HOMEBREW_AUTO_UPDATE_SECS
...
This variable allows a user to configure how often `brew update` runs.
With the previous implementation, however, it was still pretty slow as
it would run some of `brew update` even within the timeout. This feels
related to complaints about Homebrew "feeling slow" since we enabled
this. Address this by:
- making `HOMEBREW_AUTO_UPDATE_SECS` behave more like
`HOMEBREW_NO_AUTO_UPDATE` and entirely skip the invocation of
`brew update` if the relevant tap (homebrew-core or homebrew-cask
depending on command invoked) has been checked in the last
`HOMEBREW_AUTO_UPDATE_SECS`
- Only require/check the update of a single tap rather than every tap
- Increase the default value of `HOMEBREW_AUTO_UPDATE_SECS` from 1m
to 5m to cut people a bit more slack. We're not updating things
often enough for 1m not to feel a bit overkill and 5m feels
appropriate for a Homebrew "session" to only require a single update.
2019-10-03 12:54:34 +01:00
Mike McQuaid
4f3d65c972
Merge pull request #6504 from dawidd6/cat
...
cat: check for HOMEBREW_BAT and set 'bat' as pager
2019-10-03 11:37:44 +01:00
Markus Reiter
b1d0c61fea
Update Gems.
2019-10-03 09:22:44 +02:00
Dawid Dziurla
25454a9257
cat: look for HOMEBREW_BAT
2019-10-02 21:59:45 +02:00
Dawid Dziurla
b31b14f786
cat: use HOMEBREW_VISUAL as pager if set
2019-09-29 18:01:38 +02:00
Gautham Goli
e88f6b9da9
args: Add passthrough method and tests
2019-09-26 10:33:40 +05:30
Gautham Goli
393c8dfbf1
ARGV: Replace options_only and flags_only with Homebrew.args counterparts
2019-09-23 12:39:22 +05:30
Kristof Lünenschloß
3e46488ca4
Display packages to upgrade one package per line
2019-09-13 13:43:34 +02:00
Mike McQuaid
963cc556d4
Revert "argv: move options_only to cli/args"
2019-09-13 09:34:43 +01:00
Mike McQuaid
7df0292f9b
Revert "argv: move flags_only to cli/args"
2019-09-13 09:12:26 +01:00
Gautham Goli
c7681c4287
argv: move flags_only to cli/args
2019-09-09 14:51:36 +05:30
Gautham Goli
4586632855
argv: move options_only to cli/args
2019-09-07 21:32:50 +05:30
EricFromCanada
6f2b07163e
uses: move comment that was being read by yard
2019-09-04 00:08:31 -04:00
EricFromCanada
2477773259
man: include global options with customized descriptions
2019-08-25 23:59:47 -04:00
L. E. Segovia
b3a1f34b7b
upgrade: style fixes
2019-08-23 01:51:06 +00:00
L. E. Segovia
efb200e825
breadth-first search for dependents upgrade
...
Fixes Homebrew/brew#6386
2019-08-22 12:38:28 +00:00
EricFromCanada
a9d1457c05
shellenv: suggest .zprofile for zsh users
2019-08-20 12:54:44 -04: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
b4303cd983
manpages: fix command & option descriptions
2019-08-20 09:03:33 -04: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
EricFromCanada
ee314617f7
manpages: update command usage strings
2019-08-20 08:55:54 -04:00
EricFromCanada
6340792f78
manpages: output formatting fixes
2019-08-20 08:28:35 -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
Jonathan Chang
7ddc185b35
Fix various typos
2019-08-19 16:12:34 +10:00
Jonathan Chang
fe36f3db67
cmd/link: fix typo
2019-08-05 15:10:00 +10:00
Mike McQuaid
1cd45a769d
Merge pull request #6330 from hogand/add-upgrade-dry-run
...
Add --dry-run to brew upgrade and brew cask upgrade
2019-07-28 15:18:13 +01:00
Mike McQuaid
41461b2c00
upgrade: tweak --dry-run wording.
2019-07-28 14:50:59 +01:00
Mike McQuaid
9354081323
Add HOMEBREW_DISPLAY_INSTALL_TIMES
...
Fixes #6300
2019-07-28 11:12:32 +01:00
Doug Hogan
7f6ef77d0e
Address PR comments: remove test and use return ... if
2019-07-27 07:36:11 -07:00
Doug Hogan
9e0e012a56
cmd/upgrade: add --dry-run option.
2019-07-26 23:20:51 -07:00
Mike McQuaid
653b82a720
cmd/install: fix installing tap formulae with options.
...
Fixes #6242 .
2019-07-25 21:20:49 +01:00
Mike McQuaid
8b646d750a
update-report: silence exception.
...
We don't care if the formula isn't available here. I've seen this a few
times with added formulae when my homebrew-core is on a non-master
branch.
2019-07-17 09:27:02 +01:00
Cheng XU
ce00a94737
remove extra command output when running brew list -v <formula>
...
`brew list -v <formula>` is used to list all files inside formula's keg.
However since 70b93f65eab70cd84d221059a2864a52202df141, an extra
`find /usr/local/Cellar/<formula>/<version> -not -type d -print` will be
printed out. Fix the problem by using `system_command!` instead of
`safe_system`.
2019-07-16 18:41:37 +08:00
Mike McQuaid
3cfb028e7f
Resource#fetch: verify downloads by default.
...
This API is used internally correctly and externally mostly correctly
but #6230 reveals the external usage is fairly confusing and a bit
unsafe by default. Preserve the existing API while verifying the
checksum by default and providing an opt-out. Using the existing, safe
method will result in a double verification of the checksum which is
harmless. A Homebrew/homebrew-core PR will follow shortly to address
those cases.
Fixes #6230
2019-06-15 17:22:45 +01:00
melvyn2
9f616b6fe9
cmd/tap-info: fix frozen pathname usage
2019-05-04 09:09:58 -07:00
Mike McQuaid
c4f72312ce
Fixup brew style
failures.
2019-04-30 09:19:18 +01:00
Mike McQuaid
73528b6a08
Freeze more strings
...
Freeze the results changed in #6072 .
2019-04-29 13:02:15 +01:00
Markus Reiter
ea76a7aaaf
Unfreeze string.
2019-04-28 15:24:17 +02:00
Mike McQuaid
0b685bb890
upgrade: don't build bottles unnecessarily.
...
Fixes #6063 .
2019-04-25 14:01:50 -07:00
Mike McQuaid
70b07a914f
cmd/info: fix frozen pathname usage.
...
Fixes #6055 .
2019-04-24 14:17:04 -07: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
EricFromCanada
89f0fcedbe
whitespace fixes
2019-04-13 21:32:04 -04:00
EricFromCanada
15c38a2d8b
formatting fixes
2019-04-13 21:29:32 -04:00
EricFromCanada
fa6404e0f5
grammar fixes
2019-04-13 21:29:32 -04:00
Mike McQuaid
8d01cda922
Merge pull request #5925 from MikeMcQuaid/more-deprecations
...
Deprecate tap pinning (and remove `odisabled`)
2019-04-03 09:00:06 +01:00