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 0FDAE15ACFC for ; Sun, 9 Apr 2023 06:52:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 347A3E0848; Sun, 9 Apr 2023 06:52:11 +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 1726DE0849 for ; Sun, 9 Apr 2023 06:52:11 +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 19E403410F6 for ; Sun, 9 Apr 2023 06:52:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B00958EB for ; Sun, 9 Apr 2023 06:52:07 +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: <1681023094.7af691adef9a624cde540850f39a6bf1b8d5e2bf.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: 7af691adef9a624cde540850f39a6bf1b8d5e2bf X-VCS-Branch: master Date: Sun, 9 Apr 2023 06:52:07 +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: 41c0c585-2ba2-4d83-8f77-08743a0746c7 X-Archives-Hash: 8bf158c3299a6f7a379ef347160fba73 commit: 7af691adef9a624cde540850f39a6bf1b8d5e2bf Author: Sam James gentoo org> AuthorDate: Wed Mar 29 22:06:56 2023 +0000 Commit: Sam James gentoo org> CommitDate: Sun Apr 9 06:51:34 2023 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=7af691ad sync: webrsync: document status quo Signed-off-by: Sam James gentoo.org> lib/portage/sync/modules/webrsync/webrsync.py | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/lib/portage/sync/modules/webrsync/webrsync.py b/lib/portage/sync/modules/webrsync/webrsync.py index f98162683..b4a6bb4f8 100644 --- a/lib/portage/sync/modules/webrsync/webrsync.py +++ b/lib/portage/sync/modules/webrsync/webrsync.py @@ -7,11 +7,11 @@ from portage import os from portage.util import writemsg_level from portage.util.futures import asyncio from portage.output import create_color_func +from portage.sync.syncbase import SyncBase good = create_color_func("GOOD") bad = create_color_func("BAD") warn = create_color_func("WARN") -from portage.sync.syncbase import SyncBase try: from gemato.exceptions import GematoException @@ -21,7 +21,15 @@ except ImportError: class WebRsync(SyncBase): - """WebRSync sync class""" + """WebRSync sync class + + This class implements syncing via calls to an external binary, either: + - emerge-delta-webrsync (if sync-webrsync-delta is set), or + - emerge-webrsync + + It wraps them and performs PGP verification if sync-webrsync-verify-signature + is set via gemato. + """ short_desc = "Perform sync operations on webrsync based repositories" @@ -133,7 +141,12 @@ class WebRsync(SyncBase): class PyWebRsync(SyncBase): - """WebRSync sync class""" + """PyWebRsync sync class + + TODO: Implement the sync parts from the emerge-webrsync external + binary to avoid split logic for various components, which + is how we ended up with bug #597800. + """ short_desc = "Perform sync operations on webrsync based repositories"