From 94d087246b67a436e40dd19c936c237d4d6e3732 Mon Sep 17 00:00:00 2001 From: Walter Pagani Date: Fri, 16 Jun 2023 06:01:41 -0300 Subject: [PATCH] chore(Module/Structure): update structure (#72) --- .github/ISSUE_TEMPLATE/bug_report.yml | 72 +++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.yml | 33 +++++++++ README.md | 1 - conf/conf.sh.dist | 9 --- data/.gitkeep | 0 data/sql/db-auth/base/.gitkeep | 0 data/sql/db-auth/updates/.gitkeep | 0 data/sql/db-characters/base/.gitkeep | 0 data/sql/db-characters/updates/.gitkeep | 0 data/sql/db-world/base/.gitkeep | 0 .../db-world}/base/mod_auctionhousebot.sql | 0 data/sql/db-world/updates/.gitkeep | 0 include.sh | 9 --- pull_request_template.md | 25 +++++++ 14 files changed, 130 insertions(+), 19 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml delete mode 100644 conf/conf.sh.dist create mode 100644 data/.gitkeep create mode 100644 data/sql/db-auth/base/.gitkeep create mode 100644 data/sql/db-auth/updates/.gitkeep create mode 100644 data/sql/db-characters/base/.gitkeep create mode 100644 data/sql/db-characters/updates/.gitkeep create mode 100644 data/sql/db-world/base/.gitkeep rename {sql/world => data/sql/db-world}/base/mod_auctionhousebot.sql (100%) create mode 100644 data/sql/db-world/updates/.gitkeep create mode 100644 pull_request_template.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..5610d2b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,72 @@ +name: Bug report +description: Create a bug report to help us improve. +title: "Bug: " +body: + - type: textarea + id: current + attributes: + label: Current Behaviour + description: | + Description of the problem or issue here. + Include entries of affected creatures / items / quests / spells etc. + If this is a crash, post the crashlog (upload to https://gist.github.com/) and include the link here. + Never upload files! Use GIST for text and YouTube for videos! + validations: + required: true + - type: textarea + id: expected + attributes: + label: Expected Behaviour + description: | + Tell us what should happen instead. + validations: + required: true + - type: textarea + id: reproduce + attributes: + label: Steps to reproduce the problem + description: | + What does someone else need to do to encounter the same bug? + placeholder: | + 1. Step 1 + 2. Step 2 + 3. Step 3 + validations: + required: true + - type: textarea + id: extra + attributes: + label: Extra Notes + description: | + Do you have any extra notes that can help solve the issue that does not fit any other field? + placeholder: | + None + validations: + required: false + - type: textarea + id: commit + attributes: + label: AC rev. hash/commit + description: | + Copy the result of the `.server debug` command (if you need to run it from the client get a prat addon) + validations: + required: true + - type: input + id: os + attributes: + label: Operating system + description: | + The Operating System the Server is running on. + i.e. Windows 11 x64, Debian 10 x64, macOS 12, Ubuntu 20.04 + validations: + required: true + - type: textarea + id: custom + attributes: + label: Custom changes or Modules + description: | + List which custom changes or modules you have applied, i.e. Eluna module, etc. + placeholder: | + None + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 0000000..58f79dd --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,33 @@ +name: Feature request +description: Suggest an idea for this project +title: "Feature: " +body: + - type: markdown + attributes: + value: | + Thank you for taking your time to fill out a feature request. Remember to fill out all fields including the title above. + An issue that is not properly filled out will be closed. + - type: textarea + id: description + attributes: + label: Describe your feature request or suggestion in detail + description: | + A clear and concise description of what you want to happen. + validations: + required: true + - type: textarea + id: solution + attributes: + label: Describe a possible solution to your feature or suggestion in detail + description: | + A clear and concise description of any alternative solutions or features you've considered. + validations: + required: false + - type: textarea + id: additional + attributes: + label: Additional context + description: | + Add any other context or screenshots about the feature request here. + validations: + required: false diff --git a/README.md b/README.md index db90434..810b8e7 100644 --- a/README.md +++ b/README.md @@ -43,4 +43,3 @@ Notes: - Ayase: ported the bot to AzerothCore - Other contributors (check the contributors list) - diff --git a/conf/conf.sh.dist b/conf/conf.sh.dist deleted file mode 100644 index 937a7bc..0000000 --- a/conf/conf.sh.dist +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/env bash - -# -# CUSTOM -# - -DB_WORLD_CUSTOM_PATHS+=( - $MOD_AH_BOT_ROOT"/sql/world/base/" -) diff --git a/data/.gitkeep b/data/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/data/sql/db-auth/base/.gitkeep b/data/sql/db-auth/base/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/data/sql/db-auth/updates/.gitkeep b/data/sql/db-auth/updates/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/data/sql/db-characters/base/.gitkeep b/data/sql/db-characters/base/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/data/sql/db-characters/updates/.gitkeep b/data/sql/db-characters/updates/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/data/sql/db-world/base/.gitkeep b/data/sql/db-world/base/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/sql/world/base/mod_auctionhousebot.sql b/data/sql/db-world/base/mod_auctionhousebot.sql similarity index 100% rename from sql/world/base/mod_auctionhousebot.sql rename to data/sql/db-world/base/mod_auctionhousebot.sql diff --git a/data/sql/db-world/updates/.gitkeep b/data/sql/db-world/updates/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/include.sh b/include.sh index 038ece6..e69de29 100644 --- a/include.sh +++ b/include.sh @@ -1,9 +0,0 @@ -#!/usr/bin/env bash - -MOD_AH_BOT_ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )/" && pwd )" - -source $MOD_AH_BOT_ROOT"/conf/conf.sh.dist" - -if [ -f $MOD_AH_BOT_ROOT"/conf/conf.sh" ]; then - source $MOD_AH_BOT_ROOT"/conf/conf.sh" -fi diff --git a/pull_request_template.md b/pull_request_template.md new file mode 100644 index 0000000..21c9245 --- /dev/null +++ b/pull_request_template.md @@ -0,0 +1,25 @@ + + +## Changes Proposed: +- +- + +## Issues Addressed: + +- Closes + +## SOURCE: + + +## Tests Performed: + +- +- + + +## How to Test the Changes: + + +1. +2. +3.