From 453fcc46756d4b037f5bee26bcc31a0d47cdd947 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Wed, 21 Jun 2023 08:54:03 +0200 Subject: [PATCH] Make sure people asking questions opens a discussion instead of an issue --- .github/ISSUE_TEMPLATE/Bug.md | 2 +- .github/ISSUE_TEMPLATE/Feature_Request.md | 2 +- .github/ISSUE_TEMPLATE/Question_Support.md | 26 ---------------------- .github/ISSUE_TEMPLATE/config.yml | 5 +++++ CONTRIBUTING.md | 2 +- build.sh | 2 +- 6 files changed, 9 insertions(+), 30 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/Question_Support.md create mode 100644 .github/ISSUE_TEMPLATE/config.yml diff --git a/.github/ISSUE_TEMPLATE/Bug.md b/.github/ISSUE_TEMPLATE/Bug.md index 9d8b644c..55e060de 100644 --- a/.github/ISSUE_TEMPLATE/Bug.md +++ b/.github/ISSUE_TEMPLATE/Bug.md @@ -1,6 +1,6 @@ --- name: Bug report -about: Something on shlink is broken or not working as documented? +about: Something on Shlink is broken or not working as documented? labels: bug --- diff --git a/.github/ISSUE_TEMPLATE/Feature_Request.md b/.github/ISSUE_TEMPLATE/Feature_Request.md index dcfc37ad..835f705b 100644 --- a/.github/ISSUE_TEMPLATE/Feature_Request.md +++ b/.github/ISSUE_TEMPLATE/Feature_Request.md @@ -1,6 +1,6 @@ --- name: Feature request -about: Do you find shlink is missing some important feature that would make it more useful? +about: Do you find Shlink is missing some important feature that would make it more useful? labels: feature --- diff --git a/.github/ISSUE_TEMPLATE/Question_Support.md b/.github/ISSUE_TEMPLATE/Question_Support.md deleted file mode 100644 index 28e5e022..00000000 --- a/.github/ISSUE_TEMPLATE/Question_Support.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -name: Question - Support -about: Do you have a problem setting up or using shlink? -labels: question ---- - - - -#### How Shlink is set up - -* Shlink Version: x.y.z -* PHP Version: x.y.z -* How do you serve Shlink: Self-hosted Apache|Self-hosted nginx|Self-hosted openswoole|Self-hosted RoadRunner|Openswoole Docker image|RoadRunner Docker image -* Database engine used: MySQL|MariaDB|PostgreSQL|MicrosoftSQL|SQLite (x.y.z) - -#### Summary - - diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..53fca8ef --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: true +contact_links: + - name: Question - Support + about: Do you need help setting up or using Shlink? + url: https://github.com/shlinkio/shlink/discussions/new?category=help-wanted diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 02325758..79b4c8b4 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -73,7 +73,7 @@ shlink The purposes of every folder are: -* `bin`: It contains the CLI tools. The `cli` one is the main entry point to run shlink from the command line. +* `bin`: It contains the CLI tools. The `cli` one is the main entry point to run Shlink from the command line. * `config`: Contains application-wide configurations, which are later merged with the ones provided by every module. * `data`: Common runtime-generated git-ignored assets, like logs, caches, etc. * `docs`: Any project documentation is stored here, like API spec definitions or architectural decision records. diff --git a/build.sh b/build.sh index 065aee75..f91ab408 100755 --- a/build.sh +++ b/build.sh @@ -48,7 +48,7 @@ fi echo 'Deleting dev files...' rm composer.* -# Update shlink version in config +# Update Shlink version in config sed -i "s/%SHLINK_VERSION%/${version}/g" config/autoload/app_options.global.php # Compressing file