Merge pull request #20185 from Homebrew/tier_doctor_issues

Provide more leeway to file Tier 2/3 issues.
This commit is contained in:
Mike McQuaid 2025-06-27 16:23:36 +00:00 committed by GitHub
commit a83a71ab5f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 7 deletions

View File

@ -4,7 +4,7 @@ type: "Bug"
body:
- type: markdown
attributes:
value: Please note we will close your issue without comment if you do not correctly fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.
value: Please note we may close your issue without comment if you do not fill out the issue checklist below and provide ALL the requested information (even if you consider them irrelevant). If you are unwilling to use the issue template, we may block you from ever submitting future issues to Homebrew.
- type: textarea
attributes:
render: shell
@ -16,10 +16,10 @@ body:
label: Verification
description: Please verify that you've followed these steps. If you cannot truthfully check these boxes, open a discussion at https://github.com/orgs/Homebrew/discussions instead.
options:
- label: My "`brew doctor` output" above says `Your system is ready to brew.` and am still able to reproduce my issue.
required: true
- label: I ran `brew update` twice and am still able to reproduce my issue.
required: true
- label: My "`brew doctor` output" above says `Your system is ready to brew` or a definitely unrelated `Tier` message.
required: true
- label: This issue's title and/or description do not reference a single formula e.g. `brew install wget`. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.
required: true
- type: textarea

View File

@ -115,16 +115,16 @@ module Homebrew
def support_tier_message(tier:)
return if tier.to_s == "1"
tier_title, tier_slug = if tier.to_s == "unsupported"
["Unsupported", "unsupported"]
tier_title, tier_slug, tier_issues = if tier.to_s == "unsupported"
["Unsupported", "unsupported", "Do not report any"]
else
["Tier #{tier}", "tier-#{tier.to_s.downcase}"]
["Tier #{tier}", "tier-#{tier.to_s.downcase}", "You can report Tier #{tier} unrelated"]
end
<<~EOS
This is a #{tier_title} configuration:
#{Formatter.url("https://docs.brew.sh/Support-Tiers##{tier_slug}")}
#{Formatter.bold("Do not report any issues to Homebrew/* repositories!")}
#{Formatter.bold("#{tier_issues} issues to Homebrew/* repositories!")}
Read the above document instead before opening any issues or PRs.
EOS
end