Commit Graph
10465 Commits
Author SHA1 Message Date
ilovezfs 390bcf413b no_weak_imports: always check for support
ENV.no_weak_imports should be a no-op when Xcode doesn't support the
feature to avoid breaking builds with <= Xcode 7.
2016-09-17 08:29:47 -07:00
Mike McQuaidandGitHub 299dffd903 Merge pull request #988 from MikeMcQuaid/move-linkedkegs-migration
Move LinkedKegs migration.
2016-09-17 15:09:47 +01:00
Mike McQuaid 8f1ae3b28b Move LinkedKegs migration.
Move the `LinkedKegs` migration into `utils.rb` so it can also be called
from `brew.rb` on startup.
2016-09-17 15:00:46 +01:00
Mike McQuaidandGitHub 224794c761 Merge pull request #984 from MikeMcQuaid/support-sierra
os/mac: officially support Sierra.
2016-09-17 14:09:18 +01:00
Mike McQuaidandGitHub e3fe2704eb Merge pull request #983 from MikeMcQuaid/update-force-linkedkegs-migration
Always run LinkedKegs migration (if needed).
2016-09-17 13:29:23 +01:00
Mike McQuaidandGitHub 789cfb0961 Merge pull request #986 from MikeMcQuaid/test-bot-sierra-coverage
test-bot: generate coverage reports on Sierra.
2016-09-17 13:28:04 +01:00
Mike McQuaid 8aa18510c4 Always run LinkedKegs migration (if needed).
Ensure that `brew update` always runs the LinkedKegs migration if needed
as it may not have been run by `brew update` if it was using `--preinstall` or
a `git pull` etc.

Also, if the old paths still exist: just use them instead.

Finally, always try to unlink/unpin before link/pin.

Fixes https://github.com/Homebrew/homebrew-core/issues/4918.
2016-09-17 13:25:32 +01:00
Mike McQuaid 43d8b969db os/mac: officially support Sierra.
We have a GM, a bunch of bottles and CI setup.
2016-09-17 12:59:32 +01:00
Mike McQuaid b1903c1a4a test-bot: generate coverage reports on Sierra.
We may have two Sierra nodes available which could speed up this
relatively slow operation.
2016-09-17 12:55:46 +01:00
Mike McQuaidandGitHub 10f2bc2dea Merge pull request #973 from MikeMcQuaid/move-repo-links
Move LinkedKegs/PinnedKegs/Locks from Library.
2016-09-17 10:15:13 +01:00
Mike McQuaidandGitHub 297eeac0d3 Merge pull request #978 from MikeMcQuaid/codecov-no-comments
.codecov.yml: disable GitHub comments.
2016-09-17 10:15:08 +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 McQuaidandMarkus Reiter c0998f8287 .codecov.yml: disable GitHub comments.
These are annoying and the status check is sufficient.
2016-09-17 00:11:01 +02:00
Mike McQuaidandGitHub a54c96825b Merge pull request #977 from MikeMcQuaid/update-test-handle-missing-master
update-test: handle missing master branch.
2016-09-16 18:00:34 +01:00
Mike McQuaid 1649545cf9 update-test: handle missing master branch.
Ensure it's always created.

Also, re-order `update-test` in `test-bot` (and `readall`) so they are
run before the test suites.
2016-09-16 17:17:50 +01: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 McQuaidandGitHub 53713593d6 Merge pull request #914 from MikeMcQuaid/test-bot-travis-coveralls
Send coverage from Jenkins, don't run OS X Travis.
2016-09-16 11:11:03 +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
Mike McQuaidandGitHub ddafaaecfc Merge pull request #936 from joshka/feature/brew-cask-zsh
Install brew-cask zsh completions by default
2016-09-16 09:20:35 +01:00
Misty De MeoandGitHub 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 McQuaidandGitHub 1c5fa19f84 Merge pull request #966 from MikeMcQuaid/keg-lock-constants
Use constants for LinkedKegs/PinnedKegs/Locks.
2016-09-15 18:57:04 +01: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
ilovezfsandGitHub a148aa3a41 Merge pull request #970 from ilovezfs/ac_cv_xcode8
superenv: help Autotools with 10.12 SDK on 10.11
2016-09-15 04:35:22 -07:00
Mike McQuaidandGitHub fcb9659052 Merge pull request #967 from MikeMcQuaid/keg-all-top-dirs
keg: add ALL_TOP_LEVEL_DIRECTORIES constant.
2016-09-15 11:49:28 +01:00
ilovezfs 1d7aa1fe0b superenv: help Autotools with 10.12 SDK on 10.11
The GNU Autotools tests for whether a given symbol is defined are
reliably coming to incorrect conclusions on 10.11 with the 10.12 SDK
in Xcode 8. This overrides its decisions by forcing the right answer
in superenv using ac_cv_func_* environment variables and setting them to
"no" on 10.11. The list of problematic symbols is from

  grep 'weak$os10.11' MacOSX.sdk/usr/lib/system/libsystem_c.tbd
2016-09-15 03:34:43 -07:00
Mike McQuaidandGitHub e02962f84e Merge pull request #968 from MikeMcQuaid/utils-link-paths
utils: link_src_dst_dirs: paths not files.
2016-09-15 10:10:08 +01:00
Mike McQuaid 842d6ce8bd keg: add ALL_TOP_LEVEL_DIRECTORIES constant.
This is used in diagnostic (and will be used in other places later)
rather than hard-coding other directories later.
2016-09-15 09:20:39 +01:00
Mike McQuaid 9ee4426cf9 utils: link_src_dst_dirs: paths not files.
This can ask for you to remove directories (e.g.
`/usr/local/share/homebrew`) so don’t call this files to avoid
confusion.
2016-09-15 09:19:36 +01:00
Mike McQuaidandGitHub 2818156280 Merge pull request #954 from aw1621107/require-scons-only-immediate-dep
Make scons use stdenv only if immediate build dep
2016-09-15 09:16:19 +01:00
Dominyk TillerandGitHub 0992951634 Merge pull request #962 from DomT4/docs
Documentation Updates.
2016-09-15 02:04:34 +01:00
Dominyk Tiller ba20823a66 External-Commands: brew-cask is now part of Homebrew 2016-09-14 21:15:07 +01:00
Dominyk Tiller da3e98070b Formula-Cookbook: tweak :run explanation 2016-09-14 20:56:28 +01:00
Mike McQuaidandGitHub 985e772278 Merge pull request #955 from aw1621107/allow-gcc-HEAD
Teach brew to recognize gcc-HEAD as valid compiler
2016-09-14 20:50:57 +01:00
Dominyk Tiller de283d81c5 Maintainer-Guidelines: tweak guidelines 2016-09-14 19:53:35 +01:00
Dominyk Tiller 49e9be1970 Formula-Cookbook: note audit --new-formula for new formula 2016-09-14 19:18:37 +01:00
Dominyk Tiller f870faf92e Formula-Cookbook: update Alias creation advice 2016-09-14 19:14:59 +01:00
Dominyk Tiller ec2302ad90 Formula-Cookbook: update urls 2016-09-14 19:03:29 +01:00
Dominyk Tiller 0cc4d530dc Formula-Cookbook: document :run 2016-09-14 18:12:47 +01:00
Dominyk Tiller 3eb966c309 Formula-Cookbook: detail build env less generically 2016-09-14 17:59:20 +01:00
Dominyk Tiller f744cdbc81 Formula-Cookbook: note LibreSSL audit check 2016-09-14 17:54:55 +01:00
Dominyk Tiller 840e86d454 Formula-Cookbook: recommend audit --new-formula for new formula 2016-09-14 17:53:13 +01:00
Dominyk Tiller 23b120e155 External-Commands: remove replaced brew-more tool 2016-09-14 17:44:09 +01:00
Dominyk Tiller edd2c3d968 External-Commands: update homebrew-services URL 2016-09-14 17:43:39 +01:00
Dominyk Tiller c5df953021 Custom-GCC-and-cross-compilers: wrap to ~80 characters 2016-09-14 17:38:51 +01:00
Dominyk Tiller e4f607e4c8 Custom-GCC-and-cross-compilers: remove dead taps 2016-09-14 17:37:24 +01:00
Dominyk Tiller e25bcfe933 Common-Issues-for-Core-Contributors: update link 2016-09-14 17:33:30 +01:00
Dominyk Tiller 372a2b2470 C++-Standard-Libraries: wrap to ~80 characters 2016-09-14 17:29:07 +01:00
Dominyk Tiller 06145dd6d0 C++-Standard-Libraries: note Xcode 8's libstdc++ deprecation 2016-09-14 17:27:48 +01:00