From 812bd68d4c292fd519ff5c09e2a1345859c48345 Mon Sep 17 00:00:00 2001 From: InSync Date: Sat, 28 Dec 2024 00:20:58 +0700 Subject: [PATCH 1/4] Migrate issue template to new format --- .github/ISSUE_TEMPLATE.md | 12 ------------ .github/ISSUE_TEMPLATE/bug_report.yaml | 22 ++++++++++++++++++++++ 2 files changed, 22 insertions(+), 12 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yaml diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md deleted file mode 100644 index b6d15cc8f680c..0000000000000 --- a/.github/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,12 +0,0 @@ - diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml new file mode 100644 index 0000000000000..7f608418e4ddc --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -0,0 +1,22 @@ +name: Bug report +description: Something isn't working + +body: + - type: markdown + attributes: + value: | + Thank you for taking the time to report an issue! We're glad to have you involved with Ruff. + + Please consider including the following information: + + * List of keywords you searched for before creating this issue. Write them down here so that others can find this issue more easily and help provide feedback. + e.g. "RUF001", "unused variable", "Jupyter notebook" + * A minimal code snippet that reproduces the bug. + * The command you invoked (e.g., `ruff /path/to/file.py --fix`), ideally including the `--isolated` flag. + * The current Ruff settings (any relevant sections from your `pyproject.toml`). + * The current Ruff version (`ruff --version`). + + - type: textarea + attributes: + label: Description + description: A description of the bug From f0876328080df57f95f100e8acd6df7f528a621e Mon Sep 17 00:00:00 2001 From: InSync Date: Fri, 27 Dec 2024 17:54:22 +0000 Subject: [PATCH 2/4] Something was changed by a `pre-commit` hook. What was that? --- .github/ISSUE_TEMPLATE/bug_report.yaml | 44 +++++++++++++------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml index 7f608418e4ddc..dee42906f1aa6 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yaml +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -1,22 +1,22 @@ -name: Bug report -description: Something isn't working - -body: - - type: markdown - attributes: - value: | - Thank you for taking the time to report an issue! We're glad to have you involved with Ruff. - - Please consider including the following information: - - * List of keywords you searched for before creating this issue. Write them down here so that others can find this issue more easily and help provide feedback. - e.g. "RUF001", "unused variable", "Jupyter notebook" - * A minimal code snippet that reproduces the bug. - * The command you invoked (e.g., `ruff /path/to/file.py --fix`), ideally including the `--isolated` flag. - * The current Ruff settings (any relevant sections from your `pyproject.toml`). - * The current Ruff version (`ruff --version`). - - - type: textarea - attributes: - label: Description - description: A description of the bug +name: Bug report +description: Something isn't working + +body: + - type: markdown + attributes: + value: | + Thank you for taking the time to report an issue! We're glad to have you involved with Ruff. + + Please consider including the following information: + + * List of keywords you searched for before creating this issue. Write them down here so that others can find this issue more easily and help provide feedback. + e.g. "RUF001", "unused variable", "Jupyter notebook" + * A minimal code snippet that reproduces the bug. + * The command you invoked (e.g., `ruff /path/to/file.py --fix`), ideally including the `--isolated` flag. + * The current Ruff settings (any relevant sections from your `pyproject.toml`). + * The current Ruff version (`ruff --version`). + + - type: textarea + attributes: + label: Description + description: A description of the bug From 2a868fe2fd9eca0ddb8609e5a55b2f5e6a4eb846 Mon Sep 17 00:00:00 2001 From: InSync Date: Fri, 27 Dec 2024 17:56:46 +0000 Subject: [PATCH 3/4] Simplify per review --- .github/ISSUE_TEMPLATE/bug_report.yaml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml index dee42906f1aa6..52249651569b0 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yaml +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -2,21 +2,19 @@ name: Bug report description: Something isn't working body: - - type: markdown + - type: textarea attributes: + label: Description value: | + From 515cd2151b10646b80f9402e19f22822dfed1d03 Mon Sep 17 00:00:00 2001 From: InSync Date: Wed, 15 Jan 2025 17:52:28 +0700 Subject: [PATCH 4/4] Per discussion at #15135 --- .github/ISSUE_TEMPLATE/bug_report.yaml | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.yaml diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml deleted file mode 100644 index 52249651569b0..0000000000000 --- a/.github/ISSUE_TEMPLATE/bug_report.yaml +++ /dev/null @@ -1,20 +0,0 @@ -name: Bug report -description: Something isn't working - -body: - - type: textarea - attributes: - label: Description - value: | -