- Added a `destroy` action to completely remove Qdrant, including
its data directory and zinit service. This improves the cleanup
process and prevents leftover files.
- Improved the `installed` check to be more reliable by directly
checking the Qdrant version without relying on sourcing the
profile. This avoids potential issues with profile setup.
- Added more informative logging messages throughout the process to
improve user experience and debugging.
- Improved error handling and reporting.
- Use zinit to manage qdrant service to ensure proper stop and remove.
- 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.
* development_actions007: (49 commits)
...
bump version to 1.0.22
add baobab mcp
feat: Improve path normalization in `namefix`
feat: Improve Qdrant client library
test: Skip Jina client for now
feat: Remove redundant Jina client code
feat: Remove optional age field from Person struct
feat: Improve DedupeStore and update tests
test: Improve test coverage for fenced code block and list item parsers
test: Improve test coverage for paragraph parsing
test: Improve test coverage for markdown block parser
test: Improve list parsing test cases
feat: Improve Markdown parser list and table detection
fix: Fix CI
feat: Improve RadixTree debugging output
refactor: Simplify ContactsDB methods
feat: Add calendar VFS implementation
feat: Add Contacts VFS module
feat: Add contacts database and VFS implementation
...
# Conflicts:
# .gitignore
# lib/clients/qdrant/qdrant_client.v
# lib/core/texttools/namefix.v
- Added a new `retrieve_points` function to the Qdrant client
to retrieve points by their IDs. This allows for efficient
fetching of specific points from a collection.
- Renamed `is_exists` to `is_collection_exists` for clarity
and consistency.
- Added `RetrievePointsRequest`, `RetrievePointsParams`, and
`RetrievePointsResponse` structs for better structured data.
- Simplify Qdrant client example script, removing unnecessary
boilerplate and improving readability.
- Add functions for creating, getting, deleting and listing
collections.
- Add function to check collection existence.
- Improve error handling and logging.
- Remove redundant code and improve the overall structure of the installer actions.
- Add more robust error handling and logging.
- Update the postgres and dagu `destroy` function to properly remove all related services.
- Improve the `install` function to ensure all necessary components are installed.
- Renamed the `meilisearchinstaller` module and related files to `meilisearch_installer` for consistency.
- Updated import statements and references accordingly.
- Added functionality to install, start, and destroy the Meilisearch service.
- Improved code readability and organization.
- Remove unnecessary code from the `destroy` function in the `meilisearchinstaller_actions.v` file.
- NOTE: Couldn't test it due to the new hero update, don't know how even send the configs, WIP.
- 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.
- Remove unnecessary error return in `installed_()`.
- Remove `workdir` from `startupcmd()` as it's not needed.
- Simplify healthcheck to only return boolean.
Co-authored-by: mariobassem12 <mariobassem12@gmail.com>
- Replaced the previous systemd-based PostgreSQL installer with a
Podman-based solution. This simplifies the installation process
and improves compatibility across different Linux distributions.
- The new installer uses Podman containers to manage the
PostgreSQL database, eliminating the need for complex systemd
configurations and package management.
- This change enhances portability and reduces the risk of
conflicts with existing system packages. The destroy_ function
now cleanly removes the Podman container. The installed_ and
check functions now verify the container's health.
Co-authored-by: mario <mariobassem12@gmail.com>
- Updated PostgreSQL installer to use volume path instead of server path.
- Updated connection string to include user, password, host, and port.
- Updated import statements to use herolib instead of crystallib.
- Updated readme files to reflect changes.
Co-authored-by: mariobeh <mariobassem12@gmail.com>
- Refactor Podman installer to use a more robust approach
- Improve error handling and clarify the installation/removal
- Update example usage to reflect changes
Co-authored-by: supermario <mariobassem12@gmail.com>
- Simplify the Podman installer code.
- Remove unnecessary functions and improve code structure.
- Update the installer to support more platforms.
- Improve error handling and logging.
- Update Podman version to 4.9.3.