1393 Commits

Author SHA1 Message Date
Shaun Jackman
25df0c03d6 Store the formula used to build the keg in the keg
Store the formula used to build the keg inside the keg in a
file named NAME/VERSION/.brew/NAME.rb after removing the
bottle do ... end block.

See https://github.com/Homebrew/brew-evolution/pull/6.
Closes https://github.com/Homebrew/brew/issues/931.
2016-09-23 17:11:24 -07:00
Markus Reiter
9ce3c8d8a4 Fix Style/NumericLiterals. 2016-09-23 15:30:06 +02:00
Markus Reiter
4064084c58 Fix Style/MethodName. 2016-09-23 15:30:06 +02:00
Zhiming Wang
19dcb2cf41
test_versions: add elasticsearch alpha test case 2016-09-23 06:23:37 -04:00
Markus Reiter
759ee585d5 Merge pull request #1089 from reitermarkus/coverage
Fix coverage reporting.
2016-09-23 10:33:42 +02:00
Mike McQuaid
bc52932e5a Merge pull request #1014 from rwhogg/upstream-ant-dep-linux-fix
dependency_collector: Fix ant_dep for Linux
2016-09-23 08:41:45 +01:00
Markus Reiter
6b85593895 Fix coverage reporting. 2016-09-23 09:17:55 +02:00
Mike McQuaid
5cf3838f42 Merge pull request #1041 from penman/parallel_tests
Parallelise test suite
2016-09-23 07:57:35 +01:00
Bob W. Hogg
aae4dfaec0 automated rubocop fixup 2016-09-22 22:10:32 -04:00
Bob W. Hogg
0029ad2929 add the other test back in 2016-09-22 17:36:57 -04:00
Bob W. Hogg
fc1f4e4193 use newer ruby hash style 2016-09-22 08:31:50 -04:00
Bob W. Hogg
d02c8a46df add missing method to test_os_mac_dependency_collector 2016-09-22 08:31:50 -04:00
Bob W. Hogg
25b6c0c236 Remove unnecessary skips 2016-09-22 08:31:50 -04:00
Bob W. Hogg
2a82770f70 move mac-specific tests elsewhere 2016-09-22 08:31:50 -04:00
Bob W. Hogg
54a086e2fe dependency_collector: Fix ant_dep for Linux.
Signed-off-by: Bob W. Hogg <rwhogg@linux.com>
2016-09-22 08:31:50 -04:00
Alyssa Ross
9033af6bda tests, cask-tests: (maybe) fix coverage 2016-09-20 17:02:35 +00:00
Alyssa Ross
1c4ae98823 tests, cask-tests: log test runtimes 2016-09-20 13:16:11 +01:00
Marc Savy
7fc241765e Make mkdir wrapper use mkdir_p to create intermediate directories 2016-09-20 12:17:44 +01:00
Mike McQuaid
3099d126d7 test_bash: use new completions location. 2016-09-20 10:41:42 +01:00
Alyssa Ross
d3740ec34f tests: run in parallel 2016-09-19 23:00:58 +01:00
Alyssa Ross
28f707c907 tab: test tap runtime dependencies 2016-09-19 21:03:55 +01:00
Alyssa Ross
41e25209f7 Save runtime dependencies in INSTALL_RECEIPT.json
Fixes #930
2016-09-19 20:53:39 +01:00
Mike McQuaid
c9d9e54de6 Fix brew style from #971. 2016-09-19 16:04:32 +01:00
Mike McQuaid
c45119de75 Merge pull request #971 from penman/follow_alias
Make `brew upgrade` and `brew outdated` follow alias changes
2016-09-19 15:22:24 +01:00
Mike McQuaid
515f7b5255 Unify .rubocopy.yml files. 2016-09-19 11:18:09 +01:00
Alyssa Ross
d89a696d83 Remove unused variable
This will make brew readall --syntax pass
2016-09-19 02:24:21 +01:00
Alyssa Ross
6ec14288aa Formulae aren't outdated if replacement formula installed 2016-09-19 02:08:42 +01:00
Alyssa Ross
4abd48812b alias tracking: add formula tests 2016-09-19 02:08:39 +01:00
Alyssa Ross
912b8d4776 formula tests: more consistent names 2016-09-18 21:43:54 +01:00
Alyssa Ross
7b85934f50 Update formula tests for #outdated_kegs 2016-09-18 19:58:12 +01:00
Alyssa Ross
2a683f2569 upgrade, outdated: follow alias changes 2016-09-18 19:58:09 +01:00
Mike McQuaid
3f9cce0a03 Use new "macOS" naming where appropriate.
Not quite a mass replacement as I've used OS X and Mac OS X where
describing specific older versions and added compatibility methods
for things in the DSL.
2016-09-18 19:57:19 +01:00
Alyssa Ross
3d559fa796 Add Formula#installed_alias_path 2016-09-18 19:45:52 +01:00
Mike McQuaid
3982950e61 rubocop --auto-correct all hash-rocket usage. 2016-09-17 16:14:13 +01:00
Mike McQuaid
10f2bc2dea Merge pull request #973 from MikeMcQuaid/move-repo-links
Move LinkedKegs/PinnedKegs/Locks from Library.
2016-09-17 10:15:13 +01:00
Markus Reiter
b62e78a751 .codecov.yml: Include missed (0% covered) files. 2016-09-17 00:12:30 +02:00
Markus Reiter
24aa6a53ca .codecov.yml: Redirect root to Library/Homebrew. 2016-09-17 00:11:55 +02:00
Mike McQuaid
c0998f8287 .codecov.yml: disable GitHub comments.
These are annoying and the status check is sufficient.
2016-09-17 00:11:01 +02:00
Mike McQuaid
e3609b6fd4 Move LinkedKegs/PinnedKegs/Locks from Library.
These don't make sense to be tied to the `HOMEBREW_REPOSITORY` but
instead should live in the `HOMEBREW_PREFIX` as they all relate to its
state.
2016-09-16 13:51:56 +01:00
Mike McQuaid
b1fba6ed54 Send coverage from Jenkins, don't run OS X Travis.
OS X Travis CI is particularly error-prone, slow and unnecessary for
us when we're already running (fast) OS X builds on Jenkins so use it
just for Linux testing.
2016-09-16 10:20:09 +01:00
Misty De Meo
67cb634e20 Merge pull request #965 from mistydemeo/warn_xcode_8_without_clt
Warn when using Xcode 8 without CLT on 10.11
2016-09-16 16:22:45 +10:00
Misty De Meo
8a0861feab Warn when using Xcode 8 without CLT on 10.11 2016-09-16 13:46:59 +10:00
Mike McQuaid
72d10fff0b Use constants for LinkedKegs/PinnedKegs/Locks.
These definitions are scattered throughout the codebase which makes it
hard to refactor them later (my goal is to move them outside of
HOMEBREW_LIBRARY). Unify their definitions for clearer code and easier
movement later.
2016-09-15 18:28:42 +01:00
Mike McQuaid
ee545fa19a Library/Homebrew/test: add testbottest formula/tarball.
Minimal C program and Makefile used for testing Homebrew.
2016-09-12 21:36:12 +01:00
Mike McQuaid
59116d08ca Merge pull request #927 from MikeMcQuaid/dev-cmd-rubocop
Fix Library/Homebrew/dev-cmd RuboCop warnings
2016-09-12 08:09:29 +01:00
Mike McQuaid
e24a890e59 test/test_tab: fix Rubocop warnings. 2016-09-11 21:48:06 +01:00
Mike McQuaid
d937f23932 test/test_shell: fix Rubocop warnings. 2016-09-11 21:48:06 +01:00
Mike McQuaid
fc7ac2f07b test/test_resource: fix Rubocop warnings. 2016-09-11 21:48:06 +01:00
Mike McQuaid
501774e3bc test/test_os_mac_language: fix Rubocop warnings. 2016-09-11 21:48:06 +01:00
Mike McQuaid
e89de3351f test/test_integration_cmds: fix Rubocop warnings. 2016-09-11 21:48:05 +01:00