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 E0A7C158090 for ; Fri, 20 May 2022 17:15:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7AEF2E09C1; Fri, 20 May 2022 17:15:31 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 62844E09C1 for ; Fri, 20 May 2022 17:15:31 +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 93BC7341279 for ; Fri, 20 May 2022 17:15:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F21CF3BF for ; Fri, 20 May 2022 17:15:28 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1653066134.4f3a79cc3e9399a723dc0a08c4122ed12e2f1001.grobian@gentoo> Subject: [gentoo-commits] proj/portage-utils:master commit in: / X-VCS-Repository: proj/portage-utils X-VCS-Files: qlist.c X-VCS-Directories: / X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 4f3a79cc3e9399a723dc0a08c4122ed12e2f1001 X-VCS-Branch: master Date: Fri, 20 May 2022 17:15:28 +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: 1c27fc06-ac73-4205-95ff-eb0e2bd463da X-Archives-Hash: 1823f1948d4ed89c4bcc5a263aa17728 commit: 4f3a79cc3e9399a723dc0a08c4122ed12e2f1001 Author: Fabian Groffen gentoo org> AuthorDate: Fri May 20 17:02:14 2022 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Fri May 20 17:02:14 2022 +0000 URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=4f3a79cc qlist: print BUILD_ID for binpkgs (if any) Signed-off-by: Fabian Groffen gentoo.org> qlist.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/qlist.c b/qlist.c index 318ae3d..3d09af1 100644 --- a/qlist.c +++ b/qlist.c @@ -1,5 +1,5 @@ /* - * Copyright 2005-2021 Gentoo Foundation + * Copyright 2005-2022 Gentoo Foundation * Distributed under the terms of the GNU General Public License v2 * * Copyright 2005 Martin Schlemmer - @@ -501,11 +501,15 @@ int qlist_main(int argc, char **argv) } snprintf(qfmt, sizeof(qfmt), "%sCATEGORY%s" "%s%s%s" /* PN/PF */ + "%s%s%s" /* BUILDID */ "%s%s%s" /* SLOT */ "%s%s%s" /* SUBSLOT */ "%s%s%s", /* REPO */ l, r, l, verbose ? "PF" : "PN", r, + verbose && state.do_binpkgs ? l : "", + verbose && state.do_binpkgs ? "BUILDID" : "", + verbose && state.do_binpkgs ? r : "", show_slots >= 1 ? l : "", show_slots >= 1 ? "SLOT" : "", show_slots >= 1 ? r : "",