Commit Graph

70 Commits

Author SHA1 Message Date
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
Yehonal
0f5ff1db7e Bash: Removed compilation type suffix on build/bin path
if you need to differentiate it you can add $CTYPE variable as suffix of bin/build path conf
2017-10-09 10:13:51 +00: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
69b7d77161 Bash: Minor fixes for installer 2017-09-25 18:15:47 +02:00
Yehonal
da45fbf75c Db_Assembler: hide mysql password in prompt 2017-09-25 02:21:18 +02:00
Yehonal
c42ec97bb0 Various fixes for installer script and db_assembler 2017-09-25 02:15:22 +02:00
Yehonal
dc15319625 Installer: differentiate linux distro 2017-09-22 01:19:20 +02:00
Yehonal
31848f9a66 Installer: minor fix 2017-09-21 18:59:29 +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
70ab2a8771 Bash: Allow action non-interactive selection
You can directly run a specific action from command lines
useful for cronjobs for example

+ splitted db_assembler in more files ready to be included
from other bash scripts
2017-09-20 01:18:20 +02:00
Yehonal
477321be4d Bash: Fixed Quit option 2017-09-20 00:08:57 +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
22a5408999 Removed useless code from db_assembler 2017-05-01 21:53:03 +02:00
Yehonal
8836d161ff Improved db_assembler simplifying updating process
Implemented a check for versioning column to skip already applied updates
In this way the script can combine all updates under a single sql file
that can be imported directly in any case
2017-05-01 21:17:26 +02: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
693dc56bf1 Moved uwd modules under drassil 2017-03-26 01:09:42 +01:00
Yehonal
b94531b191 Created needed files for "sql pending system"
+ added README file to db_exporter
2016-11-18 13:28:25 +01:00
Yehonal
001af4e85b custom files must be always resetted on full db_assembling 2016-11-17 19:28:25 +01:00
ShinDarth
9d11582283 Bin/DB-Assembler: fixed bug in Mac OS X md5 generation
- IMPORTANT NOTE: new dependency for Mac users: brew install md5sha1sum
2016-10-25 22:35:14 +02:00
ShinDarth
47d1ee4f55 Bin: fix db_pendings import.sh script 2016-10-23 13:13:16 +02:00
yehonal
e06bdd2132 bin folder creation for startup-scripts on after_build event 2016-09-24 14:46:02 +02:00
Yehonal
9466e0c21c Improved run engine and moved on separated module
+ Also added some example script to create your own
restart script
2016-09-02 00:21:02 +02:00
Yehonal
88b1881d22 [BASH/DB] Fixed importing script with revisioned sql 2016-08-30 15:41:59 +02:00
Yehonal
925defe406 Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk.git 2016-08-30 15:28:01 +02:00
Yehonal
2cf4e06e01 [BASH] separated -wipe from -ls for run engine 2016-08-30 13:10:34 +02:00
Yehonal
cb375d00ad [BASH] Removed _timed_ files for custom sql
use updates instead.
2016-08-30 02:02:08 +02:00
Yehonal
5fd543e1f5 Fixed db_assembler DB path variable expanding
+ code indentation
2016-08-30 01:26:13 +02:00
Yehonal
453338a1dd [BASH] fix run-engine issue with destroyed screen sessions 2016-08-29 13:39:53 +02:00
Yehonal
cf87d71765 [Bash] Fixed previous scripts permissions and minor mistake 2016-08-29 12:23:52 +02:00
Yehonal
b03b420813 fixed import.sh and implemented new optional workflow for pendings sql
Now devs can create sql for their pull requests that will be
automatically imported and _decorated_ by a protection system
and avoid to multiple import same queries
2016-08-29 09:49:45 +02:00
Yehonal
84fc38fb29 Improved db_assembler with multiple options
- Create ALL
- Create only bases/updates/customs
- Clean registry
2016-08-29 09:46:55 +02:00
Yehonal
0b34a24cf9 db_pending/import now use transaction to avoid db data inconsistency 2016-08-26 16:24:50 +02:00
Yehonal
41f64fb287 Crossplatform header for bash files 2016-08-26 16:23:25 +02:00
Yehonal
1f16a068e9 db_assembler: removed lowercase substitution not compatible with osx 2016-08-26 02:38:15 +02:00
Yehonal
7cab63179e implemented pending workflow for sql and PR 2016-08-25 19:49:32 +02:00
Yehonal
cb19ac25b7 minor fix for db_assembler 2016-08-25 19:48:50 +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
17061cbbb4 improved run engine 2016-08-23 19:09:01 +02:00
Yehonal
159c9187f0 [BASH] Now scripts will use default language 2016-08-17 09:43:23 +02:00
Yehonal
62e730f2fd fixed bash hook functions 2016-08-17 09:42:41 +02:00
Yehonal
4bacaa8da7 Bin/DB-Assembler: fix bash 2016-08-14 13:35:41 +02:00
ShinDarth
42e5f13101 Bin/Defines fix error in Mac OS X 2016-08-14 09:08:45 +02:00
Yehonal
3da352a076 implemented db_exporter 2016-08-13 20:32:23 +02:00
Yehonal
ff6201921c created hw-core bash libraries
will be traited as a git subtree
2016-08-13 20:32:21 +02:00
Yehonal
a8fc7068d4 removed useless redefinition from db_assembler 2016-08-13 20:26:39 +02:00
Yehonal
c618632a70 Some cleaning 2016-08-11 20:36:42 +02:00
Yehonal
991eed3b5a Using more appropriate NS prefixes for our macro and cmake vars 2016-08-11 20:10:08 +02:00
ShinDarth
a7a81f90b1 Merge branch 'master' into git 2016-08-07 14:55:21 +02:00