korreman / pong

An intuitive CLI for pacman.
GNU General Public License v3.0
0 stars 0 forks source link

AUR support #2

Open korreman opened 1 year ago

korreman commented 1 year ago

This tool should be the single entry-point into package management. As such, it should also interact with the AUR. In other words, it should be able to wrap some AUR helper.

It seems like all helpers wrap pacman as well, but mirror the interface. So maybe it's better to simply wrap a helper? At the same time, it's important to be able to distinguish between regular operations and AUR ones.

korreman commented 11 months ago

Personally, I want to distinguish pretty clearly between AUR and the official repos. Installing from AUR should require a flag then. On the other hand, upgrading should always include AUR packages. Does removing ever need to require AUR involvement?

I think that the best approach is to make a simple AUR dispatcher interface and implement an instance for yay, then add others if the need arises. This ensures that any individual quirks of AUR interfaces can be dealt with.