From: "Fabian Groffen" <grobian@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/portage-utils:master commit in: /, libq/
Date: Tue, 7 May 2019 06:19:50 +0000 (UTC) [thread overview]
Message-ID: <1557166364.d26a4c6fab322e4310fad304258300e548384115.grobian@gentoo> (raw)
commit: d26a4c6fab322e4310fad304258300e548384115
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Mon May 6 18:12:44 2019 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Mon May 6 18:12:44 2019 +0000
URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=d26a4c6f
libq/atom: use less emphasis on PVR
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
TODO.md | 4 ++--
libq/atom.c | 10 +++++-----
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/TODO.md b/TODO.md
index 6fda56d..3333fd6 100644
--- a/TODO.md
+++ b/TODO.md
@@ -8,9 +8,9 @@
- disable color when tty = NULL; may break less?
-- standardize/unify/clean up misc handling of colors
+- standardize/unify/clean up misc handling of colors (atom\_format)
define rules:
- BOLD CATEGORY/ BLUE PKG BKBLUE -VER YELLOW :SLOT GREEN ::REPO NORM [ MAGENTA USE NORM ]
+ BOLD CATEGORY/ BLUE PKG CYAN -VER YELLOW :SLOT GREEN ::REPO NORM [ MAGENTA USE NORM ]
- remove odd rmspace for each string in libq/set.c (allows a lot less
malloc/frees)
diff --git a/libq/atom.c b/libq/atom.c
index 4df76a6..0eaee5c 100644
--- a/libq/atom.c
+++ b/libq/atom.c
@@ -676,23 +676,23 @@ atom_format_r(
} else if (!strncmp("PV", fmt, len)) {
if (showit || atom->PV)
append_buf(buf, buflen, "%s%s%s",
- DKBLUE, HN(atom->PV), NORM);
+ CYAN, HN(atom->PV), NORM);
} else if (!strncmp("PVR", fmt, len)) {
if (showit || atom->PVR)
append_buf(buf, buflen, "%s%s%s",
- DKBLUE, HN(atom->PVR), NORM);
+ CYAN, HN(atom->PVR), NORM);
} else if (!strncmp("PF", fmt, len)) {
append_buf(buf, buflen, "%s%s%s", BLUE, atom->PN, NORM);
if (atom->PV)
append_buf(buf, buflen, "%s-%s%s",
- DKBLUE, atom->PV, NORM);
+ CYAN, atom->PV, NORM);
if (atom->PR_int)
append_buf(buf, buflen,"%s-r%d%s",
- DKBLUE, atom->PR_int, NORM);
+ CYAN, atom->PR_int, NORM);
} else if (!strncmp("PR", fmt, len)) {
if (showit || atom->PR_int)
append_buf(buf, buflen, "%sr%d%s",
- DKBLUE, atom->PR_int, NORM);
+ CYAN, atom->PR_int, NORM);
} else if (!strncmp("SLOT", fmt, len)) {
if (showit || atom->SLOT)
append_buf(buf, buflen, "%s%s%s%s%s%s%s",
next reply other threads:[~2019-05-07 6:19 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-07 6:19 Fabian Groffen [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-01-02 7:57 [gentoo-commits] proj/portage-utils:master commit in: /, libq/ Fabian Groffen
2020-05-16 18:27 Fabian Groffen
2020-01-05 16:08 Fabian Groffen
2020-01-04 19:48 Fabian Groffen
2020-01-01 17:54 Fabian Groffen
2019-11-15 13:52 Fabian Groffen
2019-07-14 13:09 Fabian Groffen
2019-05-06 17:33 Fabian Groffen
2019-05-02 15:48 Fabian Groffen
2018-05-18 16:58 Fabian Groffen
2016-12-29 2:25 Mike Frysinger
2016-12-29 2:25 Mike Frysinger
2016-02-14 1:26 Mike Frysinger
2016-02-14 1:26 Mike Frysinger
2015-11-28 2:44 Mike Frysinger
2015-11-28 2:44 Mike Frysinger
2015-02-24 1:26 Mike Frysinger
2014-03-21 5:32 Mike Frysinger
2014-03-10 8:45 Mike Frysinger
2014-03-10 6:00 Mike Frysinger
2014-03-08 5:51 Mike Frysinger
2014-03-08 5:51 Mike Frysinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1557166364.d26a4c6fab322e4310fad304258300e548384115.grobian@gentoo \
--to=grobian@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox