mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Merge pull request #20185 from Homebrew/tier_doctor_issues
Provide more leeway to file Tier 2/3 issues.
This commit is contained in:
commit
a83a71ab5f
6
.github/ISSUE_TEMPLATE/bug.yml
vendored
6
.github/ISSUE_TEMPLATE/bug.yml
vendored
@ -4,7 +4,7 @@ type: "Bug"
|
|||||||
body:
|
body:
|
||||||
- type: markdown
|
- type: markdown
|
||||||
attributes:
|
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
|
- type: textarea
|
||||||
attributes:
|
attributes:
|
||||||
render: shell
|
render: shell
|
||||||
@ -16,10 +16,10 @@ body:
|
|||||||
label: Verification
|
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.
|
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:
|
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.
|
- label: I ran `brew update` twice and am still able to reproduce my issue.
|
||||||
required: true
|
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.
|
- 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
|
required: true
|
||||||
- type: textarea
|
- type: textarea
|
||||||
|
@ -115,16 +115,16 @@ module Homebrew
|
|||||||
def support_tier_message(tier:)
|
def support_tier_message(tier:)
|
||||||
return if tier.to_s == "1"
|
return if tier.to_s == "1"
|
||||||
|
|
||||||
tier_title, tier_slug = if tier.to_s == "unsupported"
|
tier_title, tier_slug, tier_issues = if tier.to_s == "unsupported"
|
||||||
["Unsupported", "unsupported"]
|
["Unsupported", "unsupported", "Do not report any"]
|
||||||
else
|
else
|
||||||
["Tier #{tier}", "tier-#{tier.to_s.downcase}"]
|
["Tier #{tier}", "tier-#{tier.to_s.downcase}", "You can report Tier #{tier} unrelated"]
|
||||||
end
|
end
|
||||||
|
|
||||||
<<~EOS
|
<<~EOS
|
||||||
This is a #{tier_title} configuration:
|
This is a #{tier_title} configuration:
|
||||||
#{Formatter.url("https://docs.brew.sh/Support-Tiers##{tier_slug}")}
|
#{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.
|
Read the above document instead before opening any issues or PRs.
|
||||||
EOS
|
EOS
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user