13324 Commits
Author SHA1 Message Date
Mike McQuaid 021fe22e3c Merge pull request #3781 from MikeMcQuaid/gem-path-home
utils: only look for gems in GEM_HOME.
2018-02-10 19:27:43 +00:00
Mike McQuaid 99dda758c4 utils: only look for gems in GEM_HOME.
This avoids issues where a gem is installed but cannot be found.

Fixes #3355.
Fixes #3760.
2018-02-09 21:09:18 +00:00
Mike McQuaid 646d696135 Merge pull request #3780 from MikeMcQuaid/xcode_req_version
xcode_requirement: handle nil @version.
2018-02-09 20:35:19 +00:00
Mike McQuaid c32865011d xcode_requirement: handle nil @version.
When the Xcode requirement doesn't specify a version then we need to
guard this check.
2018-02-09 19:37:15 +00:00
Chayoung You b05d69f600 Format identifiers in oh1 2018-02-09 18:00:29 +09:00
William Woodruff b4443e1cc0 Merge branch 'audit-deny-binary-looking-urls' 2018-02-07 11:20:19 -05:00
William Woodruff 3f43f60a2a audit: Warn on new formulae containing binary URLs 2018-02-06 08:44:56 -05:00
Mike McQuaid 3a2e6b82fd Make pinning more robust
Don’t autoremove pins on uninstall or upgrade and note this in the
manpage.
2018-02-05 10:59:11 +00:00
Mike McQuaid 62f85cfabb Merge pull request #3765 from MikeMcQuaid/metadata-odeprecated
utils: no .metadata deprecations.
2018-02-05 11:58:29 +01:00
Mike McQuaid 3ac2f81f3c Merge pull request #3757 from EricFromCanada/master
docs: add more option descriptions
2018-02-05 10:31:57 +01:00
Mike McQuaid 0a12328500 utils: no .metadata deprecations.
Otherwise running on old casks can produce deprecations.

Fixes #3738.
2018-02-05 09:14:54 +00:00
William Woodruff 7fffccba05 audit: Remove FILEUTILS_METHODS constant
This constant hasn't been used since there was an `audit_line`
method, and as such is vestigial.
2018-02-04 22:44:46 -05:00
Mike McQuaid a44b21b2df Merge pull request #3751 from xiehuc/master
add ALL_PROXY for brew
2018-02-02 10:13:27 +00:00
EricFromCanada 91246c2553 docs: fix double backticks appearing in HTML manpage 2018-02-01 17:17:09 -05:00
EricFromCanada 1d2b4ed321 docs: add more missing option descriptions
and improve wording or formatting where necessary.
2018-02-01 16:06:17 -05:00
xiehuc 3e6adb7e33 update all_proxy and man pages #3751 2018-02-01 18:11:29 +08:00
Mike McQuaid 701ecb4975 Merge pull request #3747 from MikeMcQuaid/no-tap-deprecated
tap: don’t tap deprecated taps.
2018-01-30 09:55:08 -08:00
ilovezfs c77cafcf82 Merge pull request #3729 from ilovezfs/bump-formula-pr-more-enhancements
bump-formula-pr: more enhancements.
2018-01-29 22:50:03 -08:00
Mike McQuaid 28ce1a1e52 Merge pull request #3749 from MikeMcQuaid/xcode-requirement-macos-upgrade
xcode_requirement: inform users of macOS upgrade.
2018-01-29 17:44:10 +00:00
Mike McQuaid fdd3aa3000 Merge pull request #3746 from alyssais/development_tools_bottle
Don't suggest install from bottle if not available
2018-01-29 17:35:52 +00:00
Alyssa Ross a9dc02a586 Don't suggest install from bottle if not available
It only makes sense to tell a user to try installing from a bottle if
there are bottles available for them to install for all the formulae
they specified.
2018-01-28 22:47:39 +00:00
commitay aa8003103e cask style: fix --fix 2018-01-29 07:45:34 +10:00
Mike McQuaid 1373441e53 xcode_requirement: inform users of macOS upgrade.
If you need a newer Xcode than the latest version provided by your
version of macOS then you need to upgrade your OS to install the
software.
2018-01-28 19:08:19 +00:00
Mike McQuaid c9f02aa3f7 tap: don’t tap deprecated taps.
These no longer have any files in them.
2018-01-28 19:07:01 +00:00
Markus Reiter 9f4b4a1699 Merge pull request #3740 from reitermarkus/cask-style
Fix `brew cask style` on Travis.
2018-01-28 17:53:49 +01:00
ilovezfs ccbe4945ad bump-formula-pr: improve version formula component regex. 2018-01-28 08:12:12 -08:00
ilovezfs 98e48a9da7 bump-formula-pr: regex escape urls in replacements. 2018-01-28 08:12:12 -08:00
ilovezfs edd1c76d40 bump-formula-pr: detect download strategy from url.
Previously, CurlDownloadStrategy was hard coded.
2018-01-28 08:12:12 -08:00
ilovezfs 6460a34e65 bump-formula-pr: add Debian mirror handling. 2018-01-28 08:12:12 -08:00
ilovezfs e46fbdd18d bump-formula-pr: update GNU mirror handling.
homebrew/core now uses ftp.gnu.org/gnu for the primary url and
ftpmirror.gnu.org for the mirror.
2018-01-28 08:10:53 -08:00
ilovezfs 99bb068ca7 bump-formula-pr: improve formula name guessing. 2018-01-28 08:10:53 -08:00
Markus Reiter 884c57f9f4 Fix brew cask style on Travis. 2018-01-28 07:00:20 +01:00
Markus Reiter b4df024625 Allow passing down configuration into Cask. 2018-01-27 21:47:18 +01:00
Markus Reiter 6760d26319 Create Hbc::Config class. 2018-01-27 21:47:18 +01:00
Mike McQuaid 4abae7f7e9 Always install Gems into bundler location. 2018-01-26 22:05:43 +00:00
Mike McQuaid d1d4a667d1 tap-new: update based on Homebrew/brew travis.yml. 2018-01-26 21:47:33 +00:00
Mike McQuaid 78933b3ee9 ruby.sh: fix version check.
- Rather than checking for the absence of a failure check for an actual success in the check
- Fix the check to work on Ruby 1.9 (where `RUBY_VERSION.to_s.dup` is required to avoid modifying a frozen string).
2018-01-26 21:47:33 +00:00
ilovezfs 5a3555eeee bump-formula-pr: only validate tar files. 2018-01-24 04:22:11 -08:00
ilovezfs 4a1a8b86ac bump-formula-pr: use "resource" not "rsrc" 2018-01-24 03:51:23 -08:00
Mike McQuaid 60a30e966b Merge pull request #3725 from MikeMcQuaid/fix-odeprecated-again
utils: reduce odeprecated warnings.
2018-01-24 09:13:01 +00:00
Mike McQuaid 459b113e28 utils: reduce odeprecated warnings.
Fix the code so we don't actually output `odeprecated` warnings for
`HOMEBREW_CACHE`d or `.brew`d formulae.
2018-01-24 09:02:00 +00:00
Mike McQuaid ea0af7d1af Merge pull request #3724 from ilovezfs/call-satisfied-at-least-once
build: call satisified? before modifying env.
2018-01-23 19:50:20 +00:00
Mike McQuaid 2844b0748d build: remove req satisfied calls. 2018-01-23 14:09:17 +00:00
Mike McQuaid 5cfb81253c requirement: odeprecated for default_formula usage. 2018-01-23 11:26:27 +00:00
Mike McQuaid 02d876528a requirement: make deprecated stuff unsupported. 2018-01-23 11:26:14 +00:00
Mike McQuaid 46633af76a requirement: call satisfied? from modify_build_environment. 2018-01-23 11:26:00 +00:00
ilovezfs 7879272689 build: call satisified? before modifying env.
Requirement#modify_build_environment may depend on the side effects of
Requirement#satisfied?, so make sure the latter is called at least once
for each requirement during formula installation. Prior to b70b5429d0,
Requirement#satisfied? would usually be called during Build#expand_reqs,
but that is longer the case.
2018-01-22 23:07:27 -08:00
ilovezfs 69db925e8a fetch: also fetch resources' patches 2018-01-22 01:10:14 -08:00
ilovezfs 7c07ec5fc1 resource: allow patches to be applied 2018-01-22 01:10:14 -08:00
ilovezfs da77f23bc7 rubocop: don't always display cop names. 2018-01-21 07:23:53 -08:00