15745 Commits

Author SHA1 Message Date
Shaun Jackman
59ee097f8d fix_dynamic_linkage: Check HOMEBREW_RELOCATE_METAVARS
Only remove RPATH when HOMEBREW_RELOCATE_METAVARS is set.

See PR https://github.com/Homebrew/brew/pull/5413
2019-03-19 08:29:45 -07:00
Mike McQuaid
803ea4ed1a
tab#to_json: allow zero parameters. 2019-03-18 15:04:37 +00:00
Mike McQuaid
14dc7d6bb8
exceptions: fix RuboCop warning with present? 2019-03-18 14:30:58 +00:00
Mike McQuaid
b23f990175
Rubocop autofixes 2019-03-18 14:30:44 +00:00
Mike McQuaid
41e6131ade
brew vendor-gems: commit updates. 2019-03-18 14:28:30 +00:00
dependabot[bot]
68cc0301d6
Bump rubocop from 0.65.0 to 0.66.0 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.65.0 to 0.66.0.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.65.0...v0.66.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-18 09:29:44 +00:00
Mike McQuaid
417a16fbaf
Merge pull request #5718 from mtmiller/update-cmd-opts
Add `brew update -f` option and improve help string format
2019-03-17 12:40:26 +00: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
Shaun Jackman
5cb458d687 install_symlink_p: Fix when dest includes a symlink
install_symlink_p does not work as intended when dst includes a symlink in its path.
relative_path_from requires that both src and dst be real paths without symlinks.

From https://ruby-doc.org/stdlib-2.3.7/libdoc/pathname/rdoc/Pathname.html#method-i-relative_path_from
This method doesn't access the filesystem. It assumes no symlinks.
2019-03-16 23:11:59 -07:00
Mike Miller
e3ec8a7d47 update: add -f short option alias for --force 2019-03-16 23:11:16 -07:00
Mike Miller
56ac7ed58b man: omit global options from shell command usage
When reading the comment header of a shell command, omit options that
are in Homebrew::CLI::Parser.global_options, since they are documented
separately for all commands.
2019-03-16 23:11:04 -07:00
Mike Miller
a4c8fc74f7 man: parse short and long options in shell commands
Add a regex to handle two comma-separated options on the same line in
command help strings.
2019-03-16 23:09:11 -07:00
Mike McQuaid
db42dd0420
Merge pull request #5881 from EricFromCanada/alias-installed-satisfied
deps: allow passing both --installed & --include-requirements
2019-03-15 08:31:27 +00:00
Mike McQuaid
c510b64725
Merge pull request #5882 from kiendang/extract-class-name
Fix class name for brew extract
2019-03-15 08:29:49 +00:00
kiendang
d58e94ed6f Fix class name for brew extract 2019-03-15 11:27:39 +08:00
EricFromCanada
f97f7b615e deps: allow passing both --installed & --include-requirements
And update docs.
2019-03-14 21:00:21 -04:00
Mike McQuaid
298ed29fb9
Merge pull request #5875 from Homebrew/dependabot/bundler/Library/Homebrew/activesupport-5.2.2.1
Bump activesupport from 5.2.2 to 5.2.2.1 in /Library/Homebrew
2019-03-14 15:21:54 +00:00
Mike McQuaid
f74a895271
brew vendor-gems: commit updates. 2019-03-14 12:57:49 +00:00
Jonathan Chang
cc9479772f tap-new: use real repo name 2019-03-14 23:51:09 +11:00
Mike McQuaid
9cb518aa61
Merge pull request #5877 from EricFromCanada/info-update-options
info: flag and doc fixes and updates
2019-03-14 08:44:13 +00: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
William Woodruff
ab06303ee6
Merge pull request #5413 from woodruffw-forks/rewrite-rpaths-in-install-names
mac/keg_relocate: Rewrite rpaths in install names
2019-03-13 21:53:55 -04:00
dependabot[bot]
d4c8b9fbfd
Bump activesupport from 5.2.2 to 5.2.2.1 in /Library/Homebrew
Bumps [activesupport](https://github.com/rails/rails) from 5.2.2 to 5.2.2.1.
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/master/activesupport/CHANGELOG.md)
- [Commits](https://github.com/rails/rails/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-13 16:59:48 +00:00
Mike McQuaid
056da8188f
Merge pull request #5816 from jmarshall/asymptote
missing_formula: add message for Asymptote
2019-03-13 16:01:07 +00:00
Mike McQuaid
af0bbc793e
Merge pull request #5864 from morgo/brew-services
caveats: non-macOS platforms warn on services
2019-03-13 13:33:23 +00:00
Mike McQuaid
2e7a3f3da2
caveats: tweak wording/formatting. 2019-03-13 08:56:16 +00:00
Mike McQuaid
ae0332a0f6
Merge pull request #5867 from MikeMcQuaid/linuxbrew-docs-cleanup
Update Linuxbrew references to Homebrew on Linux
2019-03-12 20:39:56 +00:00
Mike McQuaid
710859e300
Update Linuxbrew references to Homebrew on Linux
This is a clearer branding for us to use.

Also, as part of testing this, make some fixes to Jekyll in the docs folder.

Fixes #5835
2019-03-12 20:13:38 +00:00
Morgan Tocker
a1f24748e6 caveats: non-macOS platforms warn on services
Only currently supported by macOS. Attempting to use services
should produce a warning for now.  It is possible it might be
supported in the future.
2019-03-12 13:47:54 -06:00
Mike McQuaid
7ed0627586
Merge pull request #5855 from EricFromCanada/help-wrap-output
help: rewrap output to 80 columns
2019-03-12 19:25:28 +00:00
kiendang
330015ffbd Fix incorrect formula name from file name 2019-03-13 00:49:56 +08:00
William Woodruff
02216eedaf
mac/keg_relocate: Don't relocate loader_paths 2019-03-11 20:59:11 -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
Mike McQuaid
0f07fe5c5c
Merge pull request #5861 from Homebrew/dependabot/bundler/Library/Homebrew/concurrent-ruby-1.1.5
Bump concurrent-ruby from 1.1.4 to 1.1.5 in /Library/Homebrew
2019-03-11 13:16:59 +00:00
Mike McQuaid
2fc5d95d09
Merge pull request #5859 from jonchang/pypy3
python: support pypy3
2019-03-11 12:51:12 +00:00
Mike McQuaid
ea92fa608b
Remove, ignore concurrent_ruby.jar 2019-03-11 12:50:46 +00:00
Mike McQuaid
c93fc1a097
brew vendor-gems: commit updates. 2019-03-11 12:45:20 +00:00
Mike McQuaid
1a102322c7
dev-cmd/vendor-gems: pristine after install. 2019-03-11 12:43:34 +00:00
dependabot[bot]
d106d2c0d8
Bump concurrent-ruby from 1.1.4 to 1.1.5 in /Library/Homebrew
Bumps [concurrent-ruby](https://github.com/ruby-concurrency/concurrent-ruby) from 1.1.4 to 1.1.5.
- [Release notes](https://github.com/ruby-concurrency/concurrent-ruby/releases)
- [Changelog](https://github.com/ruby-concurrency/concurrent-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ruby-concurrency/concurrent-ruby/compare/v1.1.4...v1.1.5)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-11 12:35:47 +00:00
Mike McQuaid
e1e69da6b3
missing_formula: add brew cask command. 2019-03-11 12:33:51 +00:00
Jonathan Chang
d2e6d04faf arch: actually show required architecture 2019-03-11 20:31:53 +11:00
Jonathan Chang
46af0260f0 python: support pypy3 2019-03-11 20:14:03 +11:00
John Marshall
c508bda668 Further clarify that it is recommended to just install MacTeX
Less wordy.
2019-03-11 07:43:12 +00:00
William Woodruff
82dd5011e2
mac/keg_relocate: Delete loader_paths
Fix the call to expand_rpath.
2019-03-10 21:29:59 -04:00
William Woodruff
a8c4136e9e
os/mac: Use delegation for Mach-O methods 2019-03-10 21:07:05 -04:00
William Woodruff
54aca0d14f
os/mac: Flush RPATHs from Mach-Os when possible 2019-03-10 21:07:04 -04:00
William Woodruff
2e2dea6131
mac/keg_relocate: Style nit 2019-03-10 21:07:04 -04:00
William Woodruff
d2dc4e5599
mac/keg_relocate: Drop unnecessary parens 2019-03-10 21:07:04 -04:00