PowerShell / PSResourceGet

PSResourceGet is the package manager for PowerShell
https://www.powershellgallery.com/packages/Microsoft.PowerShell.PSResourceGet
MIT License
490 stars 94 forks source link

Check for "Clobber" conflicts before trying to install everything #1261

Closed dbaileyut closed 1 year ago

dbaileyut commented 1 year ago

Summary of the new feature / enhancement

If I run Install-Module with a big module with lots of dependencies like VMware.PowerCLI and I forget to specify -AllowClobber, it takes a long time to finally error out with the conflicts. It would be nice if it could fail sooner.

Proposed technical implementation details (optional)

No response

ThomasNieto commented 1 year ago

The new module PSResourceGet doesn't have the AllowClobber parameter and by default doesn't check for conflicts but can opt-in by using the NoClobber parameter.

dbaileyut commented 1 year ago

Ah, thanks, sorry I haven't had a chance to try the new module