15935 Commits

Author SHA1 Message Date
Mike McQuaid
740599370c
Merge pull request #5928 from MikeMcQuaid/dev-cmd-one-integration-test
dev-cmd: only one integration test per command.
2019-03-27 10:20:13 +00:00
Mike McQuaid
59d680a626
dev-cmd: only one integration test per command.
Integration tests are useful in detecting breakages but much slower so
let's only use one per command and install formula outside the
integration test framework (which is also slow).
2019-03-27 09:45:48 +00:00
Mike McQuaid
b9df02bd44
Merge pull request #5931 from Homebrew/dependabot/bundler/Library/Homebrew/parallel-1.16.0
Bump parallel from 1.15.0 to 1.16.0 in /Library/Homebrew
2019-03-27 09:00:11 +00:00
dependabot[bot]
763664d4cd
Bump parallel from 1.15.0 to 1.16.0 in /Library/Homebrew
Bumps [parallel](https://github.com/grosser/parallel) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/grosser/parallel/releases)
- [Commits](https://github.com/grosser/parallel/compare/v1.15.0...v1.16.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-26 21:25:06 +00:00
EricFromCanada
4fd398b862 linux.rb: define language/languages methods 2019-03-26 17:14:12 -04: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
dependabot[bot]
9a85582f82
Bump nokogiri from 1.10.1 to 1.10.2 in /Library/Homebrew
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.10.1 to 1.10.2.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.10.1...v1.10.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-25 13:04:58 +00:00
dependabot[bot]
d9e287d397
Bump parallel from 1.14.0 to 1.15.0 in /Library/Homebrew
Bumps [parallel](https://github.com/grosser/parallel) from 1.14.0 to 1.15.0.
- [Release notes](https://github.com/grosser/parallel/releases)
- [Commits](https://github.com/grosser/parallel/compare/v1.14.0...v1.15.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-24 23:32:59 +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
Michka Popoff
583a754d9f brew: remove sudo call
Closes #5865
2019-03-24 17:53:39 +01:00
Mike McQuaid
4cb88b7e1e
Merge pull request #5911 from blankenberg/user-dir-write-permission
In diagnostics, when directory is not writable, also hint to set permission.
2019-03-23 21:23:50 +00:00
Mike McQuaid
f0bcc24fe7
Merge pull request #5912 from MikeMcQuaid/tap-new-output-path
tap-new: improve output.
2019-03-23 13:07:12 +00:00
Mike McQuaid
3615f891f7
tap-new: improve output.
Note the tap path.

References #5901.
2019-03-23 12:41:35 +00:00
Mike McQuaid
9f33a9b1be
brew.sh: improve Docker whitelist on Azure pipelines. 2019-03-23 12:38:55 +00:00
Mike McQuaid
891c67d509
Merge pull request #5903 from native-api/show_bottle_disabled
Add "bottle_disabled" to `brew info --json`
2019-03-23 11:36:14 +00:00
Daniel Blankenberg
d717358a32 In diagnostics, when directory is not writable, also hint to the user to set permissions. 2019-03-22 22:45:41 -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
Zach Auten
63a0aa92d1 Removed info_spec integration test and replaced with unit test in missing_formula_spec 2019-03-21 17:18:21 -04:00
Mike McQuaid
3e64641512
Merge pull request #5898 from MikeMcQuaid/no-autoupdate-no-params
brew.sh: don’t always autoupdate with no params.
2019-03-21 19:06:29 +00:00
Ivan Pozdeev
810ae4a45d Add bottle_disabled to brew info --json 2019-03-21 21:04:31 +03:00
Mike McQuaid
c9cdc2537f
brew.sh: don’t always autoupdate with no params.
Only `brew upgrade` and `brew cask upgrade` actually do anything if no additional parameters are specified. As a result, we don’t need to always update in those cases when we’re just showing help output anyway (as has been done for `brew tap`).
2019-03-21 18:04:14 +00:00
Mike McQuaid
373c0242fe
Merge pull request #5887 from kiendang/extract-all-taps
brew extract from all taps
2019-03-21 09:39:56 +00:00
dependabot[bot]
2254f225b3
Bump parser from 2.6.0.0 to 2.6.2.0 in /Library/Homebrew
Bumps [parser](https://github.com/whitequark/parser) from 2.6.0.0 to 2.6.2.0.
- [Release notes](https://github.com/whitequark/parser/releases)
- [Changelog](https://github.com/whitequark/parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/whitequark/parser/compare/v2.6.0.0...v2.6.2.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-20 23:11:34 +00:00
kiendang
028b8b408d Remove use of bash 2019-03-20 20:19:33 +08:00
Mike McQuaid
021468c8c0
bump-formula-pr: improve no formula output.
This means the help text will be output.
2019-03-20 11:33:11 +00:00
Mike McQuaid
fbaa0c35a6
bump-formula-pr: move auto-update to brew.sh
It’s always run anyway but this at least means Homebrew/brew and tap code is all up to date before we start querying any objects.

Fixes #5876.
2019-03-20 11:06:45 +00:00
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
kiendang
00f74902d4 Call git log through bash for globstar support 2019-03-18 03:05:30 +08:00
kiendang
6be6bba0be brew extract from all taps 2019-03-17 23:44:35 +08: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
Zach Auten
e9b17b8593 Replaced 'unless nil' with 'if' 2019-03-16 12:59:15 -04:00
Zach Auten
9eadee9408 moved info_spec cask test to its own describe block to fix error 2019-03-15 22:19:12 -04: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