Commit Graph

58 Commits

Author SHA1 Message Date
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
Yehonal
16083b7115 [BASH] improved db assembler with more effective md5 check 2016-08-07 12:42:06 +02:00
Yehonal
e5f8ecd7ec [BASH] allow additional custom config for cmake 2016-08-07 12:26:30 +02:00
Yehonal
4a3afdb448 loading modules for bash system 2016-08-07 12:23:48 +02:00
Yehonal
a3a6488f51 [DB] implemented automatic version retrieving 2016-08-07 12:23:39 +02:00
Yehonal
5d5718905a fixed db_assembler script 2016-08-07 12:23:11 +02:00
Yehonal
ca53686579 ignoring conf for db_assembler 2016-08-07 12:22:36 +02:00
Yehonal
a549500b01 fix buildpath in compilation script 2016-08-07 12:22:03 +02:00
Yehonal
2c6264915e fixed cmake and compilation 2016-08-07 12:11:23 +02:00
Yehonal
765fad6133 some fixes to bash config files 2016-08-07 12:10:51 +02:00
Yehonal
42ad4da954 starting bash rewriting job [WIP] 2016-08-07 12:10:05 +02:00
ShinDarth
d252bbc586 Fix DB-assembler on Mac OS X 2016-08-06 18:59:25 +02:00
Yehonal
64e7daeb54 minor change on config.sh.dist 2016-07-10 17:16:57 +02:00