public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/portage:master commit in: lib/portage/sync/modules/webrsync/
Date: Tue,  6 Jun 2023 10:32:24 +0000 (UTC)	[thread overview]
Message-ID: <1686047455.2660f630e18ea5893c3463972516b174c2e8443c.sam@gentoo> (raw)

commit:     2660f630e18ea5893c3463972516b174c2e8443c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  6 10:18:44 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> 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 <sam <AT> 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


             reply	other threads:[~2023-06-06 10:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-06 10:32 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-07  1:08 [gentoo-commits] proj/portage:master commit in: lib/portage/sync/modules/webrsync/ Zac Medico
2023-05-01  7:21 Sam James
2023-05-01  7:21 Sam James
2023-04-09  6:52 Sam James
2023-04-09  6:52 Sam James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1686047455.2660f630e18ea5893c3463972516b174c2e8443c.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox