Skip to content

Commit

Permalink
webrsync: Support sync-webrsync-verify-signature = false
Browse files Browse the repository at this point in the history
Bug: https://bugs.gentoo.org/945861
Signed-off-by: Zac Medico <zmedico@gentoo.org>
  • Loading branch information
douglarek authored and zmedico committed Dec 7, 2024
1 parent 36a9638 commit b39f9f8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/portage/sync/modules/webrsync/webrsync.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ def sync(self, **kwargs):
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"
Expand Down Expand Up @@ -104,8 +105,9 @@ def sync(self, **kwargs):
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:
Expand Down

0 comments on commit b39f9f8

Please sign in to comment.