Mike McQuaid
121780b417
Merge pull request #3970 from GauthamGoli/edit-args
...
edit: Use Parser to parse args
2018-03-24 16:21:10 +00:00
Mike McQuaid
08b2add372
Merge pull request #3969 from GauthamGoli/release-notes-args
...
release-notes: Use Parser to parse args
2018-03-24 16:20:47 +00:00
Mike McQuaid
824b814578
Merge pull request #3968 from amancevice/checksum-eq-defense
...
Defensive check for Checksum == nil
2018-03-24 16:20:29 +00:00
Gautham Goli
78b41b07f1
man: Use Parser to parse args
2018-03-24 21:26:16 +05:30
Gautham Goli
56fb2cb67c
edit: Use Parser to parse args
2018-03-24 19:38:34 +05:30
Gautham Goli
93481ab491
release-notes: Use Parser to parse args
2018-03-24 19:21:10 +05:30
Alexander Mancevice
58dd8f4770
Defensive check for Checksum == nil
...
Protects against NoMethodError when checking a Checksum instance with a bad 'other'
2018-03-24 09:04:51 -04:00
Ethan Edwards
06f7d7d696
Allow bottles to use any DownloadStrategy
2018-03-24 10:53:49 +00:00
commitay
2ec684a123
Merge pull request #3962 from commitay/cask-doctor
...
cask doctor: add homebrew_cask_opts
2018-03-23 20:29:00 +10:00
Mike McQuaid
5005e5f5d7
Merge pull request #3959 from MikeMcQuaid/system_config_boring_ruby_warnings
...
system_config: don't output HOMEBREW_RUBY_WARNINGS
2018-03-23 09:50:22 +00:00
commitay
9a25ea8ae0
cask doctor: add homebrew_cask_opts
2018-03-23 11:41:46 +10:00
Mike McQuaid
fce9d520e7
system_config: don't output HOMEBREW_RUBY_WARNINGS
...
It's set by default and the output is pretty obvious if changed.
2018-03-22 22:04:31 +00:00
Alexander Mancevice
9b457ec51e
Upgraded use of AWS Ruby SDK for S3
...
When S3DownloadStrategy is detected in DownloadStrategyDetector an attempt
is made to install & require the aws-sdk-s3 gem.
The AWS S3 SDK is used to sign the URL and handed off to curl_download.
2018-03-22 11:22:07 -04:00
Alexander Mancevice
57e1e16fc4
Added Homebrew.install_gem!
...
Useful when gem does not install with executable
2018-03-22 10:13:34 -04:00
Mike McQuaid
8307347987
Merge pull request #3943 from bukzor/clang-build-version
...
fix clang build version on Ubuntu Artful
2018-03-22 08:38:46 +00:00
Mike McQuaid
fc7fb60b72
system_config: use some puts for clang.
2018-03-22 08:26:26 +00:00
Buck Evan
8b27b84b4b
fix clang build version on Ubuntu Artful
...
Ported from https://github.com/Linuxbrew/brew/pull/621
2018-03-21 11:53:32 -07:00
Maxim Belkin
09eab0cc76
unrolling one-liner into two do/end blocks
2018-03-21 13:10:23 -05:00
Mike McQuaid
15f01bdd14
Merge pull request #3954 from MikeMcQuaid/cleanup-tab
...
tab: cleanup various methods.
2018-03-21 15:38:11 +00:00
Mike McQuaid
d9a51d924e
Merge pull request #3953 from MikeMcQuaid/cleanup-formula-hash
...
Formula#to_hash: cleanup method.
2018-03-21 15:37:01 +00:00
ilovezfs
85ebe88094
Merge pull request #3952 from Homebrew/revert-3911-misfeature
...
Revert "build: do not skip runtime deps of buildtime deps"
2018-03-21 07:05:43 -07:00
Mike McQuaid
f3fba8185e
tab: cleanup various methods.
...
Use some newer Ruby syntax and improve readability.
2018-03-21 12:42:48 +00:00
Mike McQuaid
eb31392b48
Formula#to_hash: cleanup method.
...
Use some newer Ruby functionality and avoid calling `deps` multiple
times when not necessary.
Additionally, remove the unneeded `rubocop:disable`.
2018-03-21 12:38:47 +00:00
Mike McQuaid
799a05c977
Merge pull request #3916 from claui/improve-file-extension-detection
...
Improve detection of file extensions in CurlDownloadStrategy
2018-03-21 12:37:52 +00:00
ilovezfs
e0a5284d7b
Revert "build: do not skip runtime deps of buildtime deps"
2018-03-21 05:30:51 -07:00
Mike McQuaid
8040c82e9e
Merge pull request #3610 from GauthamGoli/arg-parser
...
cli : Add basic arg parser and use it for parsing `brew audit` args
2018-03-21 08:56:38 +00:00
Mike McQuaid
42445dab9c
Merge pull request #3941 from bukzor/curl-crash
...
fix: crash when curl is not installed
2018-03-21 08:38:56 +00:00
Markus Reiter
2876aad217
Fix MethodDeprecatedError
output.
2018-03-21 05:42:23 +01:00
commitay
540f1545c3
Merge pull request #3886 from commitay/java-10
...
java_requirement, cask dsl caveats: java 10
2018-03-21 09:00:24 +10:00
Maxim Belkin
0513d9de5c
display_items: handle nil keys
2018-03-20 12:30:14 -05:00
Maxim Belkin
81042c63fb
dylib_to_dep: use Regexp
2018-03-20 10:06:52 -05:00
Markus Reiter
3cd5ae860f
Merge pull request #3821 from rednoah/master
...
Fix broken support GPG containers with embedded signatures
2018-03-20 16:00:29 +01:00
Mike McQuaid
058dad61b1
Merge pull request #3948 from MikeMcQuaid/audit-run
...
Audit use of :run dependencies.
2018-03-19 10:36:48 +00:00
Mike McQuaid
d2c23bde6d
Audit use of :run dependencies.
...
These are a no-op so let's remove them.
2018-03-19 10:11:08 +00:00
Mike McQuaid
08db242ccd
Merge pull request #3944 from bukzor/command-not-which
...
/usr/bin/which -> type -P
2018-03-19 08:52:21 +00:00
Reinhard Pointner
90a75119ca
e.g.
...
url "https://get.filebot.net/filebot/latest/FileBot_#{version}-darwin.tar.xz.gpg "
gpg :embedded, key_url: 'https://raw.githubusercontent.com/filebot/plugins/master/gpg/maintainer.pub '
2018-03-19 14:35:49 +07:00
Maxim Belkin
1501354ee7
Fix brew style error and warning
2018-03-18 19:03:31 -05:00
Maxim Belkin
9642485e73
Missing libraries now report corresponding missing formulae
2018-03-18 18:52:12 -05:00
Buck Evan
0a2e649f00
type -P
is more portable than which
...
Migrated from https://github.com/Linuxbrew/brew/pull/621
2018-03-18 16:51:22 -07:00
Maxim Belkin
8634f19107
linkage: consider missing links to Cellar
2018-03-18 17:40:52 -05:00
Buck Evan
a2646a8694
fix: crash when curl is not installed
2018-03-18 14:09:23 -07:00
Mike McQuaid
9c8adb4ac0
keg: delete __pycache__ directory.
2018-03-18 18:48:43 +00:00
Buck Evan
c1403ba933
/bin/cat -> cat
...
this allows odd linux installations (Android) to function
2018-03-17 17:05:39 -07:00
Mike McQuaid
63e8817950
Merge pull request #3937 from MikeMcQuaid/upgrade-pinned-warning
...
upgrade: make pinned error have correct exit code.
2018-03-17 17:40:10 +00:00
Maxim Belkin
2a6a2b2fa0
Fixes for linkage_checker
...
1. In "display_test_output": when printing dependencies without
linkage, use "Dependencies with no linkage" string instead of "Possible
unnecessary dependencies" for consistency with "display_normal_output"
2. In "check_dylibs": keep track of and skip repetitive checking of
those dylibs that have been previously checked. This is applicable when
different executables/libraries are linked against the same libraries.
3. In "check_undeclared_deps": when there are missing libraries,
corresponding dependencies should be excluded from the list of
dependencies with no linkage.
2018-03-17 00:49:04 -05:00
Mike McQuaid
96ff688b9d
upgrade: make pinned error have correct exit code.
...
Also, display before saying "no packages to upgrade".
Fixes #3936 .
2018-03-16 20:31:20 +00:00
Mike McQuaid
70a9a67411
Don't use Linuxbrew/homebrew-core (yet, at least).
...
This can't be tapped on vanilla Homebrew/brew because things like e.g.
`GlibcRequirement` are missing. We will put this back when the Linuxbrew
to Homebrew migration is complete.
2018-03-16 19:30:18 +00:00
Mike McQuaid
6c7e8608be
Merge pull request #3924 from MikeMcQuaid/include-test
...
install: add --include-test option.
2018-03-16 14:21:17 +00:00
Mike McQuaid
057d3461a9
Merge pull request #3932 from MikeMcQuaid/external-commands-docs
...
Improve external command documentation
2018-03-16 14:21:06 +00:00
Mike McQuaid
13bb2be21f
Merge pull request #3914 from MikeMcQuaid/prune-recursive-test
...
deps: don't display recursive test dependencies.
2018-03-16 14:20:47 +00:00