Gentoo Archives: gentoo-commits

From: Fabian Groffen <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage-utils:master commit in: /
Date: Fri, 20 May 2022 17:15:32
Message-Id: 1653066134.4f3a79cc3e9399a723dc0a08c4122ed12e2f1001.grobian@gentoo
1 commit: 4f3a79cc3e9399a723dc0a08c4122ed12e2f1001
2 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 20 17:02:14 2022 +0000
4 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
5 CommitDate: Fri May 20 17:02:14 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=4f3a79cc
7
8 qlist: print BUILD_ID for binpkgs (if any)
9
10 Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
11
12 qlist.c | 6 +++++-
13 1 file changed, 5 insertions(+), 1 deletion(-)
14
15 diff --git a/qlist.c b/qlist.c
16 index 318ae3d..3d09af1 100644
17 --- a/qlist.c
18 +++ b/qlist.c
19 @@ -1,5 +1,5 @@
20 /*
21 - * Copyright 2005-2021 Gentoo Foundation
22 + * Copyright 2005-2022 Gentoo Foundation
23 * Distributed under the terms of the GNU General Public License v2
24 *
25 * Copyright 2005 Martin Schlemmer - <azarah@g.o>
26 @@ -501,11 +501,15 @@ int qlist_main(int argc, char **argv)
27 }
28 snprintf(qfmt, sizeof(qfmt), "%sCATEGORY%s"
29 "%s%s%s" /* PN/PF */
30 + "%s%s%s" /* BUILDID */
31 "%s%s%s" /* SLOT */
32 "%s%s%s" /* SUBSLOT */
33 "%s%s%s", /* REPO */
34 l, r,
35 l, verbose ? "PF" : "PN", r,
36 + verbose && state.do_binpkgs ? l : "",
37 + verbose && state.do_binpkgs ? "BUILDID" : "",
38 + verbose && state.do_binpkgs ? r : "",
39 show_slots >= 1 ? l : "",
40 show_slots >= 1 ? "SLOT" : "",
41 show_slots >= 1 ? r : "",