3228 Commits

Author SHA1 Message Date
Mike McQuaid
7eb1fd6671 reinstall/upgrade: document use of options.
To avoid user confusion e.g. #3606.
2017-12-30 21:23:33 +00:00
Mike McQuaid
7a8f61c28c gist-logs: use full path to brew.
This fixes the command with environment filtering enabled.
2017-12-14 16:44:25 +00:00
Mike McQuaid
5f471ee289 doctor: tell people not to file issues.
This stuff doesn't matter.
2017-12-11 15:27:18 +00:00
Mike McQuaid
837ea74f44
Merge pull request #3543 from MikeMcQuaid/remove-env-unsets
Remove some unset/checked environment checks
2017-12-10 17:46:29 +00:00
Mike McQuaid
6b9ca5dbf5 Remove some unset/checked environment checks
These will be redundant once environment filtering is on by default
in #3529.
2017-12-08 16:33:33 +00:00
L. E. Segovia
cf892c432e Revert extra deletion 2017-12-02 20:07:17 +00:00
L. E. Segovia
9603e39f16 Rename whole build_options block (copypaste from reinstall) 2017-12-02 20:04:03 +00:00
L. E. Segovia
da764c6d6c Delete --ignore-dependencies additions 2017-12-02 20:03:38 +00:00
L. E. Segovia
4dfe6e32e4 Let the upgrade command add new build flags 2017-12-02 17:14:46 +00:00
L. E. Segovia
5f5e689752 Remember --ignore-dependencies when installing and upgrading 2017-12-02 13:41:11 +00:00
Shaun Jackman
2dbc4ffaf3 vendor-install: Add ARM bottle for portable-ruby 2017-11-27 12:09:27 -08:00
Mike McQuaid
a19d0708a4 Allow optionally using Homebrew's curl
If `HOMEBREW_FORCE_BREWED_CURL` is set then allow it to be used instead
of the system `curl`.
2017-11-26 18:17:26 +00:00
Shaun Jackman
6da95d882d vendor-install: Observe HOMEBREW_STDERR
Suppress stderr unless HOMEBREW_STDERR is set.
2017-11-16 11:08:50 -08:00
commitay
ac799d9f2d brew list --pinned: pass explicit sort to handle APFS 2017-11-07 12:35:40 +10:00
commitay
ccecdab4cd brew list --versions: pass explicit sort to handle APFS 2017-11-06 20:27:23 +10:00
Mike McQuaid
7a68b4a3f9 Refactor command handling code
Don’t rely on having external commands always present in the PATH in
order to find them. Instead, provide an accessory method to Tap so
they can be added and used when needed.

While we’re here, do some general refactoring and cleanup of the
command code in these places.
2017-11-05 15:37:57 +00:00
Mike McQuaid
3549377478 cmd/sh: set working PS1 for zsh.
The `bash`, default one is broken on `zsh`.
2017-10-29 17:23:05 +00:00
Mike McQuaid
7caca57073
Merge pull request #3380 from jmsundar/apfs_tap-info
tap-info: handle APFS returning hash order
2017-10-28 13:08:12 +01:00
Jayendra Minakshisundar
ea7d356e08 style changes 2017-10-28 14:56:51 +05:30
Jayendra Minakshisundar
590f06187f tap-info: sort taps by name to handle APFS 2017-10-27 11:41:00 +05:30
Mike McQuaid
6114f48d5d Unhide readall and update-reset from manpage.
These are both tools that end-users can find useful on occasion so it
doesn't make sense to hide them.
2017-10-26 16:14:14 +01:00
Maxim Belkin
313410035d
leaves: account for requirements 2017-10-20 14:21:21 -05:00
Mike McQuaid
ed28ed78d1 Merge pull request #3304 from richiethomas/refactor_uses
In 'readall.rb', replaced multi-step 'each' loop with one-line method chain of Ruby enumerator methods
2017-10-20 18:10:31 +01:00
richiethomas
43cbf08018 Remove memoization from uses.rb, as it doesn't result in the expected time complexity savings 2017-10-20 09:42:30 -04:00
Mike McQuaid
76cd7c7949 Merge pull request #3319 from reitermarkus/squiggly-heredocs
Use “squiggly” heredocs.
2017-10-20 14:10:50 +01:00
Mike McQuaid
a2374cba6c Merge pull request #3334 from DomT4/ds_store_is_not_a_command
commands: filter out dotfiles from output
2017-10-20 11:01:27 +01:00
Mike McQuaid
59238cd343 commands: tweak find_internal_commands.
Use a more typical Ruby style.
2017-10-20 10:19:11 +01:00
Mike McQuaid
460048bcb6 Merge pull request #3302 from maxim-belkin/readall-multiple-taps
readall: allow readall-ing multiple taps at once
2017-10-20 10:16:32 +01:00
richiethomas
b135a70c57 Fix brew style warnings 2017-10-18 20:21:49 -04:00
richiethomas
e5e84eec7d PR feedback- replace '#{HOMEBREW_LIBRARY}/Homebrew/**/*.rb' with '#{HOMEBREW_LIBRARY_PATH}/**/*.rb' 2017-10-18 18:20:44 -04:00
richiethomas
99bccaae13 Remove /cask/ from readall file filter 2017-10-18 17:44:09 -04:00
Maxim Belkin
ad3886b462
readall: update documentation 2017-10-18 14:50:44 -05:00
Markus Reiter
9bee9ca575 Use “squiggly” heredocs. 2017-10-18 14:39:09 +02:00
Dominyk Tiller
2063e0fc52
commands: filter out dotfiles from output 2017-10-18 11:44:12 +01:00
Mike McQuaid
270b752f5d Merge pull request #3326 from sjackman/portable-ruby
portable-ruby: use rebuild with coverage support for Linux.
2017-10-18 11:04:56 +01:00
Mike McQuaid
1d541804c8 Merge pull request #3316 from DomT4/handle_apfs_love_of_hash_order
Handle APFS returning hash order.
2017-10-18 10:55:22 +01:00
richiethomas
dfaaada8b6 Memoize recursive dependency checks; reduces calls to 'f.recursive_dependencies' by an order of magnitude 2017-10-17 20:52:18 -04:00
Mike McQuaid
d601edaf57 vendor-install: use full shasum PATH.
Otherwise things can explode if there's a random `shasum`.

See #3281.
2017-10-17 20:51:32 +01:00
Shaun Jackman
90ca552ba6 portable-ruby: use rebuild with coverage support for Linux.
This will allow `simplecov` to generate coverage by rebuilding portable
Ruby with coverage support.
2017-10-16 12:26:55 -07:00
Dominyk Tiller
9a323c5107
info: pass explicit sort to handle APFS 2017-10-14 06:44:37 +01:00
Dominyk Tiller
c9684c3727
deps: pass explicit sort to handle APFS 2017-10-14 06:42:53 +01:00
Dominyk Tiller
f1b183b287
list: pass explicit sort to handle APFS 2017-10-14 06:35:33 +01:00
Dominyk Tiller
d9074b80b7
options: pass explicit sort to handle APFS 2017-10-14 06:35:33 +01:00
Dominyk Tiller
795c7170e3
leaves: pass explicit sort to handle APFS 2017-10-14 06:18:49 +01:00
Dominyk Tiller
7b8ba77ed2
missing: pass explicit sort to handle APFS 2017-10-14 06:18:09 +01:00
Dominyk Tiller
35fae7ce6a
tap-info: pass explicit sort to handle APFS 2017-10-14 06:14:27 +01:00
Dominyk Tiller
e308df25a9
commands: pass explicit sort to handle APFS 2017-10-14 04:24:10 +01:00
Dominyk Tiller
ca69d65456
update-report: pass explicit sort to handle APFS 2017-10-14 04:22:22 +01:00
Dominyk Tiller
60eb7c6216
uses: pass explicit sort to handle APFS 2017-10-14 04:17:48 +01:00
Dominyk Tiller
f6bc7dc4c6
search: pass explicit sort to handle APFS 2017-10-14 04:17:03 +01:00