News for hackers. Stuff that matters.
Re:Microsoft now credits maker of AppGet but offers no apology by ak39 on Monday June 01, 2020 @09:36AM (#23378246)
>>I am curious: why would I want to use AppGet or WinGet instead of Chocolatey?<<

https://keivan.io/appget-what-chocolatey-wasnt/

Re:Microsoft now credits maker of AppGet but offers no apology by mikece on Monday June 01, 2020 @09:45AM (#23378352)
"AppGet uses YAML files instead of scripts; we call them manifests. Using data over scripts just seemed like a much better choice."

So it's an opinion, one that the WinGet team decided to go with as well. Okay... not sure that's massively compelling just because the author says so but I'm willing to be convinced. I guess I need to go back and dig deeper on this scripting being referenced in Chocolatey: isn't it just powershell scripting?

Re:Microsoft now credits maker of AppGet but offers no apology by munchbunny on Monday June 01, 2020 @10:05AM (#23378560)
In general it's easier to verify the security of the installation (not the code itself) if the package is configured via manifest instead of script. That's because you've preemptively restricted what the installation could possibly do, at the cost of flexibility. There are also some other specifics that are easier to implement via manifest than asking maintainers to implement via script, like supporting private app repository hosting (common enterprise feature). I suspect that's why WinGet went with AppGet's approach instead of Chocolatey.
Re:Microsoft now credits maker of AppGet but offers no apology by michaelhoffman on Monday June 01, 2020 @09:59AM (#23378492)
Yeah and recently a lot of Chocolatey scripts are calls to a number of standard helpers for various types of installers. Not a whole lot of arbitrary commands being used.

Having something like YAML seems cleaner than the Chocolatey approach, but there are almost 8,000 Chocolatey packages and it works pretty well. Implementation > architecture here.

Re:Microsoft now credits maker of AppGet but offers no apology by godtoldmetodoit on Monday June 01, 2020 @10:16AM (#23378683)
Yeah it's very dubious to me that YAML is the better approach, at least from the perspective of the average enterprise looking for Windows package management tooling.

There are still too many nasty installers out there, I'd be very worried about the ability to do what I need without a full scripting language at hand.

Re:Microsoft now credits maker of AppGet but offers no apology by michaelhoffman on Monday June 01, 2020 @10:19AM (#23378721)
You can have an approach that is YAML with scripting where necessary. There are so many packages that fit into one of the standard Chocolatey package setups (exe, msi, msu, vsix, zip).

https://chocolatey.org/docs/helpers-install-chocolatey-packa...