From 7019df74819b5ce593a1f12d4ac7bfb10aa73cef Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Fri, 27 Jun 2025 15:27:26 +0100 Subject: [PATCH] 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. --- .github/ISSUE_TEMPLATE/bug.yml | 6 +++--- Library/Homebrew/diagnostic.rb | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml index 3e115fa9b2..5ecd26994f 100644 --- a/.github/ISSUE_TEMPLATE/bug.yml +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -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 diff --git a/Library/Homebrew/diagnostic.rb b/Library/Homebrew/diagnostic.rb index fa2c4330a1..c08e371aa5 100644 --- a/Library/Homebrew/diagnostic.rb +++ b/Library/Homebrew/diagnostic.rb @@ -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