This can be avoided by letting vcpkg manage these dependencies, this way the amount of external dependencies managed by the OS will be reduced.
In addition, we are going to adapt the build to be able to remove the vcpkg code as a submodule, as this recommendation was deprecated and there are other ways to adapt the project to avoid having vcpkg as a submodule.
Related Issues
Description
After the development carried on here https://github.com/wazuh/wazuh-agent/issues/65, many OS dependencies related to
librpm
are being added as seen in this workflow:https://github.com/wazuh/wazuh-agent/blob/56a3571dc27119147a1d227d78cbba1367d6384a/.github/workflows/build_and_test_component.yml#L25-L32
This can be avoided by letting vcpkg manage these dependencies, this way the amount of external dependencies managed by the OS will be reduced.
In addition, we are going to adapt the build to be able to remove the vcpkg code as a submodule, as this recommendation was deprecated and there are other ways to adapt the project to avoid having vcpkg as a submodule.
Tasks
vcpkg
. And adaptvcpkg
to the project, avoiding it as a submodule:vcpkg
to the project, avoiding it as a submodule.vcpkg
:vcpkg
as a submodule.