]> _ Git - alire.git/commit
Speed-up detection of installed externals in RPM-based distros (#1036)
authorAlejandro R Mosteo <amosteo@unizar.es>
Fri, 3 Jun 2022 10:11:07 +0000 (12:11 +0200)
committerGitHub <noreply@github.com>
Fri, 3 Jun 2022 10:11:07 +0000 (12:11 +0200)
commit33a21dfb9c27570578d0f3ffd3aa4d7dae24206e
tree45970d0c52a6455f67c2ca66b03f3b613ba1592a
parent2fae747124d33ea9db4d805fc7af7463af5b008f
Speed-up detection of installed externals in RPM-based distros (#1036)

* Speed-up detection of installed externals in RPM distros

Although the yum/dnf wrappers are needed for the installation proper, we can
speed up detections of already installed packages by using rpm directly.
Unfortunately, rpm cannot give info on not installed packages, but this still
speeds up things greatly for the usual case of gnat/gprbuild being installed.

* Refactor duplicated code
src/alire/alire-origins-deployers-system-rpm_wrappers.adb