From 83bcde23170ceed42f6b86b5ea66a5ce20e00ff4 Mon Sep 17 00:00:00 2001 From: Alex Muller Date: Tue, 5 May 2015 09:15:22 +0100 Subject: 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 --- Library/Homebrew/cmd/gist-logs.rb | 2 +- Library/Homebrew/manpages/brew.1.md | 4 ++-- Library/Homebrew/utils.rb | 2 +- share/man/man1/brew.1 | 4 ++-- 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 - . If set, GitHub will allow you a + A personal access token for the GitHub API, which you can create at + . If set, GitHub will allow you a greater number of API requests. See 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 -- cgit v1.2.3