aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Muller2015-05-05 09:15:22 +0100
committerTim D. Smith2015-05-05 15:46:42 -0700
commit83bcde23170ceed42f6b86b5ea66a5ce20e00ff4 (patch)
tree92c4da8bd11372cc56fc89b17c1ef8a55d6fbe1e
parentfb5ad8cb3fe07244c54a929e3a3798ada184f7cf (diff)
downloadbrew-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>
-rw-r--r--Library/Homebrew/cmd/gist-logs.rb2
-rw-r--r--Library/Homebrew/manpages/brew.1.md4
-rw-r--r--Library/Homebrew/utils.rb2
-rw-r--r--share/man/man1/brew.14
4 files changed, 6 insertions, 6 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
diff --git a/share/man/man1/brew.1 b/share/man/man1/brew.1
index 99ca208bc..120b6ff63 100644
--- a/share/man/man1/brew.1
+++ b/share/man/man1/brew.1
@@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
-.TH "BREW" "1" "April 2015" "Homebrew" "brew"
+.TH "BREW" "1" "May 2015" "Homebrew" "brew"
.
.SH "NAME"
\fBbrew\fR \- The missing package manager for OS X
@@ -579,7 +579,7 @@ If set, Homebrew will use this editor when editing a single formula, or several
.
.TP
HOMEBREW_GITHUB_API_TOKEN
-A personal GitHub API Access token, which you can create at \fIhttps://github\.com/settings/applications\fR\. If set, GitHub will allow you a greater number of API requests\. See \fIhttps://developer\.github\.com/v3/#rate\-limiting\fR for more information\. Homebrew uses the GitHub API for features such as \fBbrew search\fR\.
+A personal access token for the GitHub API, which you can create at \fIhttps://github\.com/settings/tokens\fR\. If set, GitHub will allow you a greater number of API requests\. See \fIhttps://developer\.github\.com/v3/#rate\-limiting\fR for more information\. Homebrew uses the GitHub API for features such as \fBbrew search\fR\.
.
.TP
HOMEBREW_MAKE_JOBS