aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/brew.sh
AgeCommit message (Collapse)Author
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