aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/brew.sh
AgeCommit message (Collapse)Author
2016-10-26Redirect stderr output from git (shim) invocations to /dev/null.William Woodruff
These invocations occur before we can actually automatically install git via bottle, and as such their output isn't relevant.
2016-10-18brew.sh: tweak xcode hint to auto-accept licenseMatt Tagg
Small improvement to the xcode license hint. Reduces friction by allowing user to accept the license in a single step. Reference: http://apple.stackexchange.com/questions/175069/how-to-accept-xcode-license
2016-10-12Fix warning for HOMEBREW_REPOSITORY at /usr/localRasPhilCo
2016-10-11brew.sh: warn on $HOMEBREW_REPOSITORY/CellarMike McQuaid
If you’re using a /usr/local prefix but e.g. /usr/local/homebrew/Cellar then you’ll miss out on most binary packages for no good reason so warn people of that.
2016-10-10Don't display root warning for --prefixAlex Kirk
2016-10-07brew.sh: improve user agent with no git repo.Mike McQuaid
`Homebrew/>1.0.0 (no git repository) (Macintosh; Intel macOS 10.7.5)...) reads pretty weirdly in a user agent and I've had complaints that `>` may be an invalid character in some cases.
2016-10-03Merge pull request #1190 from vladshablinsky/no-autoupdate-on-helpMike McQuaid
brew.sh: don't autoupdate if --help passed
2016-10-01brew.sh: don't autoupdate if --help passedUladzislau Shablinski
2016-10-01analytics: don't report commands run by HomebrewAlyssa Ross
Fixes #788.
2016-09-24brew.sh: change directory for HOMEBREW_VERSION.Mike McQuaid
This stops `-dirty` showing up whenever you aren't in `HOMEBREW_REPOSITORY`. Fixes #1108.
2016-09-22brew.sh: fix brew --version outside HOMEBREW_REPOSITORY.Mike McQuaid
2016-09-22Use git describe to get the HOMEBREW_VERSION.Mike McQuaid
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-21update.sh: allow forcing tag update.Mike McQuaid
To test the tag update functionality allow setting `HOMEBREW_UPDATE_TO_TAG`.
2016-09-20update-report: migrate on newer auto-update.Mike McQuaid
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-20Merge pull request #1028 from penman/install_gems_to_gem_homeMike McQuaid
Use user GEM_HOME for installing gems
2016-09-19Use user GEM_HOME for installing gemsAlyssa Ross
Save the value of GEM_HOME before unsetting it, and resetting it when setting up a gem environment. Fixes #944.
2016-09-19brew.sh: fix repository auto-update change.Mike McQuaid
On auto-update `HOMEBREW_LIBRARY` may change location which means that it won't be found for the actual install command. Look for this having occurred and then set the new `HOMEBREW_LIBRARY` (and `HOMEBREW_REPOSITORY`) accordingly.
2016-09-18Use new "macOS" naming where appropriate.Mike McQuaid
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-08brew.sh: don't restrict dev-cmd/*.sh to Homebrew developers.Mike McQuaid
2016-09-08brew.sh: set HOMEBREW_DEVELOPER from Git config.Mike McQuaid
2016-09-01brew.sh: allow cask to be run as root.Mike McQuaid
It also uses `sudo` for legitimate things e.g. installing `.pkg`s systemwide.
2016-08-27brew: execute update before tapDominyk Tiller
This seems generally like a good idea given that we're making syntax changes to formulae & are going to keep doing so for a little while yet. Taps may have moved over to that syntax, which then causes tap failures if brew isn't up-to-date. Should fix situations like https://github.com/Homebrew/homebrew-php/issues/3545.
2016-08-25brew.sh: complain when running Homebrew as root.Mike McQuaid
As discussed: announce that we are deprecating running Homebrew as the root user as it's insecure and requires disabling the sandbox. Fixes #796.
2016-08-24brew.sh: don't require /usr/local/Cellar creation.Mike McQuaid
If you're using e.g. a `/usr/local/homebrew` prefix then don't require the `/usr/local/Cellar` to be manually created to avoid e.g. `/usr/local/homebrew/Cellar` being used. Let's do all we can to let people use this `Cellar` location as it means they can put their repository wherever they like and still use all our bottles.
2016-08-14brew: sanitize BASH_ENVAndrew Janke
2016-08-10Ship Homebrew auto-update support.Mike McQuaid
Roll this out to everyone (not just developers) and document the environment variables used for configuration.
2016-08-10Tweak HOMEBREW_NO_AUTO_UPDATE handling.Mike McQuaid
This can just live in `brew.sh` and then it doesn’t need repeated in all the other places.
2016-08-08brew.sh: fix style inconsistenciesMartin Afanasjew
2016-07-17brew.sh: make sudo-checker cross-platformXu Cheng
2016-07-15brew.{rb,sh}: move to Library/Homebrew. (#506)Mike McQuaid