mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Provide more leeway to file Tier 2/3 issues.
Let's still continue to tell people to not file some issues but allow them to file others. While we're here, let's me a bit more chill with the language here.
This commit is contained in:
parent
c9d3df2e54
commit
7019df7481
6
.github/ISSUE_TEMPLATE/bug.yml
vendored
6
.github/ISSUE_TEMPLATE/bug.yml
vendored
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user