diff options
| author | David MacMahon | 2013-10-22 16:18:31 -0700 |
|---|---|---|
| committer | Mike McQuaid | 2013-10-25 21:12:28 +0100 |
| commit | a999ddc002af970b12e8472daa3677c1c2e093c5 (patch) | |
| tree | 4918b88db8bb39d5303cbd507ce49d549da32e9e /Library/Contributions | |
| parent | 5b433bb05a8b9010493a58ea6fe475596dfa06e9 (diff) | |
| download | brew-a999ddc002af970b12e8472daa3677c1c2e093c5.tar.bz2 | |
Add HOMEBREW_NO_GITHUB_API env var.
This patch allows users to "opt out" of using the GitHub API altogether
by setting the HOMEBREW_NO_GITHUB_API environment variable. The
value of the environment variable does not matter (it can even be
empty!).
For Bash/ZSH: export HOMEBREW_NO_GITHUB_API=1
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Contributions')
| -rw-r--r-- | Library/Contributions/manpages/brew.1.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Contributions/manpages/brew.1.md b/Library/Contributions/manpages/brew.1.md index 5524c070b..595c062a2 100644 --- a/Library/Contributions/manpages/brew.1.md +++ b/Library/Contributions/manpages/brew.1.md @@ -524,6 +524,10 @@ can take several different forms: *Note:* Homebrew will only try to print emoji on Lion or newer. + * HOMEBREW\_NO\_GITHUB\_API: + If set, Homebrew will not use the GitHub API for e.g searches or + fetching relevant issues on a failed install. + * HOMEBREW\_SOURCEFORGE\_MIRROR: If set, Homebrew will use the value of `HOMEBREW_SOURCEFORGE_MIRROR` to select a SourceForge mirror for downloading bottles. |
