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 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'Library/Homebrew') 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 -- cgit v1.2.3