From f2b24cd644bd2ec7ec3059da9fa193ca442475c4 Mon Sep 17 00:00:00 2001 From: Mariana Dematte Date: Wed, 21 Jun 2023 18:18:28 -0300 Subject: [PATCH 1/5] Added note to install docs about http changes --- docs/core/tools/dotnet-new-install.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/core/tools/dotnet-new-install.md b/docs/core/tools/dotnet-new-install.md index 5e08ec8e8c417..91b4026aa2278 100644 --- a/docs/core/tools/dotnet-new-install.md +++ b/docs/core/tools/dotnet-new-install.md @@ -55,6 +55,11 @@ Starting with .NET SDK 6.0.100, installed template packages are available in lat By default, `dotnet new install` uses the hierarchy of NuGet configuration files from the current directory to determine the NuGet source the package can be installed from. If `--nuget-source` is specified, the source will be added to the list of sources to be checked. To check the configured sources for the current directory use [`dotnet nuget list source`](dotnet-nuget-list-source.md). For more information, see [Common NuGet Configurations](/nuget/consume-packages/configuring-nuget-behavior) + + > [!NOTE] + > Following NuGet's Https Everywhere initiative, `dotnet new` is phasing out `http` feeds. If an `http` feed is passed by the user it will not be queried for packages and a warning will be displayed. The `--force` option can be used to override this behaviour if necessary. + + - **`-d|--diagnostics`** From 1283628cb3069dc0c63448ea0d03d18fc26ded00 Mon Sep 17 00:00:00 2001 From: Mariana Dematte Date: Wed, 21 Jun 2023 18:25:35 -0300 Subject: [PATCH 2/5] English is hard --- docs/core/tools/dotnet-new-install.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/core/tools/dotnet-new-install.md b/docs/core/tools/dotnet-new-install.md index 91b4026aa2278..20a85fa235013 100644 --- a/docs/core/tools/dotnet-new-install.md +++ b/docs/core/tools/dotnet-new-install.md @@ -55,9 +55,9 @@ Starting with .NET SDK 6.0.100, installed template packages are available in lat By default, `dotnet new install` uses the hierarchy of NuGet configuration files from the current directory to determine the NuGet source the package can be installed from. If `--nuget-source` is specified, the source will be added to the list of sources to be checked. To check the configured sources for the current directory use [`dotnet nuget list source`](dotnet-nuget-list-source.md). For more information, see [Common NuGet Configurations](/nuget/consume-packages/configuring-nuget-behavior) - + > [!NOTE] - > Following NuGet's Https Everywhere initiative, `dotnet new` is phasing out `http` feeds. If an `http` feed is passed by the user it will not be queried for packages and a warning will be displayed. The `--force` option can be used to override this behaviour if necessary. + > Following NuGet's Https Everywhere initiative, `dotnet new` is phasing out `http` feeds. If an `http` feed is passed, it will not be queried for packages and a warning will be displayed. The `--force` option can be used to override this behaviour if necessary. From 70aa29088fed9531d7d0d34236d7f6b94237aec8 Mon Sep 17 00:00:00 2001 From: Mariana Dematte Date: Wed, 21 Jun 2023 18:28:11 -0300 Subject: [PATCH 3/5] Added link to NuGet devblog --- docs/core/tools/dotnet-new-install.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/core/tools/dotnet-new-install.md b/docs/core/tools/dotnet-new-install.md index 20a85fa235013..c091fd1a42bb5 100644 --- a/docs/core/tools/dotnet-new-install.md +++ b/docs/core/tools/dotnet-new-install.md @@ -57,7 +57,7 @@ Starting with .NET SDK 6.0.100, installed template packages are available in lat To check the configured sources for the current directory use [`dotnet nuget list source`](dotnet-nuget-list-source.md). For more information, see [Common NuGet Configurations](/nuget/consume-packages/configuring-nuget-behavior) > [!NOTE] - > Following NuGet's Https Everywhere initiative, `dotnet new` is phasing out `http` feeds. If an `http` feed is passed, it will not be queried for packages and a warning will be displayed. The `--force` option can be used to override this behaviour if necessary. + > Following NuGet's [Https Everywhere](https://devblogs.microsoft.com/nuget/https-everywhere/) initiative, `dotnet new` is phasing out `http` feeds. If an `http` feed is passed, it will not be queried for packages and a warning will be displayed. The `--force` option can be used to override this behaviour if necessary. From 2063dd97c66370a85d41a3933e36dc8b1940243e Mon Sep 17 00:00:00 2001 From: Mariana Dematte Date: Wed, 21 Jun 2023 18:30:12 -0300 Subject: [PATCH 4/5] Everytime I look at this I find another small thing to fix --- docs/core/tools/dotnet-new-install.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/core/tools/dotnet-new-install.md b/docs/core/tools/dotnet-new-install.md index c091fd1a42bb5..d96a42283fc3e 100644 --- a/docs/core/tools/dotnet-new-install.md +++ b/docs/core/tools/dotnet-new-install.md @@ -59,8 +59,6 @@ Starting with .NET SDK 6.0.100, installed template packages are available in lat > [!NOTE] > Following NuGet's [Https Everywhere](https://devblogs.microsoft.com/nuget/https-everywhere/) initiative, `dotnet new` is phasing out `http` feeds. If an `http` feed is passed, it will not be queried for packages and a warning will be displayed. The `--force` option can be used to override this behaviour if necessary. - - - **`-d|--diagnostics`** Enables diagnostic output. Available since .NET SDK 7.0.100. From 85f682c95c5f796003cadc8294cb58553d717729 Mon Sep 17 00:00:00 2001 From: Tom Dykstra Date: Wed, 21 Jun 2023 14:45:46 -0700 Subject: [PATCH 5/5] Update docs/core/tools/dotnet-new-install.md --- docs/core/tools/dotnet-new-install.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/core/tools/dotnet-new-install.md b/docs/core/tools/dotnet-new-install.md index d96a42283fc3e..1306bc1506176 100644 --- a/docs/core/tools/dotnet-new-install.md +++ b/docs/core/tools/dotnet-new-install.md @@ -57,7 +57,7 @@ Starting with .NET SDK 6.0.100, installed template packages are available in lat To check the configured sources for the current directory use [`dotnet nuget list source`](dotnet-nuget-list-source.md). For more information, see [Common NuGet Configurations](/nuget/consume-packages/configuring-nuget-behavior) > [!NOTE] - > Following NuGet's [Https Everywhere](https://devblogs.microsoft.com/nuget/https-everywhere/) initiative, `dotnet new` is phasing out `http` feeds. If an `http` feed is passed, it will not be queried for packages and a warning will be displayed. The `--force` option can be used to override this behaviour if necessary. + > Following NuGet's [Https Everywhere](https://devblogs.microsoft.com/nuget/https-everywhere/) initiative, `dotnet new` is phasing out `http` feeds. If an `http` feed is passed, it isn't queried for packages and a warning is displayed. The `--force` option can be used to override this behavior if necessary. - **`-d|--diagnostics`**