diff options
| author | Alex Muller | 2015-05-05 09:15:22 +0100 |
|---|---|---|
| committer | Tim D. Smith | 2015-05-05 15:46:42 -0700 |
| commit | 83bcde23170ceed42f6b86b5ea66a5ce20e00ff4 (patch) | |
| tree | 92c4da8bd11372cc56fc89b17c1ef8a55d6fbe1e /Library | |
| parent | fb5ad8cb3fe07244c54a929e3a3798ada184f7cf (diff) | |
| download | brew-83bcde23170ceed42f6b86b5ea66a5ce20e00ff4.tar.bz2 | |
Update links to GitHub's personal access token
The link for the page that allows creation of API tokens has changed
from /settings/applications to /settings/tokens. Also the wording
on that page calls them "personal access tokens", so update
Homebrew to be consistent with that.
Closes Homebrew/homebrew#39378.
Signed-off-by: Tim D. Smith <git@tim-smith.us>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/gist-logs.rb | 2 | ||||
| -rw-r--r-- | Library/Homebrew/manpages/brew.1.md | 4 | ||||
| -rw-r--r-- | Library/Homebrew/utils.rb | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/Library/Homebrew/cmd/gist-logs.rb b/Library/Homebrew/cmd/gist-logs.rb index 768de6714..ea3a9e609 100644 --- a/Library/Homebrew/cmd/gist-logs.rb +++ b/Library/Homebrew/cmd/gist-logs.rb @@ -27,7 +27,7 @@ module Homebrew auth = :AUTH_TOKEN unless HOMEBREW_GITHUB_API_TOKEN - puts 'You can create an API token: https://github.com/settings/applications' + puts 'You can create a personal access token: https://github.com/settings/tokens' puts 'and then set HOMEBREW_GITHUB_API_TOKEN as authentication method.' puts diff --git a/Library/Homebrew/manpages/brew.1.md b/Library/Homebrew/manpages/brew.1.md index 38e4550da..e8e8cacb0 100644 --- a/Library/Homebrew/manpages/brew.1.md +++ b/Library/Homebrew/manpages/brew.1.md @@ -554,8 +554,8 @@ can take several different forms: editors will do strange things in this case. * HOMEBREW\_GITHUB\_API\_TOKEN: - A personal GitHub API Access token, which you can create at - <https://github.com/settings/applications>. If set, GitHub will allow you a + A personal access token for the GitHub API, which you can create at + <https://github.com/settings/tokens>. If set, GitHub will allow you a greater number of API requests. See <https://developer.github.com/v3/#rate-limiting> for more information. Homebrew uses the GitHub API for features such as `brew search`. diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb index 41547cb77..fb9759584 100644 --- a/Library/Homebrew/utils.rb +++ b/Library/Homebrew/utils.rb @@ -332,7 +332,7 @@ module GitHub extend self super <<-EOS.undent GitHub #{error} HOMEBREW_GITHUB_API_TOKEN may be invalid or expired, check: - https://github.com/settings/applications + https://github.com/settings/tokens EOS end end |
