Update Homebrew/homebrew references in comments
Replace `homebrew` with `brew`, `homebrew-core`, or `legacy-homebrew` depending on context.
This commit is contained in:
parent
b449a51ff7
commit
8600b9edf1
@ -169,7 +169,7 @@ class Caveats
|
||||
# we readlink because this path probably doesn't exist since caveats
|
||||
# occurs before the link step of installation
|
||||
# Yosemite security measures mildly tighter rules:
|
||||
# https://github.com/Homebrew/homebrew/issues/33815
|
||||
# https://github.com/Homebrew/legacy-homebrew/issues/33815
|
||||
if !plist_path.file? || !plist_path.symlink?
|
||||
if f.plist_startup
|
||||
s << "To have launchd start #{f.full_name} now and restart at startup:"
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
# --resolve: When a patch fails to apply, leave in progress and allow user to
|
||||
# resolve, instead of aborting
|
||||
# --branch-okay: Do not warn if pulling to a branch besides master (useful for testing)
|
||||
# --legacy: Pull legacy formula PR from Homebrew/homebrew
|
||||
# --legacy: Pull legacy formula PR from Homebrew/legacy-homebrew
|
||||
# (TODO remove it when it's not longer necessary)
|
||||
|
||||
require "utils"
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
# --junit: Generate a JUnit XML test results file.
|
||||
# --no-bottle: Run brew install without --build-bottle.
|
||||
# --keep-old: Run brew bottle --keep-old to build new bottles for a single platform.
|
||||
# --legacy Build formula from legacy Homebrew/homebrew repo.
|
||||
# --legacy Build formula from legacy Homebrew/legacy-homebrew repo.
|
||||
# (TODO remove it when it's not longer necessary)
|
||||
# --HEAD: Run brew install with --HEAD.
|
||||
# --local: Ask Homebrew to write verbose logs under ./logs/ and set HOME to ./home/.
|
||||
@ -336,7 +336,7 @@ module Homebrew
|
||||
@name = @hash
|
||||
# Handle a URL being passed on the command-line or through Jenkins/Travis
|
||||
# environment variables e.g.
|
||||
# `brew test-bot https://github.com/Homebrew/homebrew/pull/44293`.
|
||||
# `brew test-bot https://github.com/Homebrew/homebrew-core/pull/678`.
|
||||
elsif @url
|
||||
# TODO: in future Travis CI may need to also use `brew pull` to e.g. push
|
||||
# the right commit to BrewTestBot.
|
||||
|
||||
@ -85,7 +85,7 @@ module Homebrew
|
||||
end
|
||||
############# END HELPERS
|
||||
|
||||
# See https://github.com/Homebrew/homebrew/pull/9986
|
||||
# See https://github.com/Homebrew/legacy-homebrew/pull/9986
|
||||
def check_path_for_trailing_slashes
|
||||
all_paths = ENV["PATH"].split(File::PATH_SEPARATOR)
|
||||
bad_paths = all_paths.select { |p| p[-1..-1] == "/" }
|
||||
|
||||
@ -25,7 +25,7 @@ require "migrator"
|
||||
# @see SharedEnvExtension
|
||||
# @see FileUtils
|
||||
# @see Pathname
|
||||
# @see http://www.rubydoc.info/github/Homebrew/homebrew/file/share/doc/homebrew/Formula-Cookbook.md Formula Cookbook
|
||||
# @see http://www.rubydoc.info/github/Homebrew/brew/file/share/doc/homebrew/Formula-Cookbook.md Formula Cookbook
|
||||
# @see https://github.com/styleguide/ruby Ruby Style Guide
|
||||
#
|
||||
# <pre>class Wget < Formula
|
||||
|
||||
@ -46,7 +46,7 @@ module Language
|
||||
|
||||
def cabal_install(*args)
|
||||
# cabal hardcodes 64 as the maximum number of parallel jobs
|
||||
# https://github.com/Homebrew/homebrew/issues/49509
|
||||
# https://github.com/Homebrew/legacy-homebrew/issues/49509
|
||||
make_jobs = ENV.make_jobs > 64 ? 64 : ENV.make_jobs
|
||||
|
||||
# cabal-install's dependency-resolution backtracking strategy can easily
|
||||
|
||||
@ -97,7 +97,7 @@ module OS
|
||||
# named after a newer OS version than the running OS. The
|
||||
# MACOSX_DEPLOYMENT_TARGET must be set to the OS for which you're
|
||||
# actually building (usually the running OS version).
|
||||
# https://github.com/Homebrew/homebrew/pull/50355
|
||||
# https://github.com/Homebrew/legacy-homebrew/pull/50355
|
||||
# https://developer.apple.com/library/ios/documentation/DeveloperTools/Conceptual/WhatsNewXcode/Articles/Introduction.html#//apple_ref/doc/uid/TP40004626
|
||||
# Section "About SDKs and Simulator"
|
||||
# b) For Xcode < 7, proceed as if the SDK for the running OS version had
|
||||
@ -205,9 +205,9 @@ module OS
|
||||
end
|
||||
|
||||
# See these issues for some history:
|
||||
# https://github.com/Homebrew/homebrew/issues/13
|
||||
# https://github.com/Homebrew/homebrew/issues/41
|
||||
# https://github.com/Homebrew/homebrew/issues/48
|
||||
# https://github.com/Homebrew/legacy-homebrew/issues/13
|
||||
# https://github.com/Homebrew/legacy-homebrew/issues/41
|
||||
# https://github.com/Homebrew/legacy-homebrew/issues/48
|
||||
def macports_or_fink
|
||||
paths = []
|
||||
|
||||
|
||||
@ -6,7 +6,7 @@ gem "rake", "~> 10.3"
|
||||
# This is a patched version of the v0.11.2. Switch back to the stable version
|
||||
# when #436 has been merged upstream.
|
||||
# https://github.com/colszowka/simplecov/pull/436
|
||||
# See also https://github.com/Homebrew/homebrew/pull/48250#issuecomment-173171990
|
||||
# See also https://github.com/Homebrew/legacy-homebrew/pull/48250#issuecomment-173171990
|
||||
gem "simplecov", "0.11.2",
|
||||
:git => "https://github.com/Homebrew/simplecov.git",
|
||||
:branch => "tracked-files-root-fix",
|
||||
|
||||
@ -318,7 +318,7 @@ class FormulaAuditorTests < Homebrew::TestCase
|
||||
assert_equal [], fa.problems
|
||||
end
|
||||
|
||||
# Regression test for https://github.com/Homebrew/homebrew/pull/48744
|
||||
# Regression test for https://github.com/Homebrew/legacy-homebrew/pull/48744
|
||||
# Formulae with "++" in their name would break various audit regexps:
|
||||
# Error: nested *?+ in regexp: /^libxml++3\s/
|
||||
def test_audit_plus_plus_name
|
||||
|
||||
@ -170,7 +170,7 @@ class IntegrationCommandTests < Homebrew::TestCase
|
||||
end
|
||||
EOS
|
||||
# `brew bottle` should not fail with dead symlink
|
||||
# https://github.com/Homebrew/homebrew/issues/49007
|
||||
# https://github.com/Homebrew/legacy-homebrew/issues/49007
|
||||
(HOMEBREW_CELLAR/"testball/0.1").cd do
|
||||
FileUtils.ln_s "not-exist", "symlink"
|
||||
end
|
||||
|
||||
@ -103,7 +103,7 @@ class UtilTests < Homebrew::TestCase
|
||||
|
||||
def test_which_skip_malformed_path
|
||||
# 'which' should not fail if a path is malformed
|
||||
# see https://github.com/Homebrew/homebrew/issues/32789 for an example
|
||||
# see https://github.com/Homebrew/legacy-homebrew/issues/32789 for an example
|
||||
cmd = @dir/"foo"
|
||||
FileUtils.touch cmd
|
||||
cmd.chmod 0744
|
||||
|
||||
@ -399,7 +399,7 @@ def which(cmd, path = ENV["PATH"])
|
||||
pcmd = File.expand_path(cmd, p)
|
||||
rescue ArgumentError
|
||||
# File.expand_path will raise an ArgumentError if the path is malformed.
|
||||
# See https://github.com/Homebrew/homebrew/issues/32789
|
||||
# See https://github.com/Homebrew/legacy-homebrew/issues/32789
|
||||
next
|
||||
end
|
||||
return Pathname.new(pcmd) if File.file?(pcmd) && File.executable?(pcmd)
|
||||
@ -413,7 +413,7 @@ def which_all(cmd, path = ENV["PATH"])
|
||||
pcmd = File.expand_path(cmd, p)
|
||||
rescue ArgumentError
|
||||
# File.expand_path will raise an ArgumentError if the path is malformed.
|
||||
# See https://github.com/Homebrew/homebrew/issues/32789
|
||||
# See https://github.com/Homebrew/legacy-homebrew/issues/32789
|
||||
next
|
||||
end
|
||||
Pathname.new(pcmd) if File.file?(pcmd) && File.executable?(pcmd)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user