Commit graph

329 commits

Author SHA1 Message Date
Patrick Lewis
ba53234917
fix(CI/MacOS): pinto openssl@1.1 (#8150) 2021-09-29 09:17:14 +02:00
Stefano Borzì
613daa8312
chore(Bash/installer): update client-data version (#8000) 2021-09-22 10:15:33 +07:00
cjl3230
ab5f27c2a7
fix(Tools): error when execute vmap4assembler.exe in extractor.bat (#7166) 2021-08-08 13:33:01 +02:00
UltraNix
261d5c62cd
fix(Core/Collision): typo in VMap BIH generation. (#7066)
* Core/Collision: Fix typo in VMap BIH generation.

Fixed #5768.

* Bump vmap and mmap versions.

* chore: update data version in the bash installer
2021-08-08 12:21:29 +02:00
Kargatum
96c51317f5
feat(Deps/ACE): remove ACE library (part 1/2) (#6980) 2021-07-16 15:05:39 +02:00
Kargatum
b680670047
feat(CMake): delete EXTRA_LOGS (#6897) 2021-07-14 23:47:40 +02:00
Francesco Borzì
920825b759
feat(CI): show warnings in macOS run (#6861) 2021-07-10 12:01:45 -07:00
Francesco Borzì
de93120463
feat(CI): add mod-azerothshard to the CI (#6629) 2021-06-28 19:04:29 +02:00
Francesco Borzì
7579dc4689
feat(CI): add modules (#6584) 2021-06-26 14:13:43 +02:00
Francesco Borzì
1e4a73972e
fix(CMake/Bash): -DSCRIPTS cmake param (#6522) 2021-06-23 17:25:28 +02:00
Kargatum
5991b2769a
feat(Core/Scripts): split the huge scriptloader into smaller pieces (#5346)
* feat(Core/Scripts): split the huge scriptloader into smaller pieces

* AddSC_swamp_of_sorrows del

* 1

* add mod info

* 1

* 039f0e0faa

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2021-06-22 23:19:02 +02:00
Francesco Borzì
67b84e0c1e
feat(Core): deprecate clang-9 and older (#6406) 2021-06-17 18:30:15 +02:00
Yehonal
d4d2a17a96 fix(bash): restored import sql script
Codacity suggestions are causing bugs here.
It would be better to convert it in Typescript in future.
2021-06-16 17:40:23 +02:00
Yehonal
65d70cadce chore(deno/changelog): fix commit link 2021-06-15 11:09:55 +02:00
Yehonal
3f70d0b80f
feat(doc): changelog system (#6350)
This system provides rules and automatizes (Deno-typescript) the creation of a changelog file to help developers to adapt their code and know what is new with every (pre)release
2021-06-15 11:04:29 +02:00
Patrick Lewis
d72375c4eb
feat(CI): add clang12 to core_build matrix (#5681) 2021-06-09 21:39:02 +02:00
Kargatum
584b8d908e
feat(Core/Apps): add support dynamic lib for EnumUtils (#6120) 2021-06-01 17:58:01 +02:00
Patrick Lewis
c95c593174
fix(Bash/Ubuntu): allow Boost install on minimal ubuntu 20.04 installs (#6037) 2021-05-31 18:19:45 +02:00
Kitzunu
897a02bb75
refactor(Core/Misc): acore to Acore (#6043) 2021-05-31 14:21:54 +02:00
Kargatum
e3c1e739c6
feat(CI/Codestyle): add check core logs (#6012) 2021-05-31 11:03:00 +02:00
Kitzunu
268fa40c75
chore(import-sql): fix update (#6139)
* Update import.sh

* Update 2021_05_30_03.sql

* Update 2021_05_30_02.sql

* Update import.sh

* Update import.sh

* Update 2021_05_30_02.sql

* Update 2021_05_30_03.sql
2021-05-31 01:01:30 +02:00
Patrick Lewis
637041598f
fix(BASH/Compiler): error in if condition (#5983) 2021-05-30 22:43:31 +02:00
Francesco Borzì
37f435b49d
fix(CI): sql build (#6134) 2021-05-30 18:38:15 +02:00
Kitzunu
4046fe2282
feat(DB/Version): Add date on update (#6006) 2021-05-30 17:26:32 +02:00
Kargatum
50adcf2065
feat(Deps/Boost): add boost support (#5676)
* feat(Deps/Boost): add boost support

* 1

* 2

* to 1.74
2021-05-23 13:53:15 +02:00
Luis Vaz
29bed995ae
Update docker-cmd.ts (#5973)
Co-authored-by: Patrick Lewis <pat@lo5t.com>
2021-05-21 20:15:07 -07:00
Kargatum
d0a259d6ee
feat(Cmake/Compiler): deprecated clang6 and gcc 7 (#5671) 2021-05-17 01:50:03 +02:00
Francesco Borzì
8168f9aea0
fix(CI): replace clang-9 with clang-8 (#5877) 2021-05-16 02:25:29 +02:00
Kitzunu
05780f2c50
feat(apps): Config Merger (#5779)
* feat(apps): Config Merger

* update for ac

* Update README.md
2021-05-11 17:46:28 +02:00
Yehonal
ff2737fee8
feat(bash): Improved support for gperftools (#5769) 2021-05-10 22:21:23 +02:00
Patrick Lewis
af04ba0790
fix(Bash): process priority class Permission denied (#5686) 2021-05-09 18:08:42 -06:00
Yehonal
e564994b37
chore(docker): pre-install deno within the images (#5644) 2021-05-06 14:54:04 +02:00
Yehonal
01f188fcf5
fix(docker): reduced client-data image of 200% 2021-05-04 18:41:55 +02:00
Yehonal
f6c6123d85
feat(docker): production images, integrated ccache and many other improvements (#5551) 2021-05-04 11:35:24 +02:00
Patrick Lewis
e02d5f4ae4
fix(BASH): cp docker configs (#5536)
* fix(BASH): cp docker configs

* fix(DOCKER): typo
2021-04-29 01:31:17 -07:00
Yehonal
e4fafc61dd
fix(Docker): windows improvements and permissions fix (#5444) 2021-04-28 22:26:39 +02:00
Patrick Lewis
cabe1163d8
fix(CI/macOS): change build type to release (#5466)
* fix(CI/macOS): change build type to release

* fix(CI/macOS): change ccache options

* fix(CI/macOS): test change build type back to debug

* fix(CI/macOS): change build type back to release

* fix(CI/macOS): change ccache size
2021-04-26 16:34:30 -07:00
Rochet2
0b13827e3c
fix(CI): disable mac PCH to allow more caching (#5427)
* Update ci-compile.sh

* Update ci-compile.sh

* Update ci-compile.sh
2021-04-24 14:29:11 -07:00
Yehonal
970d371442
fix(bash): bash errors on windows (#5406) 2021-04-23 14:35:41 +02:00
Yehonal
ad5f915277
chore(deno): upgraded v1.9.1 (#5401) 2021-04-22 16:13:47 +02:00
Yehonal
380f406248
Feat(Docker/bash): docker-compose system rework (#4488)
## ⚠️ATTENTION! ⚠️ Upgrading procedure:

**Database:** After this PR will be merged you need to backup your DB first (you can use the db-assembler or any mysql client to generate the dump) and restore it after.  The reason is that we use now docker named volumes instead of binded ones to improve performance.

**Conf & client data**: if you use the default configuration, both the etc and the data folder are now available inside the **/env/docker**. 

Finally, you can cleanup the /docker folder previously used by our system.

## Changes Proposed:

This PR will implement the [devcontainer ](https://code.visualstudio.com/docs/remote/containers) feature for VSCode. Allowing us to develop and debug directly within the container in the same way on all OSes.

* Implemented support for vscode dev-container feature by remote-extension suite
* Docker performance optimizations for MacOS and non-linux hosts
* Bash system improvements
* Implemented first command using Deno runtime environment (typescript) and [commander.js]
* Implemented wait mechanism for db_assembler
* Implemented db migration command
* possibility to run the authserver and worldserver with GDB using the integrated simple-restarter
* Implemented docker multi-stage mechanism to use one single Dockerfile for all the services
* client-data downloader now creates a placeholder to avoid downloading the same version of data files multiple times
* deployment of pre-compiled docker images on [docker hub](https://hub.docker.com/u/acore), you can test them [here](https://github.com/azerothcore/acore-docker)
2021-04-22 09:57:05 +02:00
Kitzunu
ac6a968242
feat(apps): Add a tool to remove trailing whitespaces (#4074) 2021-04-18 14:03:31 +02:00
Kargatum
4af4cbd3d9
feat(Core/Logging): rework logging (#4692)
* feat(Core/Logging): rework logging

* correct level for sql.sql

* del unused config options

* Correct build

* correct after merge

* whitespace

20:29:37 1. 'Player.cpp'. Replace (1)
20:29:37 2. 'ObjectMgr.cpp'. Replace (3)

* 1

* correct logging

* correct affter merge

* 1

* 2

* LOG_LEVEL_WARN

* #include "AppenderDB.h"

* 3

* 4

* 5

* 1. 'WorldSocket.cpp'. Replace (1)

* 6

* 1
2021-04-17 11:20:07 +02:00
Patrick Lewis
81301c67d9
feat(CI): add extra_logs to build matrix and update warden ByteArrayToHexStr (#5102) 2021-04-11 16:08:15 +02:00
Francesco Borzì
cde067390f
fix(Bash): client data files version 10 (#5146) 2021-04-09 09:35:19 +02:00
Kitzunu
3a4b99213a
feat(Apps): Automatic extractor for windows (#5177) 2021-04-07 19:11:03 +02:00
Patrick Lewis
06ea234efa
fix(BASH/INSTALLER): add missing deps for debian 10 (#5019) 2021-04-01 12:22:33 +02:00
Francesco Borzì
b7aa1f301a
feat(CI): clang-11 in ubuntu 20.04 (#4891) 2021-03-17 21:39:47 +01:00
Peter
78912075a6
fix(bash): Handle different Debian versions (#4607)
Co-authored-by: locus313 <locus313@users.noreply.github.com>
2021-03-07 13:43:22 -06:00
Yehonal
d88e14be4e
Fix: pipeline error after 8 pending sql
bash thinks that 08 is a hex number, so we have to cast the base

More info here: https://stackoverflow.com/questions/24777597/value-too-great-for-base-error-token-is-08
2021-02-14 20:26:29 +01:00
Peter
adc525f813
fix(Bash): Improve db_export script (#4350) 2021-01-28 22:49:28 +01:00
Francesco Borzì
a05ff77ebc
feat(CI): deprecate gcc 7 (#4333) 2021-01-23 16:52:41 -08:00
Patrick Lewis
eb9819991e
fix(CI): temp restore ci-install.sh (#4325) 2021-01-22 10:25:07 +01:00
Petric
8e06b08416
refactor(db_assembler): Allow connecting to non default mysql ports (#3123) 2021-01-11 20:43:36 +01:00
Patrick Lewis
96a549c559
feat(CI/Ubuntu): use acore.sh to install deps (#4042) 2021-01-09 12:12:38 +01:00
Kargatum
ea93a5c1a1
feat(CI/Codestyle): added codestyle check (#3668) 2021-01-09 11:59:50 +01:00
Patrick Lewis
5e56a288a6
fix(CI/MacOS) workaround for configure os failing (#4234) 2021-01-08 10:06:42 +01:00
Stefano Borzì
fef9260a19
fix(dashboard): check if acore user already exists (#4034) 2020-12-28 17:17:32 +01:00
Patrick Lewis
bc51fbf3f4
fix(apps/scripts): Add quotes for directory paths containing empty spaces (#3716) 2020-12-23 21:17:45 +00:00
Patrick Lewis
0067d45ba4
feat(CI/MacOS): use acore.sh to install deps (#4003) 2020-12-22 17:55:58 +00:00
Francesco Borzì
46d6a4690b
fix(Bash/simple-restarter): always show the correct command name (#3996) 2020-12-22 15:54:57 +01:00
Francesco Borzì
eca17381e1
fix(CI/macOS): remove old openssl removal (#3998) 2020-12-17 02:13:17 -08:00
Francesco Borzì
ab72d3ce91
feat(Bash/restarter): add restarter to the available bin/ collection (#3991) 2020-12-15 12:59:18 +01:00
Francesco Borzì
7eb1720d3b
fix(Bash/installer): client data version (#3992) 2020-12-15 09:49:04 +01:00
Francesco Borzì
c838b371dd
chore(CMake/Tests): use conventional CMake flag to enable tests (#3809) 2020-11-29 19:28:47 +01:00
Kitzunu
9ce76376da
refactor(Apps/Defines): Codefactor warning (#3714) 2020-11-19 11:24:38 -06:00
Patrick Lewis
36d4d22fd4
fix(CI): add workaround for configure os (macos-10.15) (#3597) 2020-10-21 10:08:47 +02:00
Francesco Borzì
981ca6cd37
feat(CI/macOS): improve caching level (#3493) 2020-09-19 15:46:46 +02:00
Francesco Borzì
56ca87994b
feat(CI): add support for GCC (#3314)
Co-authored-by: Viste <viste02@gmail.com>
2020-09-17 19:03:05 +02:00
Francesco Borzì
1e2ebb3fe1
fix(CI/macos): reduce cache size (#3427)
Prevent macOS to take too much space (we are limited to 5GB in total)
2020-09-04 00:08:07 +02:00
Francesco Borzì
c6b2b4c392
chore(CI): solve (#3322)
Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
2020-09-03 12:47:04 +02:00
Francesco Borzì
e06dd5b156
feat(CI/Linux): use compression in ccache (#3425) 2020-09-02 22:06:11 +02:00
Francesco Borzì
f11ddc6575
fix(CI/macOS): ccache issue (#3389)
* fix(CI/macOS): ccache issue

* Update ci-compile.sh

* Update ci-compile.sh

* chore: set cache limit to 5G

Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
2020-08-31 17:50:30 +02:00
Francesco Borzì
2ad98c573a
feat(CI): add macOS to our CI (#3321)
Co-Authored-By: Meerd <meerd@users.noreply.github.com>
2020-08-21 12:19:02 +02:00
Petric
07c9debb0d
fix(CI): Made test run in relative path (#3319) 2020-08-19 23:28:45 +02:00
Francesco Borzì
2bc832efe3
fix(CI/Core/ArenaSpectator): clang warnings + prevent new warnings (#3317)
Co-authored by @meerd
2020-08-19 19:44:07 +02:00
Francesco Borzì
1854a3a376
feat(CI): add Ubuntu 18.04 to the CI (#3311) 2020-08-18 16:36:16 +02:00
Francesco Borzì
c2b40b126d
feature(testing-automation): unit tests with Google Framework (#3273) 2020-08-15 22:34:45 +02:00
Yehonal
cdb499969d chore: Removed unwanted submodule 2020-08-06 03:24:28 +02:00
Yehonal
ad6ad094de
feat(bash): support for derivated distro + refactor conf (#3259)
* feat(bash): support for derivated distro

* refactor: refactoring for dist files
2020-08-06 02:37:14 +02:00
Francesco Borzì
c208a1219b
feat(CI): update clang-7 to clang-9, add clang-10 build (#3107) 2020-06-03 18:41:02 +02:00
Yehonal
dca02598ba
fix(bash): joiner tool has been moved (#3038)
joiner tool has been moved has been moved under azerothcore organization.

I've fixed the url and the path

So it's now available here: 

https://www.azerothcore.org/joiner/   , repo: https://github.com/azerothcore/joiner
2020-05-16 16:56:37 +02:00
Rochet2
1397971943
feat(CI): migrate from Travis to GitHub Actions (#2887)
Co-authored-by: Yehonal <yehonal.azeroth@gmail.com>
2020-04-19 17:33:13 +02:00
aleigood
d22251bcab
fix(DB/creature): Add waypoint for Morin Cloudstalker (#2837) 2020-04-04 17:50:24 +02:00
Barbz
ea709de58b
fix(app/db_assembler): Allow recursion with bash (#2731)
- Before that commit, the recursion with "**" stopped after the first directory
2020-03-31 23:34:20 +02:00
Barbz
2eeab4c72b
fix(apps): Script for default git commit template returns output (#2642)
- Before that, it didn't return anything and could confuse people
2020-03-08 18:21:18 +01:00
Stoabrogga
64aa475d0f
fix(CI): Enable Travis modules check (#2483) 2019-12-03 07:58:31 +01:00
Francesco Borzì
4e7e98b542 feat(CI): add docker to travis build (#2347) 2019-10-14 07:50:25 +02:00
Francesco Borzì
e4a3282d2a fix(bash): update the data files version (#2235) 2019-08-25 13:18:11 +02:00
Francesco Borzì
f031d418e3
feat(CI/Travis): use Ubuntu 18.04 + update min clang version (#2232) 2019-08-25 10:22:11 +02:00
Yehonal
34184d4afe
Updated client data downloader url with vmaps 4.3 2019-08-05 17:07:35 +02:00
Barbz
b72b4a45bc chore(git): Add a commit template & introduce new guidelines (#1044)
* chore(git): Add a commit template & introduce new guidelines

Introduce new guidelines for commit titles and descriptions:
- More useful and unique commit titles
- Useful descriptions
- Maybe the use of automated changelogs in the future (see link)

https://www.conventionalcommits.org/en/v1.0.0-beta.2/

* chore(git): Improve title examples

* Update .git_commit_template.txt
2019-04-10 10:49:44 -04:00
Stoabrogga
68c89e8af9
fix(CI): fix paths for dry-run check (#1697) 2019-04-08 10:04:34 +02:00
Stoabrogga
2014610723
feat(CI): Travis check modules (#1663) 2019-04-06 23:13:30 +02:00
Stoabrogga
e2f196580e feat(CI): improve Travis build time (#1573)
* feat(CI): improve Travis build time
2019-03-16 17:25:51 +03:00
Stoabrogga
845a3b65db
feat(CI): add commit hashes to the automatic SQL import (#1516) 2019-02-25 11:30:43 +01:00
Stoabrogga
2fc6528a22
feat(CI): dynamically calculate thread count for build process (#1510)
Dynamically calculate the thread count for the build process by reading `/proc/cpuinfo` in order to be more independent from the environment.
2019-02-22 17:27:57 +01:00
Stoabrogga
b434f24611
fix(CI): break on errors in CI scripts (#1504)
- break on errors by adding `set -e` to the CI scripts
- increase build timeout to 2700 seconds (45 minutes)
2019-02-20 10:49:05 +01:00
Stoabrogga
e1c3433afc
feat(CI): improve Travis configuration (#1486)
- use random DB names in order to detect statements which address a specific DB
- split compilation and DB check (DB check and dry run only have to run once)
- use separate shell scripts for easier module Travis integration
2019-02-19 16:21:52 +01:00
Francesco Borzì
2bcedc2859
fix(Bash/Exporter): fix path + add prompt to prevent wrong usage (#1477) 2019-02-17 10:04:09 +01:00
Francesco Borzì
7b61731958
feat(CI): prevent PRs that cause DB errors to get on master (#1407) 2019-02-06 23:55:23 +01:00
Barbz
b41fd95874
chore(db_assembler): Changed var name (#1091)
- Added a missing "s" to the update suffix because it must match exactly the name of the updates/ directory (we have base, custom and updates)
- Also changed var name in config.sh.dist (edit your config.sh if you use it)
- Removed trailing spaces
2019-01-22 22:43:30 +01:00
Francesco Borzì
81fe5482a1
Fix DB import issues (#1283)
- Closes #1278
- Closes #1281
2019-01-14 23:11:50 +01:00
Kargatum
8e7fb1a38a DBAssembler: Fix incorrect apply sql files at import (#1252) 2019-01-12 12:53:49 +03:00
root
82ca2bef99 fixed query of previous commit 2018-09-17 14:27:50 +00:00
Yehonal
3bf937d2ea Fixing db importing with new mysql 5.7 installations 2018-09-17 13:07:59 +00:00
Yehonal
a8e848b054 updated client data downloading url 2018-09-17 12:40:43 +00:00
Barbz
9d2fa9a8c9
db_assembler - Readme
Default location of the merged files
2018-09-14 17:50:42 +02:00
Yehonal
564d2e8eb7
[Bash] fixed menu header display 2018-08-24 10:16:24 +02:00
Stoabrogga
c3ecdf751d add "set -e" also to script "db_assembler.sh" 2018-08-05 15:10:03 +00:00
Stoabrogga
5278e96aca ignore exit code of 'make clean' as it won't find a Makefile if called as first action (which is the case for "compiler all") 2018-08-05 04:55:47 +00:00
Stoabrogga
287b2010ea exit compiler script if any statement returns non-zero exit code 2018-08-04 22:50:16 +00:00
Yehonal
8767372ebf Distro information when install OS deps 2018-07-17 17:27:17 +02:00
Yehonal
114f37801c Missing unzip dep for client data downloader 2018-07-17 17:27:17 +02:00
Yehonal
3fb937f003 Fixed simple-restarter script 2018-07-17 14:56:13 +00:00
Yehonal
8255f78f8a Missing curl package in unix os deps 2018-07-17 13:57:55 +02:00
Yehonal
af5256cd5b Various fixes to acore dashboard
+ simple restarter now prevents infinite crash loops
+ client data downloader now uses github releases and fixed downloading path
+ module updating now take care about compatibility version info
+ disabled CONFDIR variable in bash conf file, using BINPATH by default instead
2018-07-17 13:54:23 +02:00
Yehonal
32f215805a Fixed libssl-dev for latest ubuntu revs on deps installer 2018-07-15 23:44:58 +02:00
Yehonal
afbe059d5a fixed loop with comp_build() function of compiler 2018-07-15 23:33:22 +02:00
Yehonal
85388901cf Rewrite of bash system
+ Implemented new dashboard menu
+ some fixes for db_assembler
+ new module installation process with version check via json files
+ some fixes to modules installer
+ implemented simple crossplatform worldserver and authserver restarters
+ new compiler script
+ client data downloader (beta)
+ various other fixes
2018-07-15 22:51:17 +02:00
Barbz
07a451e140
README - db_assembler
Added description and formatted it for github
2018-07-13 21:07:47 +02:00
yehonal
48bb734c94 DB Assembler: Fixed privileges assignment 2018-02-06 23:22:24 +00:00
Yehonal
19bf454e5f
Fixed travis compilation (#769) 2018-01-28 19:50:01 +01:00
Yehonal
94e0063522
Installer: Force exit with direct command 2018-01-28 14:48:56 +01:00
Yehonal
fca0bfdb1f Bash: executable permissions for .sh files 2017-12-21 15:51:39 +01:00
Yehonal
403ed2600f Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk into dir-restructure 2017-12-21 11:26:43 +01:00
Yehonal
c64f8d8e82 Fixed compilation after dir rework 2017-10-13 19:22:53 +02:00
Yehonal
bbc9a21e94 Bash: fixing scripts after directory rework 2017-10-13 14:37:37 +02:00
Yehonal
f06f32849f Directory Structure [step 1]: moving files
working on #672

NOTE: This commit can't be compiled!!
2017-10-12 20:00:52 +02:00