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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 359BE15806E for ; Tue, 6 Jun 2023 10:32:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 434C4E0886; Tue, 6 Jun 2023 10:32:27 +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 2856CE0886 for ; Tue, 6 Jun 2023 10:32:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 smtp.gentoo.org (Postfix) with ESMTPS id 2924A335D0F for ; Tue, 6 Jun 2023 10:32:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B6F1EA5A for ; Tue, 6 Jun 2023 10:32:24 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1686047455.2660f630e18ea5893c3463972516b174c2e8443c.sam@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: lib/portage/sync/modules/webrsync/ X-VCS-Repository: proj/portage X-VCS-Files: lib/portage/sync/modules/webrsync/webrsync.py X-VCS-Directories: lib/portage/sync/modules/webrsync/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 2660f630e18ea5893c3463972516b174c2e8443c X-VCS-Branch: master Date: Tue, 6 Jun 2023 10:32:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2a09ed1c-add8-43b2-96df-5bd4d697aad3 X-Archives-Hash: cd1aa7e3af44138aa2786f5043e88479 commit: 2660f630e18ea5893c3463972516b174c2e8443c Author: Sam James gentoo org> AuthorDate: Tue Jun 6 10:18:44 2023 +0000 Commit: Sam James gentoo org> CommitDate: Tue Jun 6 10:30:55 2023 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=2660f630 sync: webrsync: fix passing down PORTAGE_SYNC_WEBRSYNC_GPG This needs to be a string, not an int, because an int doesn't mean anything when we're passing it as an argument to an external process by shelling out. Bug: https://bugs.gentoo.org/907816 Signed-off-by: Sam James gentoo.org> Closes: https://github.com/gentoo/portage/pull/1050 lib/portage/sync/modules/webrsync/webrsync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/portage/sync/modules/webrsync/webrsync.py b/lib/portage/sync/modules/webrsync/webrsync.py index 0e1d1a463..ca0416fa4 100644 --- a/lib/portage/sync/modules/webrsync/webrsync.py +++ b/lib/portage/sync/modules/webrsync/webrsync.py @@ -97,7 +97,7 @@ class WebRsync(SyncBase): ) return (1, False) - self.spawn_kwargs["env"]["PORTAGE_SYNC_WEBRSYNC_GPG"] = True + self.spawn_kwargs["env"]["PORTAGE_SYNC_WEBRSYNC_GPG"] = "1" self.spawn_kwargs["env"][ "PORTAGE_GPG_KEY" ] = self.repo.sync_openpgp_key_path