AnyPackage and package providers #1746
marco-eckstein
started this conversation in
Ideas
Replies: 1 comment 5 replies
-
I don't think integration with AnyPackage will be a thing soon, but creating extensibility is a thing I have in mind. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I noticed that WingetUI does something very similar to AnyPackage, a community project that supersedes Microsoft's deprecated PackageManagement (aka OneGet). However, unlike WinGetUI, AnyPackage is for the command line.
So naturally I am wondering why WingetUI does not use AnyPackage under the hood. This could potentially free up resources, so that WingetUI developers could concentrate on the UI.
I have also noticed that WingetUI does not seem to have a provider interface. All work that is necessary to support package managers like Chocolatey or Scoop apparently needs to be done in WingetUI itself. AnyPackage on the other hand has adopted the provider architecture from PackageManagement. Other teams can independently publish new providers. For PackageManagement, this has lead to a large number (currently 26) of package providers, including exotic ones like GistProvider which allows to treat GistHub Gists as packages. (Note that on the new multi-platform PowerShell, the number of package providers is much smaller (currently 8).)
I do not know whether AnyPackage could fulfill WingetUI's requirements. I think that at least some providers would need to be contributed, because while WingetUI can access the Microsoft Store, there is no dedicated AnyPackage provider for it - only via AnyPackage.WinGet there is limited support, but since WinGet itself does not have good Microsoft Store support, it cannot be good.
It is a pity that there are two unified package management interfaces (or meta package managers as I would call them), and none is strictly more capable than the other: WingetUI is not a command line tool and AnyPackage does not have a GUI.
Beta Was this translation helpful? Give feedback.
All reactions