index : static-web-server.git

ascending towards madness

author Jose Quintana <1700322+joseluisq@users.noreply.github.com> 2023-12-01 22:19:26.0 +00:00:00
committer GitHub <noreply@github.com> 2023-12-01 22:19:26.0 +00:00:00
commit
ab67bd7a64de5cadc2aa5eb09ff63c540b1396d0 [patch]
tree
42dd36c6e5fe1e10d57718cee06f74502fcf3857
parent
55545221dec82134c63246d5c1755caf7fec335c
download
ab67bd7a64de5cadc2aa5eb09ff63c540b1396d0.tar.gz

refactor: github issue & pull request template improvement [skip ci] (#294)



Diff

 .github/ISSUE_TEMPLATE/bug_report.md       |  28 +-------
 .github/ISSUE_TEMPLATE/bug_report.yml      | 118 ++++++++++++++++++++++++++++++-
 .github/ISSUE_TEMPLATE/config.yml          |  10 +++-
 .github/ISSUE_TEMPLATE/feature_request.md  |  19 +-----
 .github/ISSUE_TEMPLATE/feature_request.yml |  96 ++++++++++++++++++++++++-
 .github/PULL_REQUEST_TEMPLATE.md           |   6 +-
 6 files changed, 227 insertions(+), 50 deletions(-)

diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
deleted file mode 100644
index 50d0109..0000000
--- a/.github/ISSUE_TEMPLATE/bug_report.md
+++ /dev/null
@@ -1,28 +0,0 @@
---
name: Bug report
about: Create a bug report to help us improve
title: ''
labels: ''
assignees: ''
---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior

**Expected behavior**
A clear and concise description of what you expected to happen.

**Logs/Screenshots**
If applicable, add logs or screenshots to help explain your problem.

**Environment and Specs**
 - static-web-server: [e.g. v1.17.1]
 - OS: [e.g. Linux 5.13.2, Macos 11.4, etc]
 - Docker: [e.g. 20.10.7]
 - Client: [e.g. Chrome 91.0.4472.114, Safari 14.1.1, curl, etc]

**Additional context**
Add any other context about the problem here if needed.
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
new file mode 100644
index 0000000..d4be499
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -0,0 +1,118 @@
name: "Bug Report"
description: "Create a bug report to help us improve."
labels: ["bug", "v2"]
assignees:
  - joseluisq
body:
  - type: markdown
    attributes:
      value: |
        **Thanks for taking the time to file a bug report! Please fill out this form as completely as possible.**
  - type: checkboxes
    id: search-duplicate
    attributes:
      label: Search for duplicate issues
      options:
        - label: I already searched, and this issue is not a duplicate.
          required: true
  - type: dropdown
    id: issue-scope
    attributes:
      label: Issue scope
      description: What is the scope of this issue?
      options:
        - BSD (E.g. FreeBSD, NetBSD, illumos)
        - Linux (E.g. Arch Linux, Debian, Alpine, etc)
        - macOS
        - Windows / Windows Service
        - Docker/Kubernetes
        - Build target (binary)
        - Libary (crate)
        - Script installer
        - Documentation
        - Usability / User Experience
        - CLI
        - Configuration (e.g. TOML)
        - Other
  - type: textarea
    id: describe-bug
    attributes:
      label: Describe the bug
      description: A clear and concise description of what the bug is.
    validations:
      required: true
  - type: textarea
    id: how-reproduce
    attributes:
      label: How to reproduce it
      description: Steps to reproduce the issue.
      placeholder: |
        1. First step...
    validations:
      required: true
  - type: textarea
    id: expected-behavior
    attributes:
      label: Expected behavior
      description: A clear and concise description of what you expected to happen.
    validations:
      required: true
  - type: textarea
    id: complementary-info
    attributes:
      label: Complementary information
      description: If applicable, add logs, screenshots or a video to help explain your problem.
    validations:
      required: false
  - type: dropdown
    id: build-target
    attributes:
      label: Build target used
      description: Specify the SWS pre-compiled build (binary) target that you use.
      options:
        - aarch64-apple-darwin
        - aarch64-linux-android
        - aarch64-pc-windows-msvc
        - aarch64-unknown-linux-gnu
        - aarch64-unknown-linux-musl
        - arm-unknown-linux-gnueabihf
        - arm-unknown-linux-musleabihf
        - armv7-unknown-linux-musleabihf
        - i686-pc-windows-msvc
        - i686-unknown-freebsd
        - i686-unknown-linux-gnu
        - i686-unknown-linux-musl
        - powerpc64le-unknown-linux-gnu
        - s390x-unknown-linux-gnu
        - x86_64-apple-darwin
        - x86_64-pc-windows-gnu
        - x86_64-pc-windows-msvc
        - x86_64-unknown-freebsd
        - x86_64-unknown-illumos
        - x86_64-unknown-linux-gnu
        - x86_64-unknown-linux-musl
        - x86_64-unknown-netbsd
        - Built from source (specify below)
    validations:
      required: true
  - type: textarea
    id: environment-specs
    attributes:
      label: Environment and specs
      description: Provide information about your environment and specs.
      value: |
        - [ ] **static-web-server:** [e.g. v1.24.1]
        - [ ] **OS:** [e.g. Debian 12.2, Macos 14.1.2, Windows 11, etc]
        - [ ] **Arch:** [e.g. x86_64 (64-bit), ARM (32-bit), ARM64 (64-bit), i686 (32-bit), etc]
        - [ ] **Docker:** [e.g. 20.10.7]
        - [ ] **Client:** [e.g. Chrome 91.0.4472.114, Firefox 119.0.1, curl, etc]
        - [ ] Specify others
    validations:
      required: true
  - type: textarea
    id: additional-context
    attributes:
      label: Additional context
      description: Add any other context information about the problem here if needed.
    validations:
      required: false
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
new file mode 100644
index 0000000..1ca742a
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -0,0 +1,10 @@
blank_issues_enabled: false
contact_links:
  - name: Static Web Server - Website
    url: https://static-web-server.net
    about: |
      Refer to official website for details about installation, usage, features and examples.
  - name: Static Web Server - Community Support
    url: https://github.com/orgs/static-web-server/discussions
    about: |
      Please use the discussions page if you have questions or need help.
diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md
deleted file mode 100644
index a50d324..0000000
--- a/.github/ISSUE_TEMPLATE/feature_request.md
+++ /dev/null
@@ -1,19 +0,0 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''
---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here if needed.
diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml
new file mode 100644
index 0000000..3bd1713
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/feature_request.yml
@@ -0,0 +1,96 @@
name: "Feature request or improvement"
description: "Suggest an idea for the project"
labels: ["enhancement", "help wanted", "v2"]
body:
  - type: markdown
    attributes:
      value: |
        **Thanks for taking the time to request a feature or improvement! Please fill out this form as completely as possible.**
  - type: checkboxes
    id: search-duplicate
    attributes:
      label: Search for duplicate feature request
      options:
        - label: I already searched, and this feature request or improvement is not a duplicate.
          required: true
  - type: dropdown
    id: feature-scope
    attributes:
      label: Feature scope
      description: What is the scope of this feature or improvement?
      options:
        - Completely new feature
        - Improve existing functionality
        - Target/OS/arch/platform
        - Build target (binary)
        - Libary/API (crate)
        - Configuration (e.g. TOML) or CLI/env option
        - Usability / User Experience
        - Documentation
        - Other (specify below)
  - type: textarea
    id: feature-related
    attributes:
      label: Feature request related to a problem
      description: |
        If the case, provide a clear and concise description of what the problem is. E.g. I'm always frustrated when [...]
    validations:
      required: false
  - type: textarea
    id: describe-solution
    attributes:
      label: Describe the solution you'd like
      description: A clear and concise description of what you want to happen.
    validations:
      required: true
  - type: textarea
    id: describe-alternatives
    attributes:
      label: Describe alternatives you've considered
      description: A clear and concise description of any alternative solutions or features you've considered.
    validations:
      required: true
  - type: dropdown
    id: build-target
    attributes:
      label: Build target
      description: Specify the SWS target(s) involved in this feature request or if a new one.
      options:
        - All targets
        - Only Unix targets
        - Only Linux targets
        - Only Unix/Linux targets
        - Only macOS targets
        - Only Window targets
        - New target (specify below)
        - aarch64-apple-darwin
        - aarch64-linux-android
        - aarch64-pc-windows-msvc
        - aarch64-unknown-linux-gnu
        - aarch64-unknown-linux-musl
        - arm-unknown-linux-gnueabihf
        - arm-unknown-linux-musleabihf
        - armv7-unknown-linux-musleabihf
        - i686-pc-windows-msvc
        - i686-unknown-freebsd
        - i686-unknown-linux-gnu
        - i686-unknown-linux-musl
        - powerpc64le-unknown-linux-gnu
        - s390x-unknown-linux-gnu
        - x86_64-apple-darwin
        - x86_64-pc-windows-gnu
        - x86_64-pc-windows-msvc
        - x86_64-unknown-freebsd
        - x86_64-unknown-illumos
        - x86_64-unknown-linux-gnu
        - x86_64-unknown-linux-musl
        - x86_64-unknown-netbsd
    validations:
      required: true
  - type: textarea
    id: additional-context
    attributes:
      label: Additional context
      description: Add any other context information about the problem here if needed.
    validations:
      required: false
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
index 57caf2d..4155afe 100644
--- a/.github/PULL_REQUEST_TEMPLATE.md
+++ b/.github/PULL_REQUEST_TEMPLATE.md
@@ -1,7 +1,7 @@
<!--- Provide a general summary of your changes in the Title above -->

## Description
<!--- Describe your changes but trying to be concise as possible -->
<!--- Describe your changes but try to be as concise as possible -->

## Related Issue
<!--- This project only accepts pull requests related to open issues -->
@@ -15,7 +15,7 @@

## How Has This Been Tested?
<!--- Please describe in detail how you tested your changes. -->
<!--- Include details of your testing environment, and the tests you ran to -->
<!--- see how your change affects other areas of the code, etc. -->
<!--- Include details of your testing environment and the tests you ran to -->
<!--- See how your change affects other areas of the code, etc. -->

## Screenshots (if appropriate):