Commit Graph

415 Commits

Author SHA1 Message Date
Yehonal 04547d90b3 fix(CI): update build job to support multiple Ubuntu versions (#22413) 2025-07-03 11:03:16 +02:00
Yehonal e1b2689c3a feat(bash): startup-scripts reworked + bash scripts workflow integration (#22401) 2025-07-01 15:35:54 +02:00
Yunfan Li 24fa79040f Merge branch 'master' into Playerbot 2025-06-29 10:55:43 +08:00
Kitzunu f4e049f227 refactor(db-scripts): replace PowerShell database tools with Bash scripts and update documentation (#22372)
* closes https://github.com/azerothcore/azerothcore-wotlk/issues/4343

This pull request replaces the PowerShell implementation of the AzerothCore database export and squash tools with Bash scripts, streamlining the process and improving compatibility. It also updates the documentation to reflect these changes. The most important changes include the creation of new Bash scripts for exporting databases, squashing databases, and updating versions, as well as the removal of the previous PowerShell script and its associated documentation.

### Script Replacement and Enhancements:
* [`apps/DatabaseSquash/DatabaseExporter/DatabaseExporter.sh`](diffhunk://#diff-af0bd252ac095aaad91b842c75b60a689792e6dc9ce88f5e2e4b6f68acf84dcaR1-R69): Introduced a Bash script to replace the PowerShell implementation for exporting database tables, with added features such as formatted SQL output and dynamic directory creation.
* [`apps/DatabaseSquash/DatabaseSquash.sh`](diffhunk://#diff-79ff4f749c045a7d91e9b43aefb5d6fbebdc5fdfb430fbcba329e4d96d71a4fbR1-R52): Added a Bash script to automate the database squash process, integrating the version updater and database exporter tools.
* [`apps/DatabaseSquash/VersionUpdater/VersionUpdater.sh`](diffhunk://#diff-3abc69c645cb80aff30824739e317c9e847e743eeab15ab4825951d10179b265R1-R84): Created a Bash script for automatically updating the version in `acore.json` and generating SQL update files with proper versioning.

### Documentation Updates:
* [`apps/DatabaseSquash/DatabaseExporter/databaseexporter.md`](diffhunk://#diff-b2b291286f2b900a022474f00754ebfe78410780c010d46752335a372d688aefR1-R16): Rewritten documentation to reflect the usage of the new Bash script for database exporting.
* [`apps/DatabaseSquash/VersionUpdater/versionupdater.md`](diffhunk://#diff-f12e21f8a404957c90d9120cf9df0724ff27a7efdb5de0798d974079cfe8adadR1-R10): Added documentation for the new version updater tool, explaining its functionality and usage.
* [`apps/DatabaseSquash/databasesquash.md`](diffhunk://#diff-4a559f6e7404b529714bac65ad22744feb7b9f88343864a20e0a46974233767eR1-R11): Documented the overall database squash tool, detailing its integration of the version updater and database exporter scripts.

### Removal of Legacy Code:
* [`apps/DatabaseExporter/DatabaseExporter.ps1`](diffhunk://#diff-2b4e49f704d88a372b5160c7278839668c81dbecaf52a4edd327873e30b9ae70L1-L234): Removed the PowerShell script for database exporting, along with its associated functionality and settings.
* [`apps/DatabaseExporter/databaseexporter.md`](diffhunk://#diff-0618d62def0d611be6e0d4fc524df6f702f493cb87870d9382402aaf52f484e8L1-L85): Deleted outdated documentation for the PowerShell-based database exporter tool.
2025-06-28 16:17:48 +02:00
Kitzunu ca8a2a5f58 fix(CI/Codestyle): Add directory check to SQL codestyle script (#22376) 2025-06-28 15:06:39 +02:00
Yunfan Li c3fbb2da20 Merge branch 'master' into Playerbot 2025-06-28 10:46:23 +08:00
Yehonal 03df002471 fix(bash): repository initialization bugs and update configurations (#22311) 2025-06-17 18:30:51 +01:00
Yunfan Li c6222b9aa3 Merge branch 'master' into Playerbot 2025-05-16 19:42:56 +08:00
Jelle Meeus 3e20d6edf8 feat(apps/extractor): add extractor for non windows (#22123) 2025-05-14 23:29:43 +01:00
Yunfan Li 565019ed27 Merge branch 'master' into Playerbot 2025-03-14 21:37:02 +08:00
sudlud e8ba158c62 fix(CI/modules-build): enable mod-antifarming (#21654) 2025-03-05 13:10:58 +01:00
Yunfan Li 34811a047a Merge branch 'master' into Playerbot 2025-03-04 21:57:19 +08:00
sudlud ba37b3d130 feat(CI/modules-build): add all current azerothcore modules (#21624) 2025-03-03 18:46:03 +01:00
Kitzunu 9e4c74bab1 fix(CI/Codestyle): Minor typo in insert_delete_safety_check (#21639) 2025-03-02 18:48:42 +01:00
Kitzunu 6786cb19c3 fix(CI/Codestyle): Imrpove semicolon check and general improvements (#21632) 2025-03-02 18:02:09 +01:00
Kitzunu ee23fdca3d fix(CI/Codestyle): Escape all MySQL keywords and skip /* comments (#21631) 2025-03-02 16:49:18 +01:00
Kitzunu cd8761796f fix(CI/Codestyle): skip SQL keyword 'NOT' (#21591) 2025-02-24 06:16:20 +01:00
Yunfan Li bd0302605a Merge branch 'master' into Playerbot_20250219 2025-02-22 10:36:10 +08:00
Andrew f6c4164765 chore(CI): Add mod-costumes (#21548) 2025-02-20 06:29:46 +01:00
Yunfan Li 7d431dc796 Merge branch 'master' into Playerbot 2025-02-19 22:29:36 +08:00
Andrew 862690ecc0 chore(CI): Add mod-arena-3v3-solo-queue.git (#21530)
Co-authored-by: sudlud <sudlud@users.noreply.github.com>
2025-02-19 13:38:59 +01:00
demetrzz 75752880e2 fix(Apps/Codestyle) corrected wrong text in the sql codestyle check (#21466)
Co-authored-by: pavel_k <pavel_k@mail.com>
2025-02-15 22:15:37 +01:00
Kitzunu 19847395eb fix(CI/Windows): Bump openssl version (#21458) 2025-02-15 13:12:13 +01:00
Yunfan Li 41415bb3c3 Merge branch 'master' into Playerbot 2025-02-11 22:35:57 +08:00
Kitzunu 787b4e4efe fix(CI/Codestyle): correct double semicolon check (#21388) 2025-02-10 20:24:28 +01:00
Kitzunu 31529db282 fix(CI/Codestyle): Final fixes to backtick check (#21361) 2025-02-08 11:34:38 +01:00
Kitzunu 2c561f0433 fix(CI): typo (#21347) 2025-02-07 09:51:25 +01:00
Kitzunu 306f41a2d8 fix(CI/Codestyle): ignore lines starting with @ (#21346) 2025-02-07 06:52:38 +01:00
Kitzunu 668864556b fix(CI/Codestyle): Ignore comments for backtick check (#21343) 2025-02-07 00:09:55 +01:00
Kitzunu f46fea0ac9 fix(CI/Codestyle): Backtick check SET, quote and REPLACE case (#21333) 2025-02-05 17:25:34 +01:00
Yunfan Li de3c2b553e Merge branch 'master' into Playerbot 2025-02-04 23:40:06 +08:00
sudlud 02a903b16f fix(CI/Windows): fix windows build (#21322) 2025-02-03 22:01:14 +01:00
Kitzunu 5d9e45ab9b feat(CI/Codestyle): backtick check for sql (#21321) 2025-02-03 21:03:21 +01:00
Kitzunu 9e9a2fe5e3 refactor(Core/ObjectMgr): Change GetAcoreString from char const* to s… (#21213)
...ring
2025-02-01 22:46:42 +01:00
Kitzunu 137337601d fix(DB/Misc): Bad delete in update file (#21307)
Co-authored-by: Andrew <47818697+Nyeriah@users.noreply.github.com>
2025-02-01 16:48:24 +01:00
Yunfan Li e5c67bd47d Merge branch 'master' into Playerbot 2025-01-31 18:29:34 +08:00
Jelle Meeus b47ec3b5c8 fix(Apps/Codestyle): ignore comments for some checks (#21268) 2025-01-25 19:58:01 +01:00
Yunfan Li cf035b5e5e Merge branch 'master' into Playerbot 2025-01-23 23:23:53 +08:00
Grimdhex 7725610ff3 chore(Apps/Codestyle): add new checks for SQL files (#21026) 2025-01-21 10:44:39 +01:00
Jelle Meeus 5bc512f75c chore(Docker): Update dev container to ubuntu24.04 (#21044) 2025-01-19 12:46:28 +01:00
Yunfan Li 36ac083814 Merge branch 'master' into Playerbot 2024-12-31 17:18:40 +08:00
Grimdhex ffae375f73 fix(Apps/Codestyle): rewrite semi-colon check (#21027) 2024-12-24 12:39:00 +01:00
Kitzunu d5fac96a20 refactor(CI/Codestyle): Move the SQL check to python (#21002) 2024-12-22 16:50:32 +01:00
Yunfan Li c76e70a364 Merge branch 'master' into Playerbot 2024-12-22 13:24:03 +08:00
Kitzunu 2c20c9463a feat(CI/Codestyle): Check for tabs (#20998) 2024-12-22 00:43:23 +01:00
Kitzunu d2b88bdc1e feat(CI/Codestyle); Check for double semicolons (#20996) 2024-12-21 22:19:49 +01:00
Kitzunu ceefd89a06 feat(CI/Codestyle): check for curly brackets before/after if/else statements (#20977)
* feat(CI/Codestyle): check for braces after if/else statements

* right need to edit a cpp file to trigger cpp check

* Revert "right need to edit a cpp file to trigger cpp check"

This reverts commit 2e34d8c52f35216549107a3476e79e79ea2ae077.

* fix codestyle in cpp

* Update oculus.cpp

* Update codestyle.py

* Update codestyle.py

* Update codestyle.py

* Update codestyle.py
2024-12-19 21:14:58 +01:00
sudlud 0a454b08fc fix(apps/DatabaseExporter): fix utf-8 encoding for sql export (#20951) 2024-12-18 10:33:53 +01:00
Kitzunu 3a20433827 feat(DB): New DB exporter and versioning tools for DB squashes (#20920) 2024-12-16 16:13:05 +01:00
Yunfan Li 889b509313 Merge branch 'master' into Playerbot 2024-12-05 00:08:25 +08:00