public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/portage:master commit in: lib/portage/sync/modules/webrsync/
Date: Sat,  7 Dec 2024 01:08:34 +0000 (UTC)	[thread overview]
Message-ID: <1733532370.b39f9f819c34a7a67f2639acb4d4c17a1aa5df89.zmedico@gentoo> (raw)

commit:     b39f9f819c34a7a67f2639acb4d4c17a1aa5df89
Author:     Leo Douglas <douglarek <AT> gmail <DOT> com>
AuthorDate: Fri Dec  6 22:08:01 2024 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sat Dec  7 00:46:10 2024 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=b39f9f81

webrsync: Support sync-webrsync-verify-signature = false

Bug: https://bugs.gentoo.org/945861
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 lib/portage/sync/modules/webrsync/webrsync.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lib/portage/sync/modules/webrsync/webrsync.py b/lib/portage/sync/modules/webrsync/webrsync.py
index ca0416fa48..4c3368f20b 100644
--- a/lib/portage/sync/modules/webrsync/webrsync.py
+++ b/lib/portage/sync/modules/webrsync/webrsync.py
@@ -68,6 +68,7 @@ class WebRsync(SyncBase):
         verbose = "--verbose" in self.options["emerge_config"].opts
         quiet = "--quiet" in self.options["emerge_config"].opts
         openpgp_env = None
+        webrsync_cmd = [self.bin_command]
         try:
             if self.repo.module_specific_options.get(
                 "sync-webrsync-verify-signature", "false"
@@ -104,8 +105,9 @@ class WebRsync(SyncBase):
                 self.spawn_kwargs["env"][
                     "PORTAGE_GPG_KEY_SERVER"
                 ] = self.repo.sync_openpgp_keyserver
+            else:
+                webrsync_cmd.append("--no-pgp-verify")
 
-            webrsync_cmd = [self.bin_command]
             if verbose:
                 webrsync_cmd.append("-v")
             elif quiet:


             reply	other threads:[~2024-12-07  1:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-07  1:08 Zac Medico [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-06-06 10:32 [gentoo-commits] proj/portage:master commit in: lib/portage/sync/modules/webrsync/ Sam James
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=1733532370.b39f9f819c34a7a67f2639acb4d4c17a1aa5df89.zmedico@gentoo \
    --to=zmedico@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