Open
Description
Currently, we have a hardcoded dictionary in System.package_manager
saying what package managers should be used on what distributions. I think this is no longer a good enough solution.
Maybe we could go through all package managers that Tracer can work with and see if they are available on the system. Each implementation of IPackageManager
could provide is_available
method running whatever check is necessary to decide whether such package manager is available on the system. If no package manager is found, we will raise an exception.
We should also do something like this for if System.distribution() in ["rhel", "fedora", "centos", "centos-7", "mageia", "suse", "ol"]:
conditions.
Activity