Abstract rpm and deb into modules separate from apt and yum #3473
Labels
Feature
new functionality including changes to functionality and code refactors, etc.
Milestone
This surface with issue #3444, wherein ALT Linux uses a combination of apt + rpm for package management. ALT is ultimately in the RedHat family (RedHat -> Mandrake -> ALT), but it split off before yum started being used in RedHat systems.
The big problem is that apt.py will not work with rpm files, because it has several pieces of functionality that are hardcoded to use dpkg (example: list_pkgs()).
SUSE also uses rpm files, but it uses zypper instead of yum. A quick look shows that zypper.py and yumpkg.py both have a list_pkgs() function, which seem to do the same thing, but with different code. Presumably, they could be abstracted into the same function in an rpm.py package.
Tagging @Archtaku, @valintinr, @s0undt3ch. This situation should be approached with care.
The text was updated successfully, but these errors were encountered: