wick3dr0se / pkm

A super minimal TUI package manager wrapper written in BASH v4.2+
GNU General Public License v3.0
42 stars 5 forks source link

Add DNF support #3

Closed sigaloid closed 6 months ago

sigaloid commented 6 months ago

This is my first try at adding DNF support for Fedora/CentOS. Not sure if all the behavior matches perfectly, for example some commands seem to not use the cache so they can take upwards of a minute for a relatively small operation - I set the -C flag on info so this is less worrisome. Would love some testing

wick3dr0se commented 6 months ago

@sigaloid Beautiful!! I will try to fire up a VM and test it out a bit. Caching was something I considered but the pacman package manager seems to be reaosnably fast enough.. I think with a lot of package managers though that will be an issue.. So nothing has been done for that on my end yet. If package managers themselves implement caching that's great but otherwise seems like it could be worth looking into implementing into the project itself

The code looks great, so I'm going to merge it now and test it later! Thanks :smile: