You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are other pending changes that we are considering for pkg providers, I'll address these concerns when I implement the changes.
In particular, freebsdpkg and pkgng need a lot of work. freebsdpkg contains a bunch of pkgng stuff that should be broken out into the pkgng module, so that they can both be distinct, with freebsdpkg handling traditional pkg_add installs and pkgng handling all pkgng installs.
The API for the
upgrade()
function of package manager modules is inconsistent.The following modules don't allow any argument to be passed to
upgrade()
:freebsdpkg
pacman
pkgin
The following modules implement (at least) a
refresh
parameter:apt
ebuild
pkgutil
win_pkg
yumpkg
yumpkg5
zypper
The following modules have a
**kwargs
parameter, which they completely ignore:apt
pkgutil
And
pkgng
is a real oddball:upgrade(jail=None, chroot=None, force=False, local=False, dryrun=False):
I would ask that the API be made more uniform.
The text was updated successfully, but these errors were encountered: