Commit Graph

189 Commits

Author SHA1 Message Date
Felipe Pena
e82e367e95 Update resp_model.v to make RValue public 2025-01-22 18:32:57 -03:00
Omdanii
08865d100b Merge pull request #29 from freeflowuniverse/development_actions_fix
refactor: improve action heroscript output
v0.0.2
2025-01-22 15:21:04 +02: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
03e5a56d62 Merge pull request #23 from freeflowuniverse/development_release
feat: support macos in ci
2025-01-17 17:06:26 +02:00
991135becb feat: add release workflow v0.0.1 2025-01-17 16:52:34 +02:00
50d06cf649 feat: support macos in ci 2025-01-17 16:52:34 +02:00
0bf0e5bac5 Merge pull request #25 from freeflowuniverse/development_grid_deployer
Development grid deployer
2025-01-15 18:58:15 +02:00
3812052ffa chore(tfgrid3deployer): improve example and logging 2025-01-15 18:52:48 +02:00
5256ab6f23 refactor(tfgrid3deployer): use more reliable nodes
- pick reliable nodes by pinging them before attempting deployment
2025-01-15 17:59:15 +02:00
98ce764992 refactor(gridproxy): use native options
- use native option types in filters intead of own option types
- reflect changes across dependant modules
2025-01-15 16:19:13 +02:00
dac062eee9 fix(generic): remove erroneous log message 2025-01-15 13:02:03 +02:00
1da8a2d319 feat(tfgrid3deployer): add delete method for deployments
- add a delete method for deployments which deletes all deployment
  contracts
- improve logging messages
- update examples according to changes
2025-01-15 13:00:04 +02:00
dc47c81b0c chore: remove old deployer code 2025-01-15 12:59:02 +02:00
babb114bcb refactor: regenerate tfgrid3deployer client code 2025-01-15 12:57:49 +02:00
b87185adb3 ... 2025-01-15 00:09:04 +01:00
b473c787e0 ... 2025-01-15 00:07:38 +01:00
f55654b3d4 ... 2025-01-14 23:59:29 +01:00
c2fa4f68d1 Merge branch 'development' of https://github.com/freeflowuniverse/herolib into development 2025-01-14 23:12:56 +01:00
d9e2d5ca8c docker 2025-01-14 23:12:54 +01:00
fa0dac57ec Merge pull request #24 from freeflowuniverse/development_grid
fix: use redis client reference in threefold grid module
2025-01-14 18:44:45 +02:00
55fc87d9f2 fix: use redis client reference in threefold grid module 2025-01-14 18:33:22 +02:00
c1e17d762d Merge pull request #22 from freeflowuniverse/development_hero_mdbook
fix: fix hero mdbook command
2025-01-14 15:42:13 +02:00
de102f33d9 fix: fix hero mdbook command 2025-01-14 15:34:02 +02:00
6a3e3a1177 Merge pull request #21 from freeflowuniverse/development_hero_git
refactor: remove unused url flag
2025-01-14 14:11:42 +02:00
e255d6ed65 refactor: remove unused url flag
- Removed the unused `url` flag from the hero CLI.

Co-authored-by: mahmmoud.hassanein <mahmmoud.hassanein@gmail.com>
2025-01-14 14:06:51 +02:00
d9e4f49852 Merge pull request #20 from freeflowuniverse/development_ci_add_sudo
fix: add sudo to commands run in ci
2025-01-14 13:50:21 +02:00
0e449d7064 fix: update ci build workflow 2025-01-14 13:41:26 +02:00
5f13693160 ssh init 2025-01-14 12:22:17 +01:00
2a673553f1 fix hero for git 2025-01-14 11:53:28 +01:00
0674fa56b9 rename 2025-01-14 10:59:19 +01:00
3b71b7f1ca Merge branch 'development' of https://github.com/freeflowuniverse/herolib into development 2025-01-14 10:55:06 +01:00
8128f4c2f7 dockers are working with vscode 2025-01-14 10:55:02 +01:00
bb25b7663d Merge pull request #19 from freeflowuniverse/development_hero_generate
fix: correct generator command and templates
2025-01-14 11:47:36 +02:00
0b780b6901 fix: correct generator command and templates
- Correct the `generator` command to use a string flag for the path.
- Update templates to use correct heap allocation annotation.
- Remove unnecessary code in templates.

Co-authored-by: mahmmoud.hassanein <mahmmoud.hassanein@gmail.com>
2025-01-14 11:41:50 +02:00
23c1456e7e docker creators 2025-01-14 10:25:35 +01:00
e1c93e8f98 Merge branch 'development' of https://github.com/freeflowuniverse/herolib into development 2025-01-14 06:26:13 +01:00
9c5fc9e65c git ignore 2025-01-14 06:26:09 +01:00
dac3b61116 Merge pull request #18 from freeflowuniverse/development_actions
Development actions
2025-01-13 18:59:22 +02:00
b101aee0ed chore: remove unused libs and add openai client
- Remove incorrect test paths.
- Ignore OpenAI client tests.

Co-authored-by: mahmmoud.hassanein <mahmmoud.hassanein@gmail.com>
2025-01-13 18:52:29 +02:00
81f377a532 test: improve logger test and search functionality
- Improve the logger test to include more specific assertions.
- Add timestamp filtering to the logger search function.
- Fix a bug in the logger search function that prevented it from correctly handling continuation lines.
- Update redisclient tests to use the correct return type.

Co-authored-by: mahmmoud.hassanein <mahmmoud.hassanein@gmail.com>
2025-01-13 18:46:13 +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
da2881f973 refactor: improve rclone client factory
- Refactor the rclone client factory to improve its
  organization and functionality.
- Add support for multiple rclone instances with named
  instances.

Co-authored-by: mahmmoud.hassanein <mahmmoud.hassanein@gmail.com>
2025-01-12 18:31:16 +02:00
67fc3b4a99 feat: improve OpenAI client
- Updated the OpenAI client to use environment variables for API keys.
- Improved the configuration and management of OpenAI clients.
- Added retry mechanism to HTTP requests for improved reliability.

Co-authored-by: mahmmoud.hassanein <mahmmoud.hassanein@gmail.com>
2025-01-12 16:33:48 +02:00
4619a0759f Merge pull request #16 from freeflowuniverse/development_actions
Development actions
2025-01-12 14:22:58 +02:00
9e52132e4c ... 2025-01-12 13:18:56 +01:00
9083fccb58 test: improve robustness of incremental counter tests
- Replace `lut.incremental!` with a safer check using `if v := lut.incremental`.
- This ensures that the test doesn't panic if `incremental` is unexpectedly nil.
- The new assertions explicitly check for the existence of a value and its correctness.

Co-authored-by: mahmmoud.hassanein <mahmmoud.hassanein@gmail.com>
2025-01-12 14:15:18 +02:00
5753e0eb58 refactor: improve collection export
- Remove unnecessary parameter from `errors_report` function.
- Pass `Collection` by mutable reference to `export` function.
- Fix `.collection` file content in export test.
- Update test cases to reflect changes.
- Correct path in test data.
- Use mutable reference for `col` in `Tree.export`.

Co-authored-by: mahmmoud.hassanein <mahmmoud.hassanein@gmail.com>
2025-01-12 14:06:21 +02:00
Mahmoud Emad
58a1f04a44 test: fix: handle potential null error in ping
- Updated assertions in `ipaddress_test.v` to handle potential null errors returned by the `ping` method.
2025-01-09 13:39:20 +02:00
Mahmoud Emad
3b580dcc1d fix: improve gitea and postgresql installation
- Improve the installation process for Gitea and PostgreSQL.
- Change the location of the Gitea config file to `/etc`.
- Add a health check for the PostgreSQL container.
- Ensure the Gitea user is created only if it doesn't exist.
- Add a restart command for Gitea to ensure it starts after.
- Improve error handling during user creation.
- Simplify PostgreSQL configuration in Gitea actions.
2025-01-09 13:31:57 +02:00
Mahmoud Emad
1fbb5bed4a chore: remove unnecessary debug print
- Remove a debug print statement that was no longer needed.
2025-01-09 10:49:51 +02:00