|
| 1 | +# PowerShellGet V3 Module Design |
| 2 | + |
| 3 | +## Description |
| 4 | + |
| 5 | +PowerShellGet V3 is an upgrade to the currently available V2 module. |
| 6 | +The V2 module is completely script based, and has dependencies on other PowerShell modules(PackageManagement). |
| 7 | + |
| 8 | +This version directly uses NuGet APIs, via NuGet managed code binaries. |
| 9 | + |
| 10 | +For more information, see [Re-architecting PowerShellGet - the PowerShell package manager](https://github.com/PowerShell/PowerShell-RFC/pull/185). |
| 11 | + |
| 12 | +## Goals |
| 13 | + |
| 14 | +- Works side by side with current PowerShellGet V2 module |
| 15 | + |
| 16 | +- Remove dependency on PackageManagement module, and directly use NuGet APIs |
| 17 | + |
| 18 | +- Leverage the latest NuGet V3 APIs |
| 19 | + |
| 20 | +- Provide cmdlets that perform similar functions but do not interfere with V2 cmdlets |
| 21 | + |
| 22 | +- Implement as binary cmdlets and minimize use of PowerShell scripts |
| 23 | + |
| 24 | +- Remove unneeded components (DscResources). TODO: Discuss with Sydney and Steve. |
| 25 | + |
| 26 | +- Minimize binary dependencies |
| 27 | + |
| 28 | +- Work over all PowerShell supported platforms |
| 29 | + |
| 30 | +- Minimize code duplication |
| 31 | + |
| 32 | +- Have only one .NET dependency (netstandard2.0) for Windows 5.x compatibility |
| 33 | + |
| 34 | +## Compatibility Module |
| 35 | + |
| 36 | +### Update module as needed |
| 37 | + |
| 38 | +### Write/update tests as needed |
| 39 | + |
| 40 | +## Summary of work estimates |
| 41 | + |
| 42 | +### Cmdlet work estimates |
| 43 | + |
| 44 | +TODO: |
| 45 | + |
| 46 | +### Compatibility Module work estimates |
| 47 | + |
| 48 | +TODO: |
| 49 | + |
| 50 | +## Cmdlets |
| 51 | + |
| 52 | +### Find-PSResource |
| 53 | + |
| 54 | +[Find-PSResource](./FindPSResource.md) |
| 55 | + |
| 56 | +### Get-PSResource |
| 57 | + |
| 58 | +### Get-PSResourceRepository |
| 59 | + |
| 60 | +### Install-PSResource |
| 61 | + |
| 62 | +### Publish-PSResource |
| 63 | + |
| 64 | +### Register-PSResourceRepository |
| 65 | + |
| 66 | +### Save-PSResource |
| 67 | + |
| 68 | +### Set-PSResourceRepository |
| 69 | + |
| 70 | +### Uninstall-PSResource |
| 71 | + |
| 72 | +### Unregister-PSResourceRepository |
| 73 | + |
| 74 | +### Update-PSResource |
0 commit comments