10663 Commits

Author SHA1 Message Date
Dominyk Tiller
6442cb3032
xcode: update expected clang for macOS 10.12 2016-08-19 01:59:33 +01:00
ilovezfs
a5dac52d10 audit: fix suggested GitHub pull request URLs
Closes #746.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
2016-08-18 15:16:14 -07:00
ilovezfs
ef2674b812 Merge pull request #744 from ilovezfs/extensionless
version: fix parsing of URLs ending with version
2016-08-18 12:42:23 -07:00
Mike McQuaid
27ecf588c7 Rename bottle's revision to rebuild. 2016-08-18 17:32:35 +01:00
Mike McQuaid
5c7c9de669 Merge pull request #743 from MikeMcQuaid/version-scheme-cookbook-audit
Add Formula Cookbook entry and audit check for version_scheme
2016-08-18 15:29:58 +01:00
Mike McQuaid
e83da4c8e6 audit: tweak "remove revision" message clarity.
Reference the revision value so it's more obvious that this does not
refer to e.g. a SCM revision.
2016-08-18 15:04:51 +01:00
Mike McQuaid
8137b80a20 audit: audit version_scheme.
Reuse the existing `revision` method that was made more generic.
2016-08-18 15:04:51 +01:00
Mike McQuaid
41f6334b5b audit: make audit_revision more generic.
This will allow it to be used for checking other attributes too.
2016-08-18 15:04:51 +01:00
Mike McQuaid
eea0da362b audit: ensure correct version_scheme placement. 2016-08-18 15:04:51 +01:00
Mike McQuaid
55ba22e296 formula_versions: add version_attributes_map.
This allows querying multiple attributes in the same way as
`revision_map` did but without duplicating code or repeatedly traversing
history.
2016-08-18 15:04:51 +01:00
Mike McQuaid
cc2a90ec8d Formula-Cookbook: add version_scheme documentation. 2016-08-18 15:04:51 +01:00
ilovezfs
a5a1b2969f version: fix parsing of URLs ending with version
https://github.com/lihaoyi/Ammonite/releases/download/0.7.4/0.7.4

was parsing as "0.7" not "0.7.4" since ".4" was being treated as a
legitimate file extension. At minimum, let's insist that a valid file
extension include at least one letter to avoid lopping off part of the
correct version string.
2016-08-18 06:51:02 -07:00
Mike McQuaid
b39eba6c5f Merge pull request #719 from vladshablinsky/epochs
Implement epochs
2016-08-18 12:24:54 +01:00
Mike McQuaid
48c442eca5 Merge pull request #739 from scpeters/patch-1
Brew-Test-Bot.md: fix broken link
2016-08-18 09:56:30 +01:00
Xu Cheng
bf05651a01 remove ruby 1.8 compatible codes (#742) 2016-08-18 16:54:48 +08:00
Vlad Shablinsky
6a684f4199 test_formula: add epoch tests 2016-08-18 10:38:20 +02:00
Vlad Shablinsky
f085597cbd Use epochs in tabs 2016-08-18 10:38:10 +02:00
Vlad Shablinsky
884a839c71 formula: add epoch 2016-08-18 10:36:28 +02:00
Xu Cheng
e423617d77
remove ruby 1.8 compatible codes 2016-08-18 14:35:39 +08:00
Tim D. Smith
9c7f24b84a Add permit_weak_imports directive
Issue Homebrew/homebrew-core#3727 suggested we set -no_weak_imports for
new versions of Xcode to ensure that e.g. building on 10.11 against the
10.12 SDK doesn't result in a situation where autotools thinks symbols
exist that don't actually exist on the current platform.

Further discussion in golang/go#16770 revealed that some packages
require weak imports to build normally.
2016-08-17 23:02:44 -07:00
Tim D. Smith
764390aadd Document 'w' CCCFG flag 2016-08-17 23:02:38 -07:00
Xu Cheng
af3ad3cb86
disable sandbox for 10.5
Although `sandbox-exec` is available in 10.5, it has very limit
support on the DSL for sandbox profile file(.sb file). Therefore,
sandbox for Homebrew on 10.5 is broken.

Closes #735.

Signed-off-by: Xu Cheng <git@xuc.me>
2016-08-18 13:35:52 +08:00
Xu Cheng
91c5dee5a0
Sandbox.formula?: allow to disable sandbox by user 2016-08-18 13:35:51 +08:00
Steven Peters
e7c44c90c3 Brew-Test-Bot.md: fix broken link 2016-08-17 16:23:02 -07:00
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
54e37e5dcc Merge pull request #727 from MikeMcQuaid/incoming-cask
Prepare for Homebrew Cask to be imported.
2016-08-17 10:22:19 +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