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: Mon, 1 May 2023 07:21:58 +0000 (UTC) [thread overview]
Message-ID: <1682925657.865860503c1279a1b5880aa180ecf67206640e45.sam@gentoo> (raw)
commit: 865860503c1279a1b5880aa180ecf67206640e45
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 30 05:28:55 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon May 1 07:20:57 2023 +0000
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=86586050
sync: webrsync: export PORTAGE_GPG_KEY for emerge-webrsync
Set PORTAGE_GPG_KEY to sync-openpgp-key-path configured by the user
for use by emerge-webrsync to pass to gemato.
Bug: https://bugs.gentoo.org/905358
Signed-off-by: Sam James <sam <AT> gentoo.org>
lib/portage/sync/modules/webrsync/webrsync.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lib/portage/sync/modules/webrsync/webrsync.py b/lib/portage/sync/modules/webrsync/webrsync.py
index b4a6bb4f8..8de7c08ad 100644
--- a/lib/portage/sync/modules/webrsync/webrsync.py
+++ b/lib/portage/sync/modules/webrsync/webrsync.py
@@ -109,6 +109,9 @@ class WebRsync(SyncBase):
self._refresh_keys(openpgp_env)
self.spawn_kwargs["env"]["PORTAGE_GPG_DIR"] = openpgp_env.home
self.spawn_kwargs["env"]["PORTAGE_TEMP_GPG_DIR"] = openpgp_env.home
+ self.spawn_kwargs["env"][
+ "PORTAGE_GPG_KEY"
+ ] = self.repo.sync_openpgp_key_path
except (GematoException, asyncio.TimeoutError) as e:
writemsg_level(
f"!!! Verification impossible due to keyring problem:\n{e}\n",
next reply other threads:[~2023-05-01 7:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-01 7:21 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-06-06 10:32 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=1682925657.865860503c1279a1b5880aa180ecf67206640e45.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