Skip to content

Conversation

@Enaraque
Copy link
Member

Description

The goal of this PR is to add the packages manager module to the new development of the installation assistant.

This module is responsible for downloading Wazuh component packages based on the OS architecture (x86_64 or arm64) and the package manager (apt or yum), using a URL file. This check will be transparent to the user, so they won't need to specify any of these details.
You can see different executions here:
#337 (comment)

Additionally, the CLI skeleton for component installation has been developed. You can find more information about this here:
#337 (comment)

Tests 🧪

Corresponding tests have been written for this logic, achieving 100% coverage, as shown below:

hatch run dev:test-cov
============================================================================= test session starts ==============================================================================
platform linux -- Python 3.12.2, pytest-8.4.0, pluggy-1.6.0
rootdir: /home/henry/work-wazuh/wazuh-repos/wazuh-installation-assistant
configfile: pyproject.toml
plugins: cov-6.1.1, xdist-3.7.0
4 workers [121 items]
.........................................................................................................................                                         [100%]
================================================================================ tests coverage ================================================================================
_______________________________________________________________ coverage: platform linux, python 3.12.2-final-0 ________________________________________________________________

Name    Stmts   Miss  Cover   Missing
-------------------------------------
TOTAL     376      0   100%

10 files skipped due to complete coverage.
Coverage XML written to file coverage.xml
============================================================================= 121 passed in 1.77s ==============================================================================

@Enaraque Enaraque requested a review from a team June 10, 2025 11:10
@Enaraque Enaraque self-assigned this Jun 10, 2025
@c-bordon c-bordon merged commit 6bdf804 into 6.0.0 Jun 10, 2025
@c-bordon c-bordon deleted the enhancement/337-development---installation-assistant---create-the-package-manager-module-to-handle-the-packages-installation branch June 10, 2025 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Development - Installation Assistant - Create the Package Manager Module to Handle the Packages Installation

4 participants