Commit Graph

56 Commits

Author SHA1 Message Date
BytesGalore
f5c8afcf0b feat(APPS/installer): configure remote and pull branch in conf/config.sh (#8364)
Co-authored-by: BytesGalore <3903215+BytesGalore@users.noreply.github.com>
2021-10-12 22:50:13 +02:00
Kargatum
7f6e9b1984 feat(CMake): enable optional C++20 support (#7075) 2021-07-25 01:54:02 +02:00
Kargatum
b680670047 feat(CMake): delete EXTRA_LOGS (#6897) 2021-07-14 23:47:40 +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
Kargatum
9ac6fddcae feat(Core/Database): port TrinityCore database API (#5611) 2021-06-22 06:21:07 +02:00
Yehonal
ff2737fee8 feat(bash): Improved support for gperftools (#5769) 2021-05-10 22:21:23 +02:00
Yehonal
f6c6123d85 feat(docker): production images, integrated ccache and many other improvements (#5551) 2021-05-04 11:35:24 +02:00
Yehonal
e4fafc61dd fix(Docker): windows improvements and permissions fix (#5444) 2021-04-28 22:26:39 +02:00
Yehonal
1952ca4c20 fix(docker): env variable settings (#5432) 2021-04-24 17:50:14 +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
Kargatum
325dcfc9a6 feat(Core/Build): add the possibility to link libraries dynamically (#5348) 2021-04-21 22:16:12 +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
Petric
8e06b08416 refactor(db_assembler): Allow connecting to non default mysql ports (#3123) 2021-01-11 20:43:36 +01:00
Kitzunu
f16aad0ad4 chore(MySQL): Deprecate 5.6 (#4070) 2021-01-03 03:14:06 +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
Francesco Borzì
c838b371dd chore(CMake/Tests): use conventional CMake flag to enable tests (#3809) 2020-11-29 19:28:47 +01:00
Francesco Borzì
c2b40b126d feature(testing-automation): unit tests with Google Framework (#3273) 2020-08-15 22:34:45 +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ì
c300bf8158 fix(db-assembler): error 'cant find any matching row in the user table' (#2202) 2019-08-23 00:03:07 +02:00
Kargatum
6150b4b948 feat(Cmake/MYSQL): Correct support MariaDB for windows (#1674)
* Delete CMake option MARIADB
* Delete definitions (-DMARIADB)
* Replace macro MariaDB support 10.2+
2019-04-17 23:42:31 +07:00
Francesco Borzì
01c6d32ac9 feat(Core/Misc): compatibility with 10.2+ versions of MariaDB library (#1284) (#1437) 2019-02-09 21:51:05 +01:00
Barbz
c60d1ee6e6 style: Reorder DBs in config.sh.dist (#1353)
Now use the logical order of DBs.

Also disabled extractors (tools) compilation by default.
2019-01-30 18:19:53 +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
Kargatum
c00d5fe0ab CMake: Use source_groups to represent the source tree (#1247) 2019-01-10 07:20:32 +03: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
BarbzYHOOL
033f390fdf Improved description 2018-05-30 14:39:50 +02:00
BarbzYHOOL
d9de91bb42 Bash scripts conf - Set backup to false by default, fixed typo and added a warning 2018-05-30 14:39:50 +02:00
Yehonal
bbc9a21e94 Bash: fixing scripts after directory rework 2017-10-13 14:37:37 +02:00
Yehonal
eb78254579 Bash: Various improvement for compiler and db_assembler
Now db_assembler also creates the users specified in conf.sh files if not exists

+ Simplified some paths for compilation
2017-09-26 12:53:46 +02:00
Yehonal
e687d223ff Revert "Cmake: Compiling with warnings by default"
It generates compile errors on windows
Maybe we should separate warning cmake define for each compiler (?)

This reverts commit 8ad3c15d63.
2017-09-25 10:37:22 +02:00
Yehonal
c42ec97bb0 Various fixes for installer script and db_assembler 2017-09-25 02:15:22 +02:00
Yehonal
421def048f Bash: fixed mysql default conf 2017-09-21 21:52:17 +02:00
Yehonal
22c6ba9fa6 Bash: implemented installer script for server and modules (beta)
+ minor fixes
2017-09-21 18:52:20 +02:00
Yehonal
afebf1a1ca Improved db assembler, now can create DBs 2017-09-21 17:04:08 +02:00
Yehonal
8ad3c15d63 Cmake: Compiling with warnings by default
Forcing all contributors to fix all warnings before push a commit (i hope)
2017-09-20 01:23:20 +02:00
Yehonal
c592aca103 Implemented sql importing for db_assembler script
It includes a backup system that saves your day if you
push the "red button" (importing bases on a production db)
2017-09-20 00:02:24 +02:00
Yehonal
c1586e0d99 changed DISABLED_ cmake variable to ENABLED_ and implemented for all disabled logs 2017-08-19 19:42:48 +02:00
Yehonal
f888e8c86b Preprocessor option for logging functions (#567)
* Update showoptions.cmake

* Update config.cmake.dist

* Example of preprocessor usage

Other work must continue for PR https://github.com/azerothcore/azerothcore-wotlk/pull/519
2017-08-19 18:37:47 +02:00
Yehonal
2f71abc6c6 implemented cmake options to disable extra features for performances optimization
can be easily extended to all features that can be optional
but have high performance impact
2017-03-26 01:09:45 +01:00
Yehonal
603753dfff CMAKE: implemented method to disable a module via cmake
use -DDISABLED_AC_MODULES or config.cmake file to define it
2017-03-26 01:09:44 +01:00
Yehonal
b522a0cb72 Implemented gperftools support
it allows you to profile cpu/memory under unix systems
2017-03-26 01:09:42 +01:00
Yehonal
b86f955f8d cleaning config.sh.dist file 2016-09-02 00:21:08 +02:00
Yehonal
41f64fb287 Crossplatform header for bash files 2016-08-26 16:23:25 +02:00
Yehonal
5b3c776f9c fixed and updated db_assembler to even support old bash v3 ( osx )
we're emulating associative array
2016-08-25 19:06:51 +02:00
Yehonal
1c9eb7e52f change default bash compiler to clang 2016-08-20 09:49:55 +02:00
Yehonal
c36b4f384f removed CC compiler from conf 2016-08-19 09:30:55 +02:00
Yehonal
0d31040fbd [CMAKE] More compatible definitions 2016-08-17 09:43:34 +02:00
Yehonal
3da352a076 implemented db_exporter 2016-08-13 20:32:23 +02:00
Yehonal
991eed3b5a Using more appropriate NS prefixes for our macro and cmake vars 2016-08-11 20:10:08 +02:00