From ad7c49ae0e1f22c0b1de8ab0c26947915f12ea56 Mon Sep 17 00:00:00 2001 From: Dirk Lemstra Date: Sat, 12 Feb 2022 14:01:08 +0100 Subject: [PATCH 1/5] Switch to issue forms. --- .../ISSUE_TEMPLATE/commercial-bug-report.md | 33 --------------- .../ISSUE_TEMPLATE/commercial-bug-report.yml | 41 +++++++++++++++++++ .github/ISSUE_TEMPLATE/oss-bug-report.md | 30 -------------- .github/ISSUE_TEMPLATE/oss-bug-report.yml | 39 ++++++++++++++++++ 4 files changed, 80 insertions(+), 63 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/commercial-bug-report.md create mode 100644 .github/ISSUE_TEMPLATE/commercial-bug-report.yml delete mode 100644 .github/ISSUE_TEMPLATE/oss-bug-report.md create mode 100644 .github/ISSUE_TEMPLATE/oss-bug-report.yml diff --git a/.github/ISSUE_TEMPLATE/commercial-bug-report.md b/.github/ISSUE_TEMPLATE/commercial-bug-report.md deleted file mode 100644 index 024de8e19e..0000000000 --- a/.github/ISSUE_TEMPLATE/commercial-bug-report.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -name: "Commercial License : Bug Report" -about: | - Create a report to help us improve the project. For Commercial License holders only. - Please contact help@sixlabors.com for issues requiring private support. -labels: commercial, needs triage - ---- - - -### Prerequisites - -- [ ] I have written a descriptive issue title -- [ ] I have verified that I am running the latest version of ImageSharp -- [ ] I have verified if the problem exist in both `DEBUG` and `RELEASE` mode -- [ ] I have searched [open](https://github.com/SixLabors/ImageSharp/issues) and [closed](https://github.com/SixLabors/ImageSharp/issues?q=is%3Aissue+is%3Aclosed) issues to ensure it has not already been reported - -### Description - - -### Steps to Reproduce - - -### System Configuration - - -- ImageSharp version: -- Other ImageSharp packages and versions: -- Environment (Operating system, version and so on): -- .NET Framework version: -- Additional information: - - diff --git a/.github/ISSUE_TEMPLATE/commercial-bug-report.yml b/.github/ISSUE_TEMPLATE/commercial-bug-report.yml new file mode 100644 index 0000000000..669d4f8394 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/commercial-bug-report.yml @@ -0,0 +1,41 @@ +name: "Commercial License : Bug Report" +description: | + Create a report to help us improve the project. For Commercial License holders only. + Please contact help@sixlabors.com for issues requiring private support. +labels: ["commercial", "needs triage"] +- type: input + attributes: + label: ImageSharp version + validations: + required: true +- type: input + attributes: + label: Other ImageSharp packages and versions + validations: + required: true +- type: input + attributes: + label: Environment (Operating system, version and so on) + validations: + required: true +- type: input + attributes: + label: .NET Framework version + validations: + required: true +- type: textarea + attributes: + label: Description + description: A description of the bug or feature + validations: + required: true +- type: textarea + attributes: + label: Steps to Reproduce + description: List of steps, sample code, failing test or link to a project that reproduces the behavior. Make sure you place a stack trace inside a code (```) block to avoid linking unrelated issues. + validations: + required: true +- type: textarea + attributes: + label: Images + description: Please upload images that can be used to reproduce issues in the area below. If the file type is not supported the file can be zipped and then uploaded instead. diff --git a/.github/ISSUE_TEMPLATE/oss-bug-report.md b/.github/ISSUE_TEMPLATE/oss-bug-report.md deleted file mode 100644 index 9e9567a99a..0000000000 --- a/.github/ISSUE_TEMPLATE/oss-bug-report.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -name: "OSS : Bug Report" -about: Create a report to help us improve the project. OSS Issues are not guaranteed to be triaged. -labels: needs triage - ---- - -### Prerequisites - -- [ ] I have written a descriptive issue title -- [ ] I have verified that I am running the latest version of ImageSharp -- [ ] I have verified if the problem exist in both `DEBUG` and `RELEASE` mode -- [ ] I have searched [open](https://github.com/SixLabors/ImageSharp/issues) and [closed](https://github.com/SixLabors/ImageSharp/issues?q=is%3Aissue+is%3Aclosed) issues to ensure it has not already been reported - -### Description - - -### Steps to Reproduce - - -### System Configuration - - -- ImageSharp version: -- Other ImageSharp packages and versions: -- Environment (Operating system, version and so on): -- .NET Framework version: -- Additional information: - - diff --git a/.github/ISSUE_TEMPLATE/oss-bug-report.yml b/.github/ISSUE_TEMPLATE/oss-bug-report.yml new file mode 100644 index 0000000000..302286c078 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/oss-bug-report.yml @@ -0,0 +1,39 @@ +name: "OSS : Bug Report" +description: Create a report to help us improve the project. OSS Issues are not guaranteed to be triaged. +labels: ["needs triage"] +- type: input + attributes: + label: ImageSharp version + validations: + required: true +- type: input + attributes: + label: Other ImageSharp packages and versions + validations: + required: true +- type: input + attributes: + label: Environment (Operating system, version and so on) + validations: + required: true +- type: input + attributes: + label: .NET Framework version + validations: + required: true +- type: textarea + attributes: + label: Description + description: A description of the bug + validations: + required: true +- type: textarea + attributes: + label: Steps to Reproduce + description: List of steps, sample code, failing test or link to a project that reproduces the behavior. Make sure you place a stack trace inside a code (```) block to avoid linking unrelated issues. + validations: + required: true +- type: textarea + attributes: + label: Images + description: Please upload images that can be used to reproduce issues in the area below. If the file type is not supported the file can be zipped and then uploaded instead. From 3b8b4d19d4d69d8ba223f67d1ce52f40e2299d4c Mon Sep 17 00:00:00 2001 From: Dirk Lemstra Date: Sat, 12 Feb 2022 14:07:02 +0100 Subject: [PATCH 2/5] Try without quotes. --- .github/ISSUE_TEMPLATE/commercial-bug-report.yml | 4 ++-- .github/ISSUE_TEMPLATE/oss-bug-report.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/commercial-bug-report.yml b/.github/ISSUE_TEMPLATE/commercial-bug-report.yml index 669d4f8394..27e88a7e59 100644 --- a/.github/ISSUE_TEMPLATE/commercial-bug-report.yml +++ b/.github/ISSUE_TEMPLATE/commercial-bug-report.yml @@ -1,4 +1,4 @@ -name: "Commercial License : Bug Report" +name: Commercial License : Bug Report description: | Create a report to help us improve the project. For Commercial License holders only. Please contact help@sixlabors.com for issues requiring private support. @@ -26,7 +26,7 @@ labels: ["commercial", "needs triage"] - type: textarea attributes: label: Description - description: A description of the bug or feature + description: A description of the bug validations: required: true - type: textarea diff --git a/.github/ISSUE_TEMPLATE/oss-bug-report.yml b/.github/ISSUE_TEMPLATE/oss-bug-report.yml index 302286c078..942c2bc782 100644 --- a/.github/ISSUE_TEMPLATE/oss-bug-report.yml +++ b/.github/ISSUE_TEMPLATE/oss-bug-report.yml @@ -1,4 +1,4 @@ -name: "OSS : Bug Report" +name: OSS : Bug Report description: Create a report to help us improve the project. OSS Issues are not guaranteed to be triaged. labels: ["needs triage"] - type: input From 056ce5e27e88ba048458f5682fc11e4d27d836fc Mon Sep 17 00:00:00 2001 From: Dirk Lemstra Date: Sat, 12 Feb 2022 14:08:08 +0100 Subject: [PATCH 3/5] Use single quotes instead. --- .github/ISSUE_TEMPLATE/commercial-bug-report.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/commercial-bug-report.yml b/.github/ISSUE_TEMPLATE/commercial-bug-report.yml index 27e88a7e59..df3fbf9157 100644 --- a/.github/ISSUE_TEMPLATE/commercial-bug-report.yml +++ b/.github/ISSUE_TEMPLATE/commercial-bug-report.yml @@ -1,4 +1,4 @@ -name: Commercial License : Bug Report +name: 'Commercial License: Bug Report' description: | Create a report to help us improve the project. For Commercial License holders only. Please contact help@sixlabors.com for issues requiring private support. From 6197844260e992bea1a036a28d981e6e0dd02fe2 Mon Sep 17 00:00:00 2001 From: Dirk Lemstra Date: Sat, 12 Feb 2022 14:08:46 +0100 Subject: [PATCH 4/5] Use a different notation. --- .github/ISSUE_TEMPLATE/commercial-bug-report.yml | 2 +- .github/ISSUE_TEMPLATE/oss-bug-report.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/commercial-bug-report.yml b/.github/ISSUE_TEMPLATE/commercial-bug-report.yml index df3fbf9157..c16f412f28 100644 --- a/.github/ISSUE_TEMPLATE/commercial-bug-report.yml +++ b/.github/ISSUE_TEMPLATE/commercial-bug-report.yml @@ -1,4 +1,4 @@ -name: 'Commercial License: Bug Report' +name: (Commercial License) Bug Report description: | Create a report to help us improve the project. For Commercial License holders only. Please contact help@sixlabors.com for issues requiring private support. diff --git a/.github/ISSUE_TEMPLATE/oss-bug-report.yml b/.github/ISSUE_TEMPLATE/oss-bug-report.yml index 942c2bc782..1fdaf93c01 100644 --- a/.github/ISSUE_TEMPLATE/oss-bug-report.yml +++ b/.github/ISSUE_TEMPLATE/oss-bug-report.yml @@ -1,4 +1,4 @@ -name: OSS : Bug Report +name: (OSS) Bug Report description: Create a report to help us improve the project. OSS Issues are not guaranteed to be triaged. labels: ["needs triage"] - type: input From 0f587ab276a1e79427369defbefca40a20a40f0e Mon Sep 17 00:00:00 2001 From: Dirk Lemstra Date: Sat, 12 Feb 2022 14:15:57 +0100 Subject: [PATCH 5/5] Added missing body. --- .github/ISSUE_TEMPLATE/commercial-bug-report.yml | 3 ++- .github/ISSUE_TEMPLATE/oss-bug-report.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/commercial-bug-report.yml b/.github/ISSUE_TEMPLATE/commercial-bug-report.yml index c16f412f28..e96677b24b 100644 --- a/.github/ISSUE_TEMPLATE/commercial-bug-report.yml +++ b/.github/ISSUE_TEMPLATE/commercial-bug-report.yml @@ -1,8 +1,9 @@ -name: (Commercial License) Bug Report +name: "Commercial License : Bug Report" description: | Create a report to help us improve the project. For Commercial License holders only. Please contact help@sixlabors.com for issues requiring private support. labels: ["commercial", "needs triage"] +body: - type: input attributes: label: ImageSharp version diff --git a/.github/ISSUE_TEMPLATE/oss-bug-report.yml b/.github/ISSUE_TEMPLATE/oss-bug-report.yml index 1fdaf93c01..00138d511e 100644 --- a/.github/ISSUE_TEMPLATE/oss-bug-report.yml +++ b/.github/ISSUE_TEMPLATE/oss-bug-report.yml @@ -1,6 +1,7 @@ -name: (OSS) Bug Report +name: "OSS : Bug Report" description: Create a report to help us improve the project. OSS Issues are not guaranteed to be triaged. labels: ["needs triage"] +body: - type: input attributes: label: ImageSharp version