Commit Graph

48 Commits

Author SHA1 Message Date
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
Mahmoud Emad
4c01c88b85 WIP: Building hero
- The work is still in progress

Co-authored-by: supermario <mariobassem12@gmail.com>
2025-01-02 19:01:37 +02:00
36f41150c2 postgresql & new docs 2025-01-01 17:44:06 +01:00
b927fc5b5d ggolang install ok 2025-01-01 15:25:58 +01:00
914e1f5073 had to cleanup a lot in relation to optional returns 2025-01-01 13:40:24 +01:00
cffd5e2f9c fixed installers 2025-01-01 10:16:41 +01:00
8612f80c53 Merge branch 'development_mahmoud' into development
* development_mahmoud:
  test: improve test suite
2024-12-30 07:35:44 +01:00
Mahmoud-Emad
da44604910 test: improve test suite
- Remove unnecessary debug print statements.
- Remove redundant initialization calls.
- Improve test cache handling and error reporting.
- Refactor code for better readability and maintainability.
- Update test suite to include additional tests.
- Improve code formatting and style consistency.
2024-12-26 10:14:37 +00:00
26c370ed91 screem 2024-12-25 22:33:20 +01:00
4373ec21aa fixes installers 2024-12-25 22:30:33 +01:00
958daaa697 fixes for docu 2024-12-25 21:48:03 +01:00
34b70e76cc notifier 2024-12-25 21:29:25 +01:00
Mahmoud-Emad
6e769b6af5 test: fix startupmanager test
- The test was failing because it assumed the process `redis-server` was not already running.
- This commit adds a check to see if the process exists. If it does, it stops it before starting it.
- If it doesn't exist, it creates it before starting it.
- This ensures the test is more robust and reliable.
2024-12-25 15:58:02 +00:00
Mahmoud Emad
ccfc7c4656 fix: improve package management and screen status
- Fix issues in package installation and removal across
different platforms (Ubuntu, macOS, Alpine, Arch).
- Improve error handling and add sudo support where
necessary.
- Enhance screen status check to accurately reflect
process activity.
- Address minor bugs in `db.v`, `done.v`, and
`net_test.v`.
- Correct minor inconsistencies in package names.
2024-12-25 17:12:08 +02:00
f77c7ba874 the base 2024-12-25 12:38:51 +01:00
4848703a8b the base 2024-12-25 12:37:24 +01:00
fbae8eeb2a the base 2024-12-25 11:44:17 +01:00
27ef87f9c7 the base 2024-12-25 11:36:34 +01:00
4e030b794d the base 2024-12-25 09:23:31 +01:00
4a50de92e3 the base 2024-12-25 08:40:56 +01:00