From 29e648dd8954442c5dc4cbc08921c34acb664ad1 Mon Sep 17 00:00:00 2001 From: Alex Chi Date: Sat, 31 Jul 2021 11:20:28 +0800 Subject: [PATCH 1/8] .github/ISSUE_TEMPLATE/bug.yml: add instructions for mirror sites bug reporting --- .github/ISSUE_TEMPLATE/bug.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml index 9ac592b13a..c997b1164a 100644 --- a/.github/ISSUE_TEMPLATE/bug.yml +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -11,6 +11,9 @@ body: label: "`brew config` output" validations: required: true + - type: markdown + attributes: + value: If you are using `HOMEBREW_BOTTLE_DOMAIN` or `HOMEBREW_ARTIFACT_DOMAIN` to configure Homebrew mirrors, please first try unsetting those variables. If this bug is related to mirror sites themselves, please report the bug to the respective mirror sites. See https://github.com/Homebrew/discussions/discussions/1917 for more information. - type: textarea attributes: render: shell From 14ef615ab07f309b1a36c208de24f5399060065d Mon Sep 17 00:00:00 2001 From: Alex Chi Date: Sat, 31 Jul 2021 11:58:26 +0800 Subject: [PATCH 2/8] Update bug.yml --- .github/ISSUE_TEMPLATE/bug.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml index c997b1164a..61242284cf 100644 --- a/.github/ISSUE_TEMPLATE/bug.yml +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -11,9 +11,6 @@ body: label: "`brew config` output" validations: required: true - - type: markdown - attributes: - value: If you are using `HOMEBREW_BOTTLE_DOMAIN` or `HOMEBREW_ARTIFACT_DOMAIN` to configure Homebrew mirrors, please first try unsetting those variables. If this bug is related to mirror sites themselves, please report the bug to the respective mirror sites. See https://github.com/Homebrew/discussions/discussions/1917 for more information. - type: textarea attributes: render: shell @@ -28,6 +25,11 @@ body: required: true - label: I have resolved all warnings from `brew doctor` and that did not fix my problem. required: true + - label: I have unset `HOMEBREW_{BOTTLE,ARTIFACT}_DOMAIN` and `HOMEBREW_{BREW,CORE}_GIT_REMOTE` to use official upstreams when reporting this bug. + required: true + - type: markdown + attributes: + value: If this bug is related to mirror sites, please refer to https://github.com/Homebrew/discussions/discussions/1917 for more information, and report bugs to respective mirror maintainers. - type: textarea attributes: label: What were you trying to do (and why)? From 198a014f484316d2450359cb3a9b53575a585e8a Mon Sep 17 00:00:00 2001 From: Alex Chi Date: Sat, 31 Jul 2021 12:01:14 +0800 Subject: [PATCH 3/8] Update .github/ISSUE_TEMPLATE/bug.yml Co-authored-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> --- .github/ISSUE_TEMPLATE/bug.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml index 61242284cf..c5bec02d8f 100644 --- a/.github/ISSUE_TEMPLATE/bug.yml +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -25,7 +25,7 @@ body: required: true - label: I have resolved all warnings from `brew doctor` and that did not fix my problem. required: true - - label: I have unset `HOMEBREW_{BOTTLE,ARTIFACT}_DOMAIN` and `HOMEBREW_{BREW,CORE}_GIT_REMOTE` to use official upstreams when reporting this bug. + - label: I have unset `HOMEBREW_{BOTTLE,ARTIFACT}_DOMAIN` and `HOMEBREW_{BREW,CORE}_GIT_REMOTE` and am still able to reproduce this issue. required: true - type: markdown attributes: From 48abfa9a229ea5f9ba58b5da0b1e78ac5fe86bb2 Mon Sep 17 00:00:00 2001 From: Alex Chi Date: Sun, 1 Aug 2021 10:31:36 +0800 Subject: [PATCH 4/8] Update .github/ISSUE_TEMPLATE/bug.yml Co-authored-by: Rylan Polster --- .github/ISSUE_TEMPLATE/bug.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml index c5bec02d8f..cd0af42fb7 100644 --- a/.github/ISSUE_TEMPLATE/bug.yml +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -25,7 +25,7 @@ body: required: true - label: I have resolved all warnings from `brew doctor` and that did not fix my problem. required: true - - label: I have unset `HOMEBREW_{BOTTLE,ARTIFACT}_DOMAIN` and `HOMEBREW_{BREW,CORE}_GIT_REMOTE` and am still able to reproduce this issue. + - label: I have not set `HOMEBREW_BOTTLE_DOMAIN`, `HOMEBREW_ARTIFACT_DOMAIN`, `HOMEBREW_BREW_GIT_REMOTE`, or `HOMEBREW_CORE_GIT_REMOTE` and am still able to reproduce this issue. required: true - type: markdown attributes: From 678363f45599b94de59c7098af313ae286edbc42 Mon Sep 17 00:00:00 2001 From: Alex Chi Date: Sun, 1 Aug 2021 10:31:46 +0800 Subject: [PATCH 5/8] Update .github/ISSUE_TEMPLATE/bug.yml Co-authored-by: Rylan Polster --- .github/ISSUE_TEMPLATE/bug.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml index cd0af42fb7..57c2088576 100644 --- a/.github/ISSUE_TEMPLATE/bug.yml +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -29,7 +29,7 @@ body: required: true - type: markdown attributes: - value: If this bug is related to mirror sites, please refer to https://github.com/Homebrew/discussions/discussions/1917 for more information, and report bugs to respective mirror maintainers. + value: If this bug is related to mirror sites, please refer to [this disucssion](https://github.com/Homebrew/discussions/discussions/1917) for more information, and report bugs to respective mirror maintainers. - type: textarea attributes: label: What were you trying to do (and why)? From 488d92623f15da9a64d3966dc80158eee1ee3081 Mon Sep 17 00:00:00 2001 From: Alex Chi Date: Sun, 1 Aug 2021 10:36:16 +0800 Subject: [PATCH 6/8] update config.yaml --- .github/ISSUE_TEMPLATE/config.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 841c4e6aa9..6b46cc606e 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -13,3 +13,6 @@ contact_links: - name: New issue on Homebrew/linuxbrew-core url: https://github.com/Homebrew/linuxbrew-core/issues/new/choose about: On Linux? Having a `brew` problem with a `brew install` or `brew upgrade` of a single formula/package? Report it to Homebrew/linuxbrew-core (the Linux core tap/repository). + - name: Get help from Homebrew mirror maintainers + url: https://github.com/Homebrew/discussions/discussions/1917 + about: Slow download speed? Homebrew mirror not working as expected? Please take a look at the mirror list and contact respective mirror maintainers. From e60eb71c69aa71b189a977d34d9235750af7079e Mon Sep 17 00:00:00 2001 From: Alex Chi Date: Sun, 1 Aug 2021 11:08:02 +0800 Subject: [PATCH 7/8] Update .github/ISSUE_TEMPLATE/bug.yml Co-authored-by: Rylan Polster --- .github/ISSUE_TEMPLATE/bug.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml index 57c2088576..57aee3d126 100644 --- a/.github/ISSUE_TEMPLATE/bug.yml +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -25,7 +25,7 @@ body: required: true - label: I have resolved all warnings from `brew doctor` and that did not fix my problem. required: true - - label: I have not set `HOMEBREW_BOTTLE_DOMAIN`, `HOMEBREW_ARTIFACT_DOMAIN`, `HOMEBREW_BREW_GIT_REMOTE`, or `HOMEBREW_CORE_GIT_REMOTE` and am still able to reproduce this issue. + - label: I have not set `HOMEBREW_BOTTLE_DOMAIN`, `HOMEBREW_ARTIFACT_DOMAIN`, `HOMEBREW_BREW_GIT_REMOTE`, or `HOMEBREW_CORE_GIT_REMOTE` and am still able to reproduce this issue. required: true - type: markdown attributes: From 33fcc3d7f585a944ad89d14ec44a0725f9c2151b Mon Sep 17 00:00:00 2001 From: Alex Chi Date: Tue, 17 Aug 2021 16:52:57 +0800 Subject: [PATCH 8/8] Update bug.yml --- .github/ISSUE_TEMPLATE/bug.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml index 57aee3d126..9ac592b13a 100644 --- a/.github/ISSUE_TEMPLATE/bug.yml +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -25,11 +25,6 @@ body: required: true - label: I have resolved all warnings from `brew doctor` and that did not fix my problem. required: true - - label: I have not set `HOMEBREW_BOTTLE_DOMAIN`, `HOMEBREW_ARTIFACT_DOMAIN`, `HOMEBREW_BREW_GIT_REMOTE`, or `HOMEBREW_CORE_GIT_REMOTE` and am still able to reproduce this issue. - required: true - - type: markdown - attributes: - value: If this bug is related to mirror sites, please refer to [this disucssion](https://github.com/Homebrew/discussions/discussions/1917) for more information, and report bugs to respective mirror maintainers. - type: textarea attributes: label: What were you trying to do (and why)?