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 80E1B158099 for ; Sat, 25 Nov 2023 06:33:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C4FB32BC01A; Sat, 25 Nov 2023 06:33:50 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AEA902BC01A for ; Sat, 25 Nov 2023 06:33:50 +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 DB28333E3A9 for ; Sat, 25 Nov 2023 06:33:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 72592BB1 for ; Sat, 25 Nov 2023 06:33:48 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1700893891.c8e599af298a500334e6566d1518b35a531ec99e.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: lib/_emerge/ X-VCS-Repository: proj/portage X-VCS-Files: lib/_emerge/Scheduler.py X-VCS-Directories: lib/_emerge/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: c8e599af298a500334e6566d1518b35a531ec99e X-VCS-Branch: master Date: Sat, 25 Nov 2023 06:33:48 +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: d721dd3d-4c72-42d8-afca-56afc942f7c1 X-Archives-Hash: 338487c8ff839974ac11c24823f44aaf commit: c8e599af298a500334e6566d1518b35a531ec99e Author: Zac Medico gentoo org> AuthorDate: Sun Nov 19 19:52:01 2023 +0000 Commit: Zac Medico gentoo org> CommitDate: Sat Nov 25 06:31:31 2023 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=c8e599af _run_pkg_pretend: Refer to emerge-fetch.log for binpkg parallel-fetch If there is a parallel-fetch task fetching a binpkg in the background, refer to emerge-fetch.log for status updates, just like the Binpkg class does prior to pkg_setup. Bug: https://bugs.gentoo.org/760893 Signed-off-by: Zac Medico gentoo.org> lib/_emerge/Scheduler.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/_emerge/Scheduler.py b/lib/_emerge/Scheduler.py index ceff2be0f7..e1179e0f13 100644 --- a/lib/_emerge/Scheduler.py +++ b/lib/_emerge/Scheduler.py @@ -948,6 +948,16 @@ class Scheduler(PollScheduler): # handles fetch, verification, and the # bintree.inject call which moves the file. fetched = fetcher.pkg_path + else: + msg = ( + "Fetching in the background:", + fetcher.pkg_path, + "To view fetch progress, run in another terminal:", + f"tail -f {self._fetch_log}", + ) + out = portage.output.EOutput() + for l in msg: + out.einfo(l) if await fetcher.async_wait() != os.EX_OK: failures += 1 self._record_pkg_failure(x, settings, fetcher.returncode)