From 2fdca48fa0a7888aa067936bc64f465f50d01759 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olav=20R=C3=B8nnestad=20Birkeland?= <6450056+o-l-a-v@users.noreply.github.com> Date: Fri, 17 Jan 2025 13:24:39 +0000 Subject: [PATCH 1/4] Add ContainerRegistry as valid ApiVersion --- .../Register-PSResourceRepository.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Register-PSResourceRepository.md b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Register-PSResourceRepository.md index c527062..71ac50e 100644 --- a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Register-PSResourceRepository.md +++ b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Register-PSResourceRepository.md @@ -149,10 +149,13 @@ Credential : Specifies the API version used by the repository. Valid values are: -- `v2` - uses the NuGet V2 API -- `v3` - uses the NuGet V3 API -- `local` - use this for file system based repositories -- `nugetServer` - use this for NuGet.Server based repositories +- `V2` - uses the NuGet V2 API +- `V3` - uses the NuGet V3 API +- `ContainerRegistry` - use this for + [Azure Container Registry](/powershell-gallery/docs-conceptual/powershellget/supported-repositories.md#azure-container-registry) +- `Local` - use this for file system based repositories +- `NugetServer` - use this for NuGet.Server based repositories +- `Unknown` - use if you're not yet certain The `Register-PSResourceRepository` cmdlet should automatically detect the API version. This parameter allows you to change the API version after you have registered a repository. From 84272f4ec32f8df719981755d093260ad84630c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olav=20R=C3=B8nnestad=20Birkeland?= <6450056+o-l-a-v@users.noreply.github.com> Date: Fri, 17 Jan 2025 14:42:25 +0100 Subject: [PATCH 2/4] Remove "unknown" --- .../Register-PSResourceRepository.md | 1 - 1 file changed, 1 deletion(-) diff --git a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Register-PSResourceRepository.md b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Register-PSResourceRepository.md index 71ac50e..c04666a 100644 --- a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Register-PSResourceRepository.md +++ b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Register-PSResourceRepository.md @@ -155,7 +155,6 @@ Specifies the API version used by the repository. Valid values are: [Azure Container Registry](/powershell-gallery/docs-conceptual/powershellget/supported-repositories.md#azure-container-registry) - `Local` - use this for file system based repositories - `NugetServer` - use this for NuGet.Server based repositories -- `Unknown` - use if you're not yet certain The `Register-PSResourceRepository` cmdlet should automatically detect the API version. This parameter allows you to change the API version after you have registered a repository. From 1e9a6b9d1117711b79b41f8f1c6742395738a6aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olav=20R=C3=B8nnestad=20Birkeland?= <6450056+o-l-a-v@users.noreply.github.com> Date: Fri, 17 Jan 2025 14:55:37 +0100 Subject: [PATCH 3/4] Use relative linking --- .../Register-PSResourceRepository.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Register-PSResourceRepository.md b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Register-PSResourceRepository.md index c04666a..e82ddb7 100644 --- a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Register-PSResourceRepository.md +++ b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Register-PSResourceRepository.md @@ -152,7 +152,7 @@ Specifies the API version used by the repository. Valid values are: - `V2` - uses the NuGet V2 API - `V3` - uses the NuGet V3 API - `ContainerRegistry` - use this for - [Azure Container Registry](/powershell-gallery/docs-conceptual/powershellget/supported-repositories.md#azure-container-registry) + [Azure Container Registry](../../docs-conceptual/powershellget/supported-repositories.md#azure-container-registry) - `Local` - use this for file system based repositories - `NugetServer` - use this for NuGet.Server based repositories From b2f171032a943131acde04f384e39367958d629d Mon Sep 17 00:00:00 2001 From: Sean Wheeler Date: Fri, 17 Jan 2025 08:52:38 -0600 Subject: [PATCH 4/4] Update API version descriptions for repositories --- .../Register-PSResourceRepository.md | 3 +-- .../Set-PSResourceRepository.md | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Register-PSResourceRepository.md b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Register-PSResourceRepository.md index e82ddb7..80a5411 100644 --- a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Register-PSResourceRepository.md +++ b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Register-PSResourceRepository.md @@ -151,8 +151,7 @@ Specifies the API version used by the repository. Valid values are: - `V2` - uses the NuGet V2 API - `V3` - uses the NuGet V3 API -- `ContainerRegistry` - use this for - [Azure Container Registry](../../docs-conceptual/powershellget/supported-repositories.md#azure-container-registry) +- `ContainerRegistry` - used for Azure Container Registry - `Local` - use this for file system based repositories - `NugetServer` - use this for NuGet.Server based repositories diff --git a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Set-PSResourceRepository.md b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Set-PSResourceRepository.md index ddc0849..4a8a4ac 100644 --- a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Set-PSResourceRepository.md +++ b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Set-PSResourceRepository.md @@ -156,6 +156,7 @@ Specifies the API version used by the repository. Valid values are: - `v2` - uses the NuGet V2 API - `v3` - uses the NuGet V3 API +- `ContainerRegistry` - used for Azure Container Registry - `local` - use this for file system based repositories - `nugetServer` - use this for NuGet.Server based repositories @@ -166,7 +167,7 @@ parameter allows you to change the API version after you have registered a repos Type: Microsoft.PowerShell.PSResourceGet.UtilClasses.PSRepositoryInfo+APIVersion Parameter Sets: NameParameterSet Aliases: -Accepted values: Unknown, V2, V3, Local, NugetServer, ContainerRegistry +Accepted values: V2, V3, Local, NugetServer, ContainerRegistry Required: False Position: Named