aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
AgeCommit message (Collapse)Author
2016-09-18Relocate HOMEBREW_REPOSITORY when necessary.Mike McQuaid
Now that the default from the installer, our CI and soon all users is `/usr/local/Homebrew` it's a lot easier to check if there's references to it (as we cannot look for `/usr/local` as it's a too commonly hardcoded path).
2016-09-18update-report: create top-level directories later.Mike McQuaid
Otherwise if they are created and empty they may be removed again before we try to create the `/usr/local/bin/brew` symlink.
2016-09-18update-report: migrate everyone to new repository.Mike McQuaid
Also migrate people without `HOMEBREW_DEVELOPER` set to the new location.
2016-09-18Merge pull request #963 from MikeMcQuaid/migrate-repositoryMike McQuaid
update-report: migrate /usr/local repository.
2016-09-18Merge pull request #1007 from MikeMcQuaid/update-remote-refMike McQuaid
update.sh: turn origin/branch into a variable.
2016-09-18os: update Linux troubleshooting urlBob W. Hogg
The existing one has two issues: * It doesn't reflect Linuxbrew's move to a separate GitHub org * It redirects to the legacy-linuxbrew (pre-core/brew split) wiki
2016-09-18update-report: migrate /usr/local repository.Mike McQuaid
Migrate a HOMEBREW_REPOSITORY and HOMEBREW_PREFIX of `/usr/local` so that the HOMEBREW_REPOSITORY is now in `/usr/local/Homebrew`. This gives us more flexibility on changing the repository layout in future and avoids putting junk in `/usr/local` when not necessary (e.g. our `README.md`).
2016-09-18update.sh: turn origin/branch into a variable.Mike McQuaid
Rather than repeating origin multiple times.
2016-09-18Merge pull request #989 from MikeMcQuaid/rubocop-finalMike McQuaid
Rubocop: apply auto-corrections and don't use hash-rockets
2016-09-17Merge pull request #1003 from zmwangx/utils-pathname-to-stringilovezfs
utils: convert formula name from pathname to string
2016-09-18Merge pull request #982 from zmwangx/dumb-term-in-testZhiming Wang
formula: set TERM to dumb during test
2016-09-17utils: convert formula name from pathname to stringZhiming Wang
`name` is passed as argument to Formulary.factory which could later be downcased at formulary.rb:349, but Pathname doesn't have a downcase method. Converting `name` to String as it should be fixes the problem. Fixes #1000.
2016-09-17utils: create missing kegs directories if needed.Mike McQuaid
2016-09-17utils: remove bad symlink if it already exists.Mike McQuaid
2016-09-17Merge pull request #992 from MikeMcQuaid/migrate-legacy-symlinks-harderMike McQuaid
Improve legacy symlink migration.
2016-09-17Improve legacy symlink migration.Mike McQuaid
Read the old symlinks and migrate them across rather than assuming a unlink/link will work fine (as users have conflicts.)
2016-09-17Improve rescue nesting.Mike McQuaid
2016-09-17no_weak_imports: always check for supportilovezfs
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-17rubocop --auto-correct all hash-rocket usage.Mike McQuaid
2016-09-17rubocop --auto-correct all remaining files.Mike McQuaid
But remove some manual `.freeze`s on constants that shouldn't be constants.
2016-09-17Move LinkedKegs migration.Mike McQuaid
Move the `LinkedKegs` migration into `utils.rb` so it can also be called from `brew.rb` on startup.
2016-09-17Merge pull request #984 from MikeMcQuaid/support-sierraMike McQuaid
os/mac: officially support Sierra.
2016-09-17Merge pull request #983 from MikeMcQuaid/update-force-linkedkegs-migrationMike McQuaid
Always run LinkedKegs migration (if needed).
2016-09-17Always run LinkedKegs migration (if needed).Mike McQuaid
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-17os/mac: officially support Sierra.Mike McQuaid
We have a GM, a bunch of bottles and CI setup.
2016-09-17test-bot: generate coverage reports on Sierra.Mike McQuaid
We may have two Sierra nodes available which could speed up this relatively slow operation.
2016-09-17Merge pull request #973 from MikeMcQuaid/move-repo-linksMike McQuaid
Move LinkedKegs/PinnedKegs/Locks from Library.
2016-09-17Merge pull request #978 from MikeMcQuaid/codecov-no-commentsMike McQuaid
.codecov.yml: disable GitHub comments.
2016-09-17formula: set TERM to dumb during testZhiming Wang
Software that tries to print different things (e.g. ANSI color) based on different termcaps often relies on the TERM environment variable, and could fail without it. This results in confusing test issues where certain tests can be successfully run by users testing locally with TERM set, but choke up on our CI. Always setting TERM to dumb leads to better consistency between local tests and CI tests, and saves much probing in certain cases.
2016-09-17.codecov.yml: Include missed (0% covered) files.Markus Reiter
2016-09-17.codecov.yml: Redirect root to Library/Homebrew.Markus Reiter
2016-09-17.codecov.yml: disable GitHub comments.Mike McQuaid
These are annoying and the status check is sufficient.
2016-09-16update-test: handle missing master branch.Mike McQuaid
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-16Move LinkedKegs/PinnedKegs/Locks from Library.Mike McQuaid
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-16Send coverage from Jenkins, don't run OS X Travis.Mike McQuaid
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-16Merge pull request #965 from mistydemeo/warn_xcode_8_without_cltMisty De Meo
Warn when using Xcode 8 without CLT on 10.11
2016-09-16Warn when using Xcode 8 without CLT on 10.11Misty De Meo
2016-09-15Merge pull request #966 from MikeMcQuaid/keg-lock-constantsMike McQuaid
Use constants for LinkedKegs/PinnedKegs/Locks.
2016-09-15Use constants for LinkedKegs/PinnedKegs/Locks.Mike McQuaid
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-15Merge pull request #970 from ilovezfs/ac_cv_xcode8ilovezfs
superenv: help Autotools with 10.12 SDK on 10.11
2016-09-15Merge pull request #967 from MikeMcQuaid/keg-all-top-dirsMike McQuaid
keg: add ALL_TOP_LEVEL_DIRECTORIES constant.
2016-09-15superenv: help Autotools with 10.12 SDK on 10.11ilovezfs
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-15Merge pull request #968 from MikeMcQuaid/utils-link-pathsMike McQuaid
utils: link_src_dst_dirs: paths not files.
2016-09-15keg: add ALL_TOP_LEVEL_DIRECTORIES constant.Mike McQuaid
This is used in diagnostic (and will be used in other places later) rather than hard-coding other directories later.
2016-09-15utils: link_src_dst_dirs: paths not files.Mike McQuaid
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-15Merge pull request #954 from aw1621107/require-scons-only-immediate-depMike McQuaid
Make scons use stdenv only if immediate build dep
2016-09-14Merge pull request #955 from aw1621107/allow-gcc-HEADMike McQuaid
Teach brew to recognize gcc-HEAD as valid compiler
2016-09-14Teach brew to recognize gcc-HEAD as valid compilerAlex Wang
Building gcc with --HEAD results in most of the executables not having a version suffix, e.g. Building/installing gcc 6 would result in gcc-6, g++-6, etc. being installed, while building/installing gcc --HEAD would result in gcc-, g++-, etc. being installed. The lack of a version suffix prevented brew from recognizing a valid gcc install, resulting in brew instructing users to install gcc before building certain formulae even though gcc is installed. A patch to the gcc formula makes the version number for --HEAD builds the major version number of the stable version + 1 (7 at this time). This patch teaches brew to recognize current --HEAD builds as valid compilers.
2016-09-14Merge pull request #903 from zmwangx/always-show-dev-commandsZhiming Wang
cmd/commands: always show developer commands
2016-09-14Merge pull request #957 from DomT4/xcode_8_stableDominyk Tiller
xcode: 8.0 is no longer prerelease