PowerShell / PackageManagementProviderResource

Modules with DSC resources for the PackageManagement(aka OneGet) providers.
MIT License
37 stars 24 forks source link

Is this resource deprecated? #36

Open Happycoil opened 7 years ago

Happycoil commented 7 years ago

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

brywang-msft commented 7 years ago

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).

artisticcheese commented 7 years ago

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

jianyunt commented 7 years ago

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

artisticcheese commented 7 years ago

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

brywang-msft commented 6 years ago

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.