diff options
| author | Martin Afanasjew | 2016-05-01 14:59:39 +0200 |
|---|---|---|
| committer | Martin Afanasjew | 2016-05-02 21:19:09 +0200 |
| commit | 02289fce4235ba7d887a7681b88def4dcef62727 (patch) | |
| tree | 03727a4aaf3dc383aa0084545fbda8c4e990df53 /Library/Homebrew/cmd | |
| parent | 8600b9edf128de542fd360a52a3a4732ab51f7f8 (diff) | |
| download | brew-02289fce4235ba7d887a7681b88def4dcef62727.tar.bz2 | |
Update Homebrew/homebrew references in code
Replace `homebrew` with `brew`, `homebrew-core`, or `legacy-homebrew`
depending on context.
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/audit.rb | 6 | ||||
| -rw-r--r-- | Library/Homebrew/cmd/pull.rb | 4 | ||||
| -rw-r--r-- | Library/Homebrew/cmd/test-bot.rb | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 29d57bd65..b97e5610e 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -920,9 +920,9 @@ class FormulaAuditor if formula.tap.tap_migrations.key?(formula.name) problem <<-EOS.undent - #{formula.name} seems to be listed in tap_migrations.json! - Please remove #{formula.name} from present tap & tap_migrations.json - before submitting it to Homebrew/homebrew. + #{formula.name} seems to be listed in tap_migrations.json! + Please remove #{formula.name} from present tap & tap_migrations.json + before submitting it to Homebrew/homebrew-#{formula.tap.repo}. EOS end end diff --git a/Library/Homebrew/cmd/pull.rb b/Library/Homebrew/cmd/pull.rb index 93470dc48..7347be561 100644 --- a/Library/Homebrew/cmd/pull.rb +++ b/Library/Homebrew/cmd/pull.rb @@ -43,7 +43,7 @@ module Homebrew if arg.to_i > 0 issue = arg if ARGV.include? "--legacy" - url = "https://github.com/Homebrew/homebrew/pull/#{arg}" + url = "https://github.com/Homebrew/legacy-homebrew/pull/#{arg}" else url = "https://github.com/Homebrew/homebrew-core/pull/#{arg}" end @@ -146,7 +146,7 @@ module Homebrew if issue && !ARGV.include?("--clean") ohai "Patch closes issue ##{issue}" if ARGV.include?("--legacy") - close_message = "Closes Homebrew/homebrew##{issue}." + close_message = "Closes Homebrew/legacy-homebrew##{issue}." else close_message = "Closes ##{issue}." end diff --git a/Library/Homebrew/cmd/test-bot.rb b/Library/Homebrew/cmd/test-bot.rb index 6ffba45c2..887012c40 100644 --- a/Library/Homebrew/cmd/test-bot.rb +++ b/Library/Homebrew/cmd/test-bot.rb @@ -809,7 +809,7 @@ module Homebrew if pr if ARGV.include?("--legacy") - pull_pr = "https://github.com/Homebrew/homebrew/pull/#{pr}" + pull_pr = "https://github.com/Homebrew/legacy-homebrew/pull/#{pr}" safe_system "brew", "pull", "--clean", "--legacy", pull_pr else pull_pr = "https://github.com/#{tap.user}/homebrew-#{tap.repo}/pull/#{pr}" |
