From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id E28301384B4 for ; Sat, 28 Nov 2015 02:44:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9106521C092; Sat, 28 Nov 2015 02:44:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5270821C08C for ; Sat, 28 Nov 2015 02:44:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 33F40340686 for ; Sat, 28 Nov 2015 02:44:39 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 45E97FD3 for ; Sat, 28 Nov 2015 02:44:35 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1448664233.cc1410da0856fea37f421d57ec2e3633918d5f7f.vapier@gentoo> Subject: [gentoo-commits] proj/portage-utils:master commit in: / X-VCS-Repository: proj/portage-utils X-VCS-Files: qcache.c X-VCS-Directories: / X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: cc1410da0856fea37f421d57ec2e3633918d5f7f X-VCS-Branch: master Date: Sat, 28 Nov 2015 02:44:35 +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-Archives-Salt: eaa75d61-c5b6-4b0a-a655-863fcfd9b801 X-Archives-Hash: 534731802f88bec1888893e409ca4673 commit: cc1410da0856fea37f421d57ec2e3633918d5f7f Author: Mike Frysinger gentoo org> AuthorDate: Fri Nov 27 22:43:53 2015 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Fri Nov 27 22:43:53 2015 +0000 URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=cc1410da qcache: make missing KEYWORDS a verbose message These only warn about ebuilds that shouldn't have them set (such as 9999 ebuilds), so making the warning a verbose one for now. qcache.c | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/qcache.c b/qcache.c index 091a510..5cac394 100644 --- a/qcache.c +++ b/qcache.c @@ -525,7 +525,9 @@ void qcache_imlate(qcache_data *data) keywords = xmalloc(sizeof(*keywords) * archlist_count); if (read_keywords(data->cache_data->KEYWORDS, keywords) < 0) { - warn("Failed to read keywords for %s%s/%s%s%s", BOLD, data->category, BLUE, data->ebuild, NORM); + if (verbose) + warn("Failed to read keywords for %s%s/%s%s%s", + BOLD, data->category, BLUE, data->ebuild, NORM); free(keywords); return; } @@ -559,7 +561,9 @@ void qcache_not(qcache_data *data) keywords = xmalloc(sizeof(*keywords) * archlist_count); if (read_keywords(data->cache_data->KEYWORDS, keywords) < 0) { - warn("Failed to read keywords for %s%s/%s%s%s", BOLD, data->category, BLUE, data->ebuild, NORM); + if (verbose) + warn("Failed to read keywords for %s%s/%s%s%s", + BOLD, data->category, BLUE, data->ebuild, NORM); free(keywords); return; } @@ -584,7 +588,9 @@ void qcache_all(qcache_data *data) keywords = xmalloc(sizeof(*keywords) * archlist_count); if (read_keywords(data->cache_data->KEYWORDS, keywords) < 0) { - warn("Failed to read keywords for %s%s/%s%s%s", BOLD, data->category, BLUE, data->ebuild, NORM); + if (verbose) + warn("Failed to read keywords for %s%s/%s%s%s", + BOLD, data->category, BLUE, data->ebuild, NORM); free(keywords); return; } @@ -612,7 +618,9 @@ void qcache_dropped(qcache_data *data) keywords = xmalloc(sizeof(*keywords) * archlist_count); if (read_keywords(data->cache_data->KEYWORDS, keywords) < 0) { - warn("Failed to read keywords for %s%s/%s%s%s", BOLD, data->category, BLUE, data->ebuild, NORM); + if (verbose) + warn("Failed to read keywords for %s%s/%s%s%s", + BOLD, data->category, BLUE, data->ebuild, NORM); free(keywords); return; } @@ -727,7 +735,9 @@ void qcache_stats(qcache_data *data) memset(keywords, 0, archlist_count * sizeof(*keywords)); if (read_keywords(data->cache_data->KEYWORDS, keywords) < 0) { - warn("Failed to read keywords for %s%s/%s%s%s", BOLD, data->category, BLUE, data->ebuild, NORM); + if (verbose) + warn("Failed to read keywords for %s%s/%s%s%s", + BOLD, data->category, BLUE, data->ebuild, NORM); return; } @@ -774,7 +784,9 @@ void qcache_testing_only(qcache_data *data) keywords = xmalloc(sizeof(*keywords) * archlist_count); if (read_keywords(data->cache_data->KEYWORDS, keywords) < 0) { - warn("Failed to read keywords for %s%s/%s%s%s", BOLD, data->category, BLUE, data->ebuild, NORM); + if (verbose) + warn("Failed to read keywords for %s%s/%s%s%s", + BOLD, data->category, BLUE, data->ebuild, NORM); free(keywords); return; }