Commit Graph

41 Commits

Author SHA1 Message Date
43ffedfad8 ... 2025-08-15 08:52:46 +02:00
1f9bc11a2e ... 2025-08-13 08:49:44 +02:00
ffff44f347 .. 2025-08-12 15:52:13 +02:00
Mahmoud-Emad
0e1450b5db chore: add debug prints and perform code cleanup
- Add extensive debug prints for troubleshooting
- Comment out docusaurus build/dev action logic
- Rename gittools parameters for clarity (reset/pull)
- Apply consistent formatting to function calls
- Remove unused imports in playbook include module
2025-08-12 13:37:01 +03:00
c05ec6be7f ... 2025-08-12 11:03:49 +02:00
8677d177cb ... 2025-08-12 11:02:21 +02:00
6b46b3dbaa ... 2025-08-12 10:36:26 +02:00
a0fdaf395e ... 2025-08-12 09:33:53 +02:00
eaccbe610f ... 2025-08-08 16:28:05 +02:00
53e685241a ... 2025-08-08 16:17:52 +02:00
9d87fc62f3 ... 2025-08-08 16:00:37 +02:00
6308d232aa ... 2025-08-08 15:46:01 +02:00
Mahmoud-Emad
843b20804b refactor: improve docusaurus site creation and handling
- Change site.new to always create/overwrite a site
- Add early exit to site.play if no config exists
- Use explicit sitename from docusaurus.config
- Enable openai.play action processing
- Remove debug code and improve struct initialization
2025-08-07 13:42:53 +03:00
Mahmoud-Emad
6ae6cc35ee Merge branch 'development_fix_hero_and_ci' of https://github.com/freeflowuniverse/herolib into development_fix_hero_and_ci 2025-08-07 10:54:42 +03:00
Mahmoud-Emad
82a46e8149 refactor: overhaul Docusaurus command and generation
- Rework `hero docusaurus` command to use local `cfg` files
- Scan and export doctree collections during site generation
- Fix `baseUrl` redirect path handling in `index.tsx`
- Add cycle detection for `play.include` in playbooks
- Improve site config processing to prevent duplicate items
2025-08-07 10:46:57 +03:00
93953ed570 ... 2025-08-07 08:15:04 +02:00
04403b62a4 ... 2025-08-06 08:50:32 +02:00
c853f3b0ce ... 2025-08-04 08:01:26 +02:00
e837912363 ... 2025-07-31 03:51:36 +02:00
1cb6c486df ... 2025-07-30 17:43:39 +02:00
bc163eb61d ... 2025-07-30 17:35:19 +02:00
685a58aa14 ... 2025-07-30 15:21:10 +02:00
66757c52d7 ... 2025-07-30 15:00:20 +02:00
9fd551e0f7 ... 2025-07-30 14:37:02 +02:00
705f2d640e ... 2025-07-30 14:27:06 +02:00
181a81a84a .... 2025-07-25 13:25:48 +02:00
f2079c7c3d ... 2025-07-25 11:05:30 +02:00
9b86f76eaa ... 2025-07-25 10:47:17 +02:00
Mahmoud-Emad
5cee9a4d5a refactor: Extract git repository management into a dedicated module
- Moved git repository handling logic from `gittools` to a new
  `gitresolver` module for better code organization and reusability.
- Created a `GitUrlResolver` interface to abstract git URL resolution.
- Implemented a `GitToolsResolver` struct to adapt the existing
  `gittools` functionality to the new interface.  This allows for
  future extensibility with different git repository management
  strategies.
- Improved error handling and added more informative error messages.
- Improved the structure of the `heroscript` by breaking down the
  actions into smaller, more manageable units.
2025-07-23 19:00:43 +03:00
959c1319e7 ... 2025-07-21 06:51:13 +02:00
02ffc71aea ... 2025-07-19 15:54:23 +02:00
45c64b8184 ... 2025-07-18 08:06:03 +02:00
89b7f0d465 ... 2025-06-15 16:30:40 +02:00
37f9ab78ec format, implement unixsocket rpc 2025-05-31 08:26:03 +03:00
b7fc7734b6 ... 2025-05-19 08:52:09 +04:00
61f9f2868a ... 2025-05-19 08:25:47 +04:00
888aac4867 push 2025-01-23 14:16:02 +01:00
b6d43ebe49 refactor: improve action heroscript output
- Update `action.heroscript()` to handle `dal` actions.
- Remove buggy action print from panic message which led to an infinite
  recursive call.

Co-authored-by: mahmmoud.hassanein <mahmmoud.hassanein@gmail.com>
2025-01-22 14:10:54 +02:00
91f8520229 refactor: improve redis client and publisher
- Refactor the redis client to use a mutex for thread safety.
- Improve error handling in context and playbook factory.
- Remove the play_mdbook command and associated tests.
- Add play_publisher command and tests for publishing books.
- Update the repository cache to use a reference to the redis client.

Co-authored-by: mahmmoud.hassanein <mahmmoud.hassanein@gmail.com>
2025-01-13 16:52:21 +02:00
4e030b794d the base 2024-12-25 09:23:31 +01:00
4a50de92e3 the base 2024-12-25 08:40:56 +01:00