From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 16002158042 for ; Wed, 23 Oct 2024 19:56:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4AF5DE091D; Wed, 23 Oct 2024 19:56:11 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DE271E08DA for ; Wed, 23 Oct 2024 19:56:10 +0000 (UTC) From: xgqt@gentoo.org To: gentoo-dev@lists.gentoo.org Cc: dotnet@gentoo.org, =?UTF-8?q?Maciej=20Bar=C4=87?= Subject: [gentoo-dev] [PATCH 1/2] eclass/dotnet-pkg-base: turn off DOTNET_NUGET_SIGNATURE_VERIFICATION Date: Wed, 23 Oct 2024 21:55:42 +0200 Message-ID: <20241023195546.87280-1-xgqt@gentoo.org> X-Mailer: git-send-email 2.45.2 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: c096a153-d115-44e0-8269-5b629c2c502c X-Archives-Hash: a926bfc58960796c1b7b4f8dadcfdb68 From: Maciej Barć Speeds up "dotnet restore". Especially can be noticed when running without network sandbox. Suggested by vimproved on IRC - thanks! See also: https://github.com/NuGet/Home/issues/13062 Signed-off-by: Maciej Barć --- eclass/dotnet-pkg-base.eclass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eclass/dotnet-pkg-base.eclass b/eclass/dotnet-pkg-base.eclass index 15e9ba703b..8cedde073b 100644 --- a/eclass/dotnet-pkg-base.eclass +++ b/eclass/dotnet-pkg-base.eclass @@ -101,6 +101,9 @@ export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1 export MSBUILDDISABLENODEREUSE=1 export POWERSHELL_TELEMETRY_OPTOUT=1 export POWERSHELL_UPDATECHECK=0 +# Speeds up restore. Using this is redundant with Portage manifests. +# See also: https://github.com/NuGet/Home/issues/13062 +export DOTNET_NUGET_SIGNATURE_VERIFICATION=false # Overwrite selected MSBuild properties ("-p:XYZ"). export UseSharedCompilation=false -- 2.45.2