Clarify tap issues should not be reported to Homebrew.
Instead, direct people to the actual tap.
This commit is contained in:
		
							parent
							
								
									30c4383e86
								
							
						
					
					
						commit
						b5165ed7e8
					
				@ -160,7 +160,7 @@ rescue Exception => e # rubocop:disable Lint/RescueException
 | 
			
		||||
  onoe e
 | 
			
		||||
  if internal_cmd && defined?(OS::ISSUES_URL) &&
 | 
			
		||||
     !ENV["HOMEBREW_NO_AUTO_UPDATE"]
 | 
			
		||||
    $stderr.puts "#{Tty.bold}Please report this bug:#{Tty.reset}"
 | 
			
		||||
    $stderr.puts "#{Tty.bold}Please report this issue:#{Tty.reset}"
 | 
			
		||||
    $stderr.puts "  #{Formatter.url(OS::ISSUES_URL)}"
 | 
			
		||||
  end
 | 
			
		||||
  $stderr.puts e.backtrace
 | 
			
		||||
 | 
			
		||||
@ -368,7 +368,7 @@ class FormulaInstaller
 | 
			
		||||
 | 
			
		||||
      raise if ARGV.homebrew_developer?
 | 
			
		||||
 | 
			
		||||
      $stderr.puts "Please report this to the #{formula.tap} tap!"
 | 
			
		||||
      $stderr.puts "Please report this issue to the #{formula.tap} tap (not Homebrew/brew or Homebrew/core)!"
 | 
			
		||||
      false
 | 
			
		||||
    else # rubocop:disable Layout/ElseAlignment
 | 
			
		||||
      f.linked_keg.exist? && f.opt_prefix.exist?
 | 
			
		||||
 | 
			
		||||
@ -167,7 +167,7 @@ module Kernel
 | 
			
		||||
      next unless match = line.match(HOMEBREW_TAP_PATH_REGEX)
 | 
			
		||||
 | 
			
		||||
      tap = Tap.fetch(match[:user], match[:repo])
 | 
			
		||||
      tap_message = +"\nPlease report this to the #{tap} tap"
 | 
			
		||||
      tap_message = +"\nPlease report this issue to the #{tap} tap (not Homebrew/brew or Homebrew/core)"
 | 
			
		||||
      tap_message += ", or even better, submit a PR to fix it" if replacement
 | 
			
		||||
      tap_message << ":\n  #{line.sub(/^(.*\:\d+)\:.*$/, '\1')}\n\n"
 | 
			
		||||
      break
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user