9783 Commits
Author SHA1 Message Date
ilovezfs bbed7246bc Merge pull request #1078 from ilovezfs/cmake-weak-symbols
formula: help CMake with 10.12 SDK on 10.11
2016-09-22 04:36:24 -07:00
Mike McQuaid 635375060c Merge pull request #1076 from MikeMcQuaid/homebrew-version-git-describe
Use git describe to get the HOMEBREW_VERSION.
2016-09-22 12:25:39 +01:00
Mike McQuaid 9784fa4122 Merge pull request #1077 from MikeMcQuaid/no-checkout-branch-message
update.sh: don't print "checkout branch" message.
2016-09-22 11:43:13 +01:00
ilovezfs 4c358d66a9 formula: help CMake with 10.12 SDK on 10.11
This adds a CMake cache entry to std_cmake_args specifying that the
function clock_gettime is not available on 10.11 in order to avoid
runtime errors such as

  dyld: lazy symbol binding failed: Symbol not found: _clock_gettime

when the build system is confused by Xcode 8's weak symbols.

Other weak symbols on 10.11, which may merit the same treatment in the
future, can be found with

  grep 'weak$os10.11' MacOSX.sdk/usr/lib/system/libsystem_c.tbd
2016-09-22 01:37:28 -07:00
Markus Reiter c310557236 Merge pull request #1064 from reitermarkus/migrate-caskroom
Ask for `sudo` when moving Caskroom.
2016-09-22 10:20:54 +02:00
Mike McQuaid b33df4d0fa update.sh: don't print "checkout branch" message.
It’ll only get printed for people getting updated to tags now and these
are people who haven’t run a `dev-cmd` so we want to air on the side of
telling them less stuff that will confuse them and assume people who
have manually made another `git` branch will know how to get back to it.
2016-09-22 09:05:07 +01:00
Mike McQuaid f0e9292acd Use git describe to get the HOMEBREW_VERSION.
For tagged commits produces the output:
- `1.0.1`

For untagged commits with a dirty tree produces the output:
- `1.0.1-19-g23efbc5-dirty`

Performance:
```
git describe --tags --dirty 2> /dev/null
0.07s user 0.01s system 96% cpu 0.086 total
```

This means we can tag any commit without needing to manually remember
to bump the revision every time.
2016-09-22 08:56:40 +01:00
Mike McQuaid 23efbc5198 Merge pull request #1051 from woodruffw/cctools-macho-remove
Delete old cctools-based relocation code.
2016-09-22 08:48:41 +01:00
Mike McQuaid 93b5278150 Merge pull request #1059 from josephfrazier/uninstall-multiple-versions-pronoun
uninstall: improve pronoun for multiple version message
2016-09-22 08:45:18 +01:00
Mike McQuaid 2926aa470b Merge pull request #1074 from DomT4/sandy
sandbox: tweaks
2016-09-22 08:39:30 +01:00
Mike McQuaid 0f975ceb9f Merge pull request #1066 from maxim-belkin/readall-fix
readall: do not require itself.
2016-09-22 08:22:08 +01:00
Dominyk Tiller 3bbf62f37a sandbox: loosen restriction around Xcode caching
It doesn't really need to be as tight as it is currently, certainly outside brew
you can write to here without any special privileges beside being the user,
and being so can tight can cause issues on clean systems or systems where
Xcode hasn't been used before as exposed by https://github.com/Homebrew/homebrew-core/issues/4892.

Closes https://github.com/Homebrew/homebrew-core/issues/4892.
2016-09-22 05:11:41 +01:00
Dominyk Tiller c7d75bffeb sandbox: sandbox homebrew/tex by default 2016-09-21 23:34:18 +01:00
Dominyk Tiller 713437a5ef sandbox: sandbox homebrew/devel-only by default 2016-09-21 23:14:14 +01:00
Dominyk Tiller 273affabe3 sandbox: sandbox homebrew/fuse by default 2016-09-21 22:14:01 +01:00
Markus Reiter ee25e2b346 Merge pull request #1068 from maxim-belkin/rubocop-fix
rubocop: fix soft links targets
2016-09-21 22:56:36 +02:00
Dominyk Tiller 8ddc6aa2d4 sandbox: sandbox homebrew/dupes by default 2016-09-21 20:10:35 +01:00
Maxim Belkin be94f02910 remove Cask's .rubocop.yml 2016-09-21 13:53:10 -05:00
Markus Reiter 14c99abc65 Add compatibility for MacOS.release. 2016-09-21 19:25:58 +02:00
Markus Reiter 530cee44c3 Use sudo mv to move Caskroom. 2016-09-21 19:05:35 +02:00
Maxim Belkin 1bfdddc95c rubocop: fix soft links targets 2016-09-21 11:59:08 -05:00
Maxim Belkin 9a0127e7ab readall: do not require itself. 2016-09-21 11:45:47 -05:00
Joseph Frazier 66ca9e79fc uninstall: improve pronoun for multiple version message
When exactly two versions of a package were installed, the uninstall
message should not read "Remove them all with...", since only one
version remains.

"Remove all versions with..." is flexible enough to avoid being
interpreted as grammatically incorrect, and it still accurately
describes the general behavior of `brew uninstall --force`.
2016-09-21 11:37:23 -04:00
Markus Reiter 458a80d25a Ask for sudo when moving Caskroom. 2016-09-21 17:34:15 +02:00
Mike McQuaid f9bd121e38 update.sh: tweak tag handling.
- Don't let the `UPSTREAM_TAG` variable bleed into future repository
  checks.
- Even if the tag branch is an ancestor of the tag ensure that it's
  forced back to the tag anyway.
2016-09-21 14:32:48 +01:00
Mike McQuaid e8ebcb834b update.sh: allow forcing tag update.
To test the tag update functionality allow setting
`HOMEBREW_UPDATE_TO_TAG`.
2016-09-21 09:03:52 +01:00
Mike McQuaid b2c7d6d83d update.sh: update to latest Homebrew/brew tag.
Rather than following every change on `master` let’s have non-developer
users (i.e. those who have never run a `dev-cmd` or set
`HOMEBREW_DEVELOPER`) update between tags.

This provides a fairly natural beta (the `master` branch`) and stable
(the tags) approach without restricting us to any particular way of
managing our tags.
2016-09-21 09:03:51 +01:00
William Woodruff d16e4a782e os/mac: Delete old cctools-based relocation code.
Disable check for $HOMEBREW_NO_RUBY_MACHO now that no alternative exists.
2016-09-20 17:48:21 -04:00
Mike McQuaid f6fef7cdce test-bot: always update to tag for taps. 2016-09-20 19:37:30 +01:00
Mike McQuaid bef4d13535 Merge pull request #1046 from MikeMcQuaid/update-tags
Update: ensure tags are fetched
2016-09-20 19:24:02 +01:00
Mike McQuaid 9623272283 update.sh: force a full update if we have no tags. 2016-09-20 17:16:47 +01:00
Mike McQuaid d62512095f update.sh: always fetch tags.
We use these for updating people who just follow tags.
2016-09-20 17:16:47 +01:00
Markus Reiter 4a9ee8154a Simplify brew man authors. 2016-09-20 12:12:36 +02:00
Markus Reiter 598b303e3a Update `brew-cask man page. 2016-09-20 12:02:12 +02:00
Mike McQuaid 3099d126d7 test_bash: use new completions location. 2016-09-20 10:41:42 +01:00
Mike McQuaid 6ff7fed070 update-report: link new completion/docs locations. 2016-09-20 10:41:42 +01:00
Mike McQuaid 0d76dfadcc utils: fix completions/manpages/docs linking. 2016-09-20 10:41:42 +01:00
Mike McQuaid 205773b885 man: use new manpages/docs locations. 2016-09-20 10:41:42 +01:00
Mike McQuaid 4e6990ed81 list: use new exclude paths. 2016-09-20 10:41:42 +01:00
Mike McQuaid b85ee1cb8f Update documentation links. 2016-09-20 10:41:42 +01:00
Mike McQuaid f87e3626bb Merge pull request #1039 from MikeMcQuaid/readme-tweaks
Readme tweaks
2016-09-20 09:49:38 +01:00
Mike McQuaid 51ed08d733 man: read lead, former maintainers, creator. 2016-09-20 09:31:19 +01:00
Mike McQuaid 2ecd73bca4 update-report: migrate on newer auto-update.
If we have a `brew.sh` which has set
`HOMEBREW_ENABLE_AUTO_UPDATE_MIGRATION` then let's allow an auto-update
migration. That's because it contains the fix below it _before_ the
update happened which means the auto-update won't fail in the same way
as if updating from an old version.
2016-09-20 09:07:02 +01:00
Mike McQuaid 622e858b6e test-bot: always set PATH to HOMEBREW_PREFIX.
Set the `PATH` to always have the `bin` and `sbin` for the current
`HOMEBREW_PREFIX` at the beginning.
2016-09-20 08:42:30 +01:00
Mike McQuaid f62223cb8a Merge pull request #1010 from rwhogg/update-linux-troubleshooting-page
os: update Linux troubleshooting url
2016-09-20 08:27:28 +01:00
Mike McQuaid f78b737d9b Merge pull request #1035 from MikeMcQuaid/no-auto-update-migration
No auto update migration
2016-09-20 08:21:27 +01:00
Mike McQuaid 7ef74614e7 Merge pull request #985 from MikeMcQuaid/drop-mavericks
os/mac: mark Mavericks as outdated.
2016-09-20 08:20:25 +01:00
Mike McQuaid 5d7911fa71 Merge pull request #1028 from penman/install_gems_to_gem_home
Use user GEM_HOME for installing gems
2016-09-20 08:10:23 +01:00
Mike McQuaid 8bf405e5f7 update-report: print message on completion link failure. 2016-09-20 08:03:06 +01:00
Mike McQuaid 1f128331b6 update-report: don't migrate on auto-update. 2016-09-20 08:02:52 +01:00