Ver Fonte

chore: update issue templates

Daniel Gibbs há 3 anos atrás
pai
commit
a181b2d56a

+ 0 - 50
.github/ISSUE_TEMPLATE/bug-report.md

@@ -1,50 +0,0 @@
----
-name: Bug Report
-about: Found a bug? Raise a report.
-title: "[BUG]"
-labels: "type: bug"
-assignees: ""
----
-
-Issues raised here are **ONLY** for:
-
--   LinuxGSM bugs.
--   Feature suggestions.
--   Code contributions.
-
-Issues raised here are **NOT** for:
-
--   General support.
--   Specific game server issues (e.g CS:GO, TF2).
--   Dedicated server issues (e.g Ubuntu, CentOS).
--   Anything not directly related to LinuxGSM development.
-
-For general support visit the **[LinuxGSM-Support](https://linuxgsm.com/support)**.
-
-**_Please use the template below, deleting the above text_**
-
-## User Story
-
-As a [user description], I want [desired action] so that [desired outcome].
-
-## Basic info
-
--   **Distro:** [Ubuntu 18.04]
--   **Game:** [Garry's Mod]
--   **Command:** [Monitor]
--   **LinuxGSM version:** [v20.1.3]
-
-## Further Information
-
-A clear description of what the bug is and any ideas on how to resolve it. Plus any further context that might be relevant to the issue.
-
-## To Reproduce
-
-Steps to reproduce the behaviour:
-
-1. Go to '...'
-2. Click on '....'
-3. Scroll down to '....'
-4. See error
-
-## Expected behaviour

+ 95 - 0
.github/ISSUE_TEMPLATE/bug_report.yml

@@ -0,0 +1,95 @@
+---
+name: Bug Report
+description: File a bug report
+title: "[Bug]: "
+labels: ["type: bug"]
+body:
+  - type: markdown
+    attributes:
+      value: |
+        Thanks for taking the time to fill out this bug report!
+  - type: input
+    id: user-story
+    attributes:
+      label: User story
+      description: As a [user description], I want [desired action] so that [desired outcome].
+      placeholder: As a [user description], I want [desired action] so that [desired outcome].
+    validations:
+      required: true
+  - type: input
+    id: game
+    attributes:
+      label: Game
+      description: What game server are you hosting?
+      placeholder: Valheim
+    validations:
+      required: true
+  - type: dropdown
+    id: distro
+    attributes:
+      label: Linux distro
+      multiple: true
+      options:
+        - Ubuntu 22.04
+        - Ubuntu 20.04
+        - Ubuntu 18.04
+        - Ubuntu 16.04
+        - Debian 11
+        - Debian 10
+        - Debian 9
+        - RedHat 9
+        - RedHat 8
+        - RedHat 7
+        - Other
+    validations:
+      required: true
+  - type: dropdown
+    id: command
+    attributes:
+      label: Command
+      multiple: true
+      options:
+        - "command: start"
+        - "command: stop"
+        - "command: restart"
+        - "command: monitor"
+        - "command: details"
+        - "command: update"
+        - "command: validate"
+        - "command: backup"
+        - "command: mods-install"
+        - "command: mods-update"
+        - "command: mods-remove"
+        - "command: debug"
+        - "command: console"
+        - "command: install"
+        - "command: auto-update"
+        - "command: update-lgsm"
+        - "command: wipe"
+        - "command: send"
+    validations:
+      required: true
+  - type: textarea
+    id: further-info
+    attributes:
+      label: Further information
+      description: A clear description of what the bug is, any ideas on how to resolve it and any further context that might be relevant to the issue.
+      placeholder: Tell us what you see!
+    validations:
+      required: true
+  - type: textarea
+    id: logs
+    attributes:
+      label: Relevant log output
+      description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
+      render: shell
+  - type: textarea
+    id: steps
+    attributes:
+      label: Steps to reproduce
+      description: Steps to reproduce the behaviour.
+      placeholder: |
+        1. Go to '...'
+        2. Click on '....'
+        3. Scroll down to '....'
+        4. See error

+ 8 - 0
.github/ISSUE_TEMPLATE/config.yml

@@ -0,0 +1,8 @@
+blank_issues_enabled: false
+contact_links:
+  - name: Ask a question
+    about: Ask questions and discuss with other users of LinuxGSM.
+    url: https://github.com/GameServerManagers/LinuxGSM/discussions
+  - name: Discord Server
+    about: Join the LinuxGSM Discord community server. Discuss your LinuxGSM setup, get help and advice
+    url: https://linuxgsm.com/discord

+ 0 - 43
.github/ISSUE_TEMPLATE/feature-request.md

@@ -1,43 +0,0 @@
----
-name: Feature Request
-about: Suggest an idea for LinuxGSM.
-title: "[FEATURE]"
-labels: "type: feature request"
-assignees: ""
----
-
-Issues raised here are **ONLY** for:
-
--   LinuxGSM bugs.
--   Feature suggestions.
--   Code contributions.
-
-Issues raised here are **NOT** for:
-
--   General support.
--   Specific game server issues (e.g CS:GO, TF2).
--   Dedicated server issues (e.g Ubuntu, CentOS).
--   Anything not directly related to LinuxGSM development.
-
-For general support visit the **[LinuxGSM Support](https://linuxgsm.com/support)** page.
-
-**_Please use the template below, deleting the above text_**
-
-## User Story
-
-As a [user description], I want [desired action] so that [desired outcome].
-
-## Basic info
-
--   **Distro:** [Ubuntu 20.04]
--   **Game:** [Garry's Mod]
--   **Command:** [Monitor]
--   **LinuxGSM version:** [v20.1.3]
-
-## Further Information
-
-A clear description of what the feature is and any ideas on how to achieve this.
-
-## Further Reading
-
-Provide any useful documentation or resources that might help.

+ 78 - 0
.github/ISSUE_TEMPLATE/feature_request.yml

@@ -0,0 +1,78 @@
+---
+name: Feature Request
+description: Suggest a feature
+title: "[Feature]: "
+labels: ["type: feature"]
+body:
+  - type: markdown
+    attributes:
+      value: |
+        Thanks for taking the time to fill out this feature request!
+  - type: input
+    id: user-story
+    attributes:
+      label: User story
+      description: As a [user description], I want [desired action] so that [desired outcome].
+      placeholder: As a [user description], I want [desired action] so that [desired outcome].
+    validations:
+      required: true
+  - type: input
+    id: game
+    attributes:
+      label: Game
+      description: What game server are you hosting?
+      placeholder: Valheim
+    validations:
+      required: false
+  - type: dropdown
+    id: distro
+    attributes:
+      label: Linux distro
+      multiple: true
+      options:
+        - Ubuntu 22.04
+        - Ubuntu 20.04
+        - Ubuntu 18.04
+        - Ubuntu 16.04
+        - Debian 11
+        - Debian 10
+        - Debian 9
+        - RedHat 9
+        - RedHat 8
+        - RedHat 7
+        - Other
+    validations:
+      required: false
+  - type: dropdown
+    id: command
+    attributes:
+      label: Command
+      multiple: true
+      options:
+        - "command: start"
+        - "command: stop"
+        - "command: restart"
+        - "command: monitor"
+        - "command: details"
+        - "command: update"
+        - "command: validate"
+        - "command: backup"
+        - "command: mods-install"
+        - "command: mods-update"
+        - "command: mods-remove"
+        - "command: debug"
+        - "command: console"
+        - "command: install"
+        - "command: auto-update"
+        - "command: update-lgsm"
+        - "command: wipe"
+        - "command: send"
+    validations:
+      required: true
+  - type: textarea
+    id: further-info
+    attributes:
+      label: Further information
+      description: A clear description of what the feature is and any ideas on how to achieve this.
+    validations:
+      required: true

+ 0 - 31
.github/ISSUE_TEMPLATE/new-server-request.md

@@ -1,31 +0,0 @@
----
-name: New Server Request
-about: Suggest a new game server to be added.
-title: "[Server Request]"
-labels: "type: game server request"
-assignees: ""
----
-
-## What game server would you like to add?
-
-[game server]
-
-## Can you link to any tutorials or guides?
-
-Provide any useful documentation or resources that might help.
-
-## Is the server on Steam?
-
--   [ ] Yes
--   [ ] No
-
-If yes Use SteamDB to get the appid. (https://steamdb.info).
-
-[appid]
-
-## Is the server supported on Linux?
-
-We only support Linux servers and do **not** support Wine.
-
--   [ ] Yes
--   [ ] No

+ 57 - 0
.github/ISSUE_TEMPLATE/server_request.yml

@@ -0,0 +1,57 @@
+---
+name: Server Request
+description: Suggest a new game server to be added
+title: "[Server Request]: "
+labels: ["type: game server request"]
+body:
+  - type: markdown
+    attributes:
+      value: |
+        Thanks for taking the time to fill out this game server!
+  - type: input
+    id: game-server
+    attributes:
+      label: Game server
+      description: What game server would you like to add?
+    validations:
+      required: true
+  - type: checkboxes
+    id: on-linux
+    attributes:
+      label: Linux support
+      description: Does this game server have Linux support? (not wine)
+      options:
+        - label: "Yes"
+    validations:
+      required: true
+  - type: dropdown
+    id: on-steam
+    attributes:
+      label: Steam
+      description: Is this game server available on Steam?
+      options:
+        - "Yes"
+        - "No"
+    validations:
+      required: true
+  - type: input
+    id: steam-id
+    attributes:
+      label: Steam appid
+      description: What is the Steam appid of the game server? Use SteamDB to get the appid. (https://steamdb.info).
+      placeholder: "892970"
+    validations:
+      required: false
+  - type: textarea
+    id: guides
+    attributes:
+      label: Guides
+      description: Links to guides on how to install the game server
+  - type: checkboxes
+    id: terms
+    attributes:
+      label: Code of Conduct
+      description: By submitting this issue, you agree to follow our [Code of Conduct](https://example.com)
+      options:
+        - label: I agree to follow this project's Code of Conduct
+          required: true

+ 1 - 1
.github/labeler.yml

@@ -9,7 +9,7 @@
 "command: fast-dl":
   - "(fast-dl|fastdl)"
 "command: install":
-  - "(command: install)"
+  - "(install)"
 "command: mods":
   - "(command: mods)"
 "command: monitor":

+ 3 - 3
.github/workflows/trigger-docker-build.yml

@@ -1,8 +1,8 @@
 name: Trigger Docker Build
 on:
-  push:
-    branches:
-      - master
+  release:
+    types:
+      - published
 jobs:
   trigger_build_docker-linuxgsm:
     name: Trigger Build docker-linuxgsm