From 6f547f40335c53c387a5fd487b088428197b8f08 Mon Sep 17 00:00:00 2001 From: Florian Greinacher Date: Thu, 14 Mar 2024 11:27:39 +0100 Subject: [PATCH 1/2] docs(nuget): add hint for protocol version in NuGet.config --- docs/usage/nuget.md | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/docs/usage/nuget.md b/docs/usage/nuget.md index 49a4b0c2eaf865..fd62471eaeaeaa 100644 --- a/docs/usage/nuget.md +++ b/docs/usage/nuget.md @@ -78,15 +78,26 @@ So Renovate behaves like the official NuGet client. #### v3 feed URL not ending with index.json -If a `v3` feed URL does not end with `index.json`, you must append `#protocolVersion=3` to the registry URL: +If a `v3` feed URL does not end with `index.json`, you must specify the version explicitely. -```json -{ - "nuget": { - "registryUrls": ["http://myV3feed#protocolVersion=3"] +- If the feed is defined in a `NuGet.config` file set the `protocolVersion` attribute to `3`: + + ```xml + + + + + ``` + +- If the feed is defined via Renovate configuration append `#protocolVersion=3` to the registry URL: + + ```json + { + "nuget": { + "registryUrls": ["http://myV3feed#protocolVersion=3"] + } } -} -``` + ``` You may need this workaround when you use the JFrog Artifactory. From ca7beb5a6cd316e98a526c7df3e104f1dbd7956c Mon Sep 17 00:00:00 2001 From: Florian Greinacher Date: Mon, 18 Mar 2024 18:48:24 +0100 Subject: [PATCH 2/2] Update nuget.md Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com> --- docs/usage/nuget.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/usage/nuget.md b/docs/usage/nuget.md index fd62471eaeaeaa..151da12225bb96 100644 --- a/docs/usage/nuget.md +++ b/docs/usage/nuget.md @@ -78,7 +78,7 @@ So Renovate behaves like the official NuGet client. #### v3 feed URL not ending with index.json -If a `v3` feed URL does not end with `index.json`, you must specify the version explicitely. +If a `v3` feed URL does not end with `index.json`, you must specify the version explicitly. - If the feed is defined in a `NuGet.config` file set the `protocolVersion` attribute to `3`: