From 06ffa70afc78523b51f70f8d5554e47e9131efd5 Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Fri, 24 Jan 2020 22:40:47 +0100 Subject: [PATCH] Misc: dropped gitlab related files and added issue and pull request templates for github --- .gitlab-ci.yml | 32 ---------------- .gitlab/issue_templates/bug.md | 21 ----------- .gitlab/issue_templates/feature.md | 4 -- issue_template.md | 37 +++++++++++++++++++ ...st_template.md => pull_request_template.md | 0 5 files changed, 37 insertions(+), 57 deletions(-) delete mode 100644 .gitlab-ci.yml delete mode 100644 .gitlab/issue_templates/bug.md delete mode 100644 .gitlab/issue_templates/feature.md create mode 100644 issue_template.md rename .gitlab/merge_request_templates/pull_request_template.md => pull_request_template.md (100%) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index 127ac10e6b..0000000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,32 +0,0 @@ -services: - - mysql:latest - -variables: - MYSQL_ALLOW_EMPTY_PASSWORD: "yes" - -before_script: - - apt-get -yqq update - - apt-get -yqq install build-essential libtool gcc-4.8 g++-4.8 make cmake openssl clang-3.5 mysql-client - - apt-get -yqq install libssl-dev libmysqlclient-dev libmysql++-dev libreadline6-dev zlib1g-dev libbz2-dev libzmq3-dev - - apt-get -yqq install libboost1.55-dev libboost-thread1.55-dev libboost-filesystem1.55-dev libboost-system1.55-dev libboost-program-options1.55-dev libboost-iostreams1.55-dev - - export CC=clang-3.5 CXX=clang++-3.5 - -install: - script: - - mysql -uroot -e 'create database test_mysql;' - - mkdir bin - - cd bin - - cmake ../ -DWITH_WARNINGS=1 -DWITH_COREDEBUG=0 -DUSE_COREPCH=1 -DUSE_SCRIPTPCH=1 -DTOOLS=1 -DSCRIPTS=1 -DSERVERS=1 -DNOJEM=1 -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS="-Werror" -DCMAKE_CXX_FLAGS="-Werror" - - cd .. - - chmod +x contrib/check_updates.sh - - $CXX --version - - mysql -uroot < sql/create/create_mysql.sql - - mysql -utrinity -ptrinity auth < sql/base/auth_database.sql - - ./contrib/check_updates.sh auth auth - - mysql -utrinity -ptrinity characters < sql/base/characters_database.sql - - ./contrib/check_updates.sh characters characters - - mysql -utrinity -ptrinity world < sql/base/dev/world_database.sql - - cat sql/updates/world/*.sql | mysql -utrinity -ptrinity world - - mysql -uroot < sql/create/drop_mysql.sql - - cd bin - - make -j 10 -k diff --git a/.gitlab/issue_templates/bug.md b/.gitlab/issue_templates/bug.md deleted file mode 100644 index 5857ca9859..0000000000 --- a/.gitlab/issue_templates/bug.md +++ /dev/null @@ -1,21 +0,0 @@ -**Description**: - -**Current behavior**: Tell us what happens, supply ids of affected creatures, quests, gameobjects, etc - -**Expected behavior**: Tell us what should happen instead - -**Steps to reproduce the problem**: - -1. -2. -3. - -**TC hash/commit**: - -**TDB version**: - -**Operating system**: - - -[//]: # (This template is for problem reports, for other type of reports edit it accordingly) -[//]: # (If this is a crash report, include the crashlog with https://gist.github.com/) diff --git a/.gitlab/issue_templates/feature.md b/.gitlab/issue_templates/feature.md deleted file mode 100644 index 8330380735..0000000000 --- a/.gitlab/issue_templates/feature.md +++ /dev/null @@ -1,4 +0,0 @@ -**Feature request**: - -[//]: # (This template is for problem reports, for other type of reports edit it accordingly) -[//]: # (If this is a crash report, include the crashlog with https://gist.github.com/) diff --git a/issue_template.md b/issue_template.md new file mode 100644 index 0000000000..c52ad57f1f --- /dev/null +++ b/issue_template.md @@ -0,0 +1,37 @@ + + +**Description:** + +CHANGEME Description of the problem or issue here. + +**Current behaviour:** + +CHANGEME Tell us what happens. +If this is a crash, post the crashlog (upload to https://gist.github.com/). + +**Expected behaviour:** + +CHANGEME Tell us what should happen instead. + +**Steps to reproduce the problem:** + +1. CHANGEME Step 1 include entries of affected creatures / items / quests with a link to the relevant wowhead page. +2. Step 2 +3. Step 3 + +**TC rev. hash/commit:** + +CHANGEME Copy the first line of the `worldserver` or `bnetserver` startup. +For example: TrinityCore rev. 0000000000 2000-01-09 11:31:41 +0100 (my branch) (Win64, RelWithDebInfo, Static) (bnetserver) + +**TDB version:** CHANGEME Version of the TrinityCore database + +**Operating system:** CHANGEME OS + + + diff --git a/.gitlab/merge_request_templates/pull_request_template.md b/pull_request_template.md similarity index 100% rename from .gitlab/merge_request_templates/pull_request_template.md rename to pull_request_template.md