Commit Graph

69 Commits

Author SHA1 Message Date
04403b62a4 ... 2025-08-06 08:50:32 +02:00
Mahmoud-Emad
44effe9a4b refactor: improve config path handling and clean up code
- Allow specifying project root or cfg dir for config
- Remove verbose debug print statements during load
- Remove unused site.page action find operation
- Improve validation for relative paths in remove list
2025-08-03 18:07:53 +03:00
21e43c69a8 ... 2025-07-22 07:39:08 +02:00
1fe0f04226 ... 2025-07-21 12:46:31 +02:00
8d7c8e8933 ... 2025-07-21 11:42:19 +02:00
1944d58c9f ... 2025-07-21 07:27:17 +02:00
959c1319e7 ... 2025-07-21 06:51:13 +02:00
ddf5fcbbcc ... 2025-07-21 06:18:46 +02:00
02ffc71aea ... 2025-07-19 15:54:23 +02:00
Mahmoud-Emad
f7a770989b feat: Improve ZinitClient and JSON-RPC client
- Enhanced error handling and response parsing in `ZinitClient`: The
  `discover` function now provides more robust error handling and
  response parsing, improving reliability.
- Improved code style and formatting: Minor formatting changes for
  better readability and maintainability.  The `ServiceConfig` and
  `ServiceConfigResponse` structs have been slightly restructured.
- Updated JSON-RPC client structure: The `Client` struct is now
  publicly mutable (`pub mut`), simplifying its use.  Removed
  unnecessary blank lines for improved code clarity.
2025-06-02 17:04:25 +03:00
b6a2671665 ... 2025-05-31 12:45:05 +03:00
a96ae1252c ... 2025-05-31 11:17:56 +03:00
46e1c6706c ... 2025-05-04 08:19:47 +03:00
d8c9b07a51 ... 2025-03-31 21:22:05 +02:00
ec73b5ff34 Merge branch 'development' of https://github.com/freeflowuniverse/herolib into development 2025-03-31 09:33:05 +02:00
9fcdcc3aff ... 2025-03-31 09:32:58 +02:00
Mahmoud Emad
ba2d6e4310 feat: Improve Qdrant installer and update health check port
- Update Qdrant startup command to use screen for better management.
- Change health check URL to use the correct port (6336).
- Improve Qdrant installation check by directly checking the binary.
- Simplify Qdrant version check.
- Remove unnecessary imports and unused functions.
- Update Qdrant config file with correct HTTP and gRPC ports.
- Add symlink creation in /usr/local/bin for improved usability.
- Use ~/hero/bin for all platforms to avoid permission issues.
2025-03-27 13:18:41 +02:00
598b312140 ... 2025-03-24 06:44:39 +01:00
b27f0a5017 ... 2025-03-17 11:13:39 +01:00
5ba11aab46 ... 2025-03-12 16:36:17 +01:00
237f9bd742 qdrant 2025-03-11 20:41:33 +01:00
24eb709293 fixes docusaurus 2025-02-19 09:44:03 +03:00
0880823576 Merge branch 'development_installers' of github.com:freeflowuniverse/herolib into development_installers 2025-02-19 05:10:45 +03:00
60d6474a42 ... 2025-02-17 08:29:57 +03:00
25c997fec5 fix(coredns): fixes in coredns installer and client 2025-02-12 17:55:36 +02:00
Mahmoud Emad
ec22a8e0ec refactor: improve installer code
- Refactor installer code for better readability and maintainability.
- Move `dagu_server.vsh` to `examples/virt/daguserver/dagu_server.vsh`.
- Remove unnecessary `println` statements.
- Improve error handling in `zinit_installer_actions.v`.
- Update `zinit_installer_actions.v` startup type to systemd.
- Refactor several factory functions.
2025-02-12 09:02:33 +00:00
3117d288b1 WIP(osal.coredns): add example for coredns usage
- added openssl and iproute2 installation to install_v.sh since they're
  needed in coredns installation and usage.
- fixed bug in coredns build process.
- fixed bug in getting own public ip.
- fixed bugs in json encoding dns records before pushing to redis
2025-02-10 17:07:49 +00:00
86e3fdb910 WIP(osal.coredns): add example for coredns usage
- create an example to use coredns module for adding dns records
- fix module errors
2025-02-09 18:06:16 +02:00
f219a4041a ... 2025-02-09 15:50:56 +03:00
f62369bd01 ... 2025-02-09 13:32:44 +01:00
7a6660ebd8 ... 2025-02-09 13:32:34 +01:00
3e309b6379 ... 2025-02-09 12:24:12 +01:00
7b69719f0e ... 2025-02-09 08:55:01 +01:00
1d631fec21 ... 2025-02-09 08:52:42 +01:00
6e619622d2 ... 2025-02-08 14:11:51 +01:00
e34d804dda ... 2025-02-07 11:59:52 +03:00
5ad2062e5c format 2025-02-06 06:26:44 +03:00
6eec7dbda2 s 2025-02-05 10:23:22 +03:00
be9f37a459 s 2025-02-05 10:16:25 +03:00
757358fded s 2025-02-05 09:19:16 +03:00
9aee672450 s 2025-02-03 14:02:26 +03:00
0ad1d27327 location 2025-02-02 11:48:19 +03:00
d6a13f81e0 Merge branch 'development_fix_ci' into development_kristof 2025-01-31 15:40:46 +03:00
74ab68d05f ... 2025-01-31 15:39:44 +03:00
9f6e49963e wip: test: improve tmux tests
- Fix bugs found during testing.

Co-authored-by: mahmmoud.hassanein <mahmmoud.hassanein@gmail.com>
2025-01-27 18:27:50 +02:00
0ae8e227fc feat: Add screen installer
- Add a new installer for the `screen` utility.
- This installer supports Ubuntu and macOS.
- Includes functionality for installation, uninstallation,
  and status checking.
- Fixed tests for osal.screen

Co-authored-by: mahmmoud.hassanein <mahmmoud.hassanein@gmail.com>
2025-01-27 17:18:39 +02:00
623f1a289e test: Add workaround for zinit installation in tests
- Added a workaround to download and execute zinit if it's not found in the path.
- This is necessary because the zinit installer cannot be imported due to a circular dependency.
- This ensures that the tests can run reliably even without zinit being pre-installed.

Co-authored-by: mahmmoud.hassanein <mahmmoud.hassanein@gmail.com>
2025-01-27 17:18:39 +02:00
Mahmoud Emad
85ac9e5104 test: Fix rpc_test file 2025-01-27 17:18:39 +02:00
Mahmoud Emad
266205363d test: Handle the package install test 2025-01-27 17:18:39 +02:00
Mahmoud Emad
288bfd54d8 refactor: improve zinit process handling
- Improved error handling in `get` method of Zinit struct.
- Changed the return type of `new()` function in `zinit_factory.v` to `!&Zinit`.
- Updated `zinit_global_manager` to hold references to `Zinit` instances.

Co-authored-by: mariobassem12 <mariobassem12@gmail.com>
2025-01-06 16:40:52 +02:00