PackageManagementProviderResource icon indicating copy to clipboard operation
PackageManagementProviderResource copied to clipboard

Is this resource deprecated?

Open Happycoil opened this issue 8 years ago • 5 comments

Is this resource deprecated in favour of the DSC resources in the PackageManagement module?

https://github.com/OneGet/oneget/tree/master/src/Microsoft.PackageManagement.DscResources

cc @brywang-msft

Happycoil avatar May 10 '17 09:05 Happycoil

Yes. Any contributions to the DSC resources should/will go to the oneget/oneget repo. All issues prior were also migrated to the repo. Issues created here going forward won't be migrated unless Jianyun or I get poked. PackageManagement 1.1.3.0 onwards contains the DSC resources.

In addition, the PSModule/NuGet specific resources were removed in favor of the generic Package resource. However, I think the team would be open to adding them back in if there's need (and that request/PR should go to the oneget/oneget repo).

brywang-msft avatar May 10 '17 17:05 brywang-msft

How do you use DSC to install Modules using Packagemanagement? Built in resource "Package" can only install EXE, MSI and nothing else.

artisticcheese avatar May 17 '17 20:05 artisticcheese

see example: https://github.com/PowerShell/PackageManagementProviderResource/blob/master/Examples/Sample_PSModule.ps1

jianyunt avatar May 17 '17 23:05 jianyunt

But this relies on this resource which is depreciated, is not it?

artisticcheese avatar May 17 '17 23:05 artisticcheese

https://github.com/OneGet/oneget/blob/WIP/Test/Examples/Sample_Install_Package.ps1

Examples from this repo use the resources available in this repo. Consensus on review was that PSModule and NugetPackage were duplications, so they were removed when merging the DSC resources into the main module.

brywang-msft avatar Dec 14 '17 20:12 brywang-msft