9288 Commits

Author SHA1 Message Date
Dominyk Tiller
db2e9b8375
rubocop: reinstate hash_rockets
Temporarily.
2016-08-17 16:54:42 +01:00
Mike McQuaid
8b04d43291 Merge pull request #734 from MikeMcQuaid/brew.rb-allow-leopard
brew.rb: allow 10.5.
2016-08-17 15:36:37 +01:00
Mike McQuaid
3d2fd0d15f Merge pull request #730 from MikeMcQuaid/tap-cask-before-cask-tests
test-bot: tap cask before cask-tests.
2016-08-17 15:27:09 +01:00
Xu Cheng
c8d814f907
ENV/super: use Hardware::CPU.is_32_bit?
`Hardware.is_32_bit?` is deprecated.
2016-08-17 22:13:30 +08:00
Mike McQuaid
7cb118221e brew.rb: allow 10.5.
We'll keep the Homebrew installer pointing to Tigerbrew for now but as
Homebrew/brew technically has no reason to not work on 10.5 let's remove
this check.
2016-08-17 15:09:20 +01:00
Mike McQuaid
8490985953 test-bot: tap cask before cask-tests. 2016-08-17 14:47:41 +01:00
Mike McQuaid
3774b4641f test/Gemfile.lock: remove json pin. 2016-08-17 14:28:11 +01:00
Mike McQuaid
27fc2abaca shared: handle missing Xcode/CLT version.
Fixes https://github.com/Homebrew/homebrew-core/issues/3973.
2016-08-17 13:23:13 +01:00
Mike McQuaid
6878577d12 Merge pull request #721 from MikeMcQuaid/no_weak_imports
Set -no_weak_imports linker flag for Xcode 8
2016-08-17 12:22:28 +01:00
Mike McQuaid
cf71e30180 Merge pull request #724 from MikeMcQuaid/assume-ruby-two
Assume Ruby 2
2016-08-17 11:07:17 +01:00
Mike McQuaid
ed5e2ea300 utils/curl: assume Ruby 2. 2016-08-17 10:27:45 +01:00
Mike McQuaid
495da233d7 test/Gemfile: assume Ruby 2. 2016-08-17 10:27:45 +01:00
Mike McQuaid
5bbc3c21f2 Merge pull request #555 from UniqMartin/goodbye-legacy
Remove legacy Aliases/Formula symlink from Library
2016-08-17 10:24:39 +01:00
Mike McQuaid
ee6c43ebee shims/super/cc: assume Ruby 2. 2016-08-17 09:19:56 +01:00
Mike McQuaid
f32251d461 extend/fileutils: assume Ruby 2. 2016-08-17 09:19:56 +01:00
Mike McQuaid
7dddc4df9f exceptions: assume Ruby 2. 2016-08-17 09:19:56 +01:00
Mike McQuaid
3ae663c013 test-bot: assume Ruby 2. 2016-08-17 09:19:56 +01:00
Mike McQuaid
7c278319ed descriptions: assume Ruby 2. 2016-08-17 09:19:56 +01:00
Mike McQuaid
59b3c085ba cmd/audit: assume Ruby 2. 2016-08-17 09:19:56 +01:00
Mike McQuaid
179ef2bf8c global: raise unless Ruby 2. 2016-08-17 09:19:56 +01:00
Mike McQuaid
0dc2beef7b rubocop: remove Ruby 1.8 compatibility checks. 2016-08-17 09:19:56 +01:00
Mike McQuaid
135ecd1295 Prepare for Homebrew Cask to be imported.
- ignore Cask's files in `readall` (for now, there's an intentional
  syntax error that will need fixed)
- run Cask's tests if they exist
- don't check Cask's files in coverage reports (for now)
2016-08-17 09:11:11 +01:00
Mike McQuaid
89687fe122 Merge pull request #720 from MikeMcQuaid/homebrew-developer-docs
Tweak HOMEBREW_DEVELOPER documentation.
2016-08-17 08:43:13 +01:00
Mike McQuaid
daae44e190 Merge pull request #723 from MikeMcQuaid/diagnostic-HEAD
diagnostic: don't barf if HEAD is also a file.
2016-08-17 08:35:35 +01:00
Mike McQuaid
2ab5c77d0c Merge pull request #713 from MikeMcQuaid/ship-sandbox
Enable sandbox by default for homebrew/core
2016-08-17 08:30:16 +01:00
Mike McQuaid
63949a8e04 Tweak HOMEBREW_DEVELOPER documentation.
This option does more than just print warnings so let's make a more
generic description with a more specific example.

Closes #716.
2016-08-17 08:22:16 +01:00
Martin Afanasjew
823505a058 Fix minor issues in command help text formatting
- Inconsistent or unneeded indentation
- Missing or superfluous empty lines
- Missing or wrongly formatted arguments in command summary
- Missing punctuation
2016-08-17 01:25:51 +02:00
Mike McQuaid
5609183567 superenv: add LDFLAGS if disabling weak imports. 2016-08-16 15:26:28 +01:00
Mike McQuaid
53d1000739 ENV/std: add LDFLAGS if disabling weak imports. 2016-08-16 15:26:28 +01:00
Mike McQuaid
b33fe79478 mac/ENV/shared: add check for disabling weak imports. 2016-08-16 15:26:28 +01:00
Mike McQuaid
74d4479246 Add OS X-specific SharedEnvExtension. 2016-08-16 15:26:28 +01:00
Mike McQuaid
739881b482 diagnostic: don't barf if HEAD is also a file.
Closes #694.
2016-08-16 14:31:50 +01:00
Mike McQuaid
984ed836bd doctor: print check on --debug. 2016-08-16 11:16:37 +01:00
Mike McQuaid
dffd556220 Merge pull request #704 from eirinikos/add-cmd-audit-unit-tests
tests: add cmd/audit unit tests
2016-08-16 10:40:36 +01:00
Mike McQuaid
87173cb7cd Merge pull request #710 from MikeMcQuaid/list-manpage-tweaks
list: note that `ls` command is used.
2016-08-16 10:25:53 +01:00
Mike McQuaid
8a24d5f942 Merge pull request #513 from MikeMcQuaid/enable-vendor-ruby
Enable vendored Ruby 2.0.
2016-08-16 10:16:49 +01:00
Andrea Kao
5a965d3006 tests: add cmd/audit unit tests (caveats, desc, homepage) 2016-08-15 15:28:06 -07:00
Mike McQuaid
c6151951d6 cmd/postinstall: use Sandbox.formula? method. 2016-08-15 08:33:59 +01:00
Mike McQuaid
6375adc0ff formula_installer: use Sandbox.formula? method. 2016-08-15 08:33:59 +01:00
Mike McQuaid
6e887fbf5a sandbox: add formula? method and sandbox core.
Add a new `Sandbox.formula?` method to see if a given formula should be
sandboxed. Use the formula to check its tap against a list of
pre-approved taps where we know every formula builds under the sandbox
(currently just homebrew/core).
2016-08-15 08:33:58 +01:00
Mike McQuaid
ca3e4fcc1d cmd/test: use Sandbox.test? 2016-08-15 08:33:58 +01:00
Mike McQuaid
fed96385ac sandbox: add test? method.
Simplify checking if we’re going to sandbox a test with `Sandbox.test?`.
2016-08-15 08:33:58 +01:00
Andrew Janke
d57800c45b brew: sanitize BASH_ENV 2016-08-14 17:20:29 -04:00
Tim D. Smith
4309a19a7c Test that sandbox complains correctly
Test that sandbox does not complain about bogus .pyc errors and does
complain about other failures.

Closes #684.
2016-08-14 12:23:17 -07:00
Tim D. Smith
2aad3e052a Don't report .pyc file writes in sandbox logs
These are never fatal and often confusing.

Fixes #683.
2016-08-14 12:21:50 -07:00
Mike McQuaid
4111d29c81 Merge pull request #711 from MikeMcQuaid/update-test-tweak
update-test: tweak master not updated check.
2016-08-14 13:13:50 +01:00
Mike McQuaid
28fe84e5db pull: loosen Jenkins Testing URL. 2016-08-14 12:06:37 +01:00
Mike McQuaid
65164cb386 update-test: tweak master not updated check.
Loosen this a bit; we don't necessarily expect the end commit is the one
we're looking for, just that it has changed from the start commit (i.e.
some sort of update has occurred).

Addresses some false negatives on `master` branch merges that weren't
present on the PR commits.
2016-08-14 11:52:22 +01:00
Mike McQuaid
0695edafa1 list: note that ls command is used.
And arguments can be passed through to it.

Tweak produced out of conversation in
https://github.com/Homebrew/brew-evolution/pull/8.
2016-08-14 10:38:34 +01:00
Mike McQuaid
d5005f4d8b Merge pull request #679 from MikeMcQuaid/ship-auto-update
Ship Homebrew auto-update support.
2016-08-14 10:07:28 +01:00