From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Q395Z-0000NQ-MW for garchives@archives.gentoo.org; Fri, 25 Mar 2011 15:38:13 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 93FD2E0525; Fri, 25 Mar 2011 15:38:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 536391C006 for ; Fri, 25 Mar 2011 15:38:05 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 95F741B41AB for ; Fri, 25 Mar 2011 15:38:04 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id C0FC68006A for ; Fri, 25 Mar 2011 15:38:03 +0000 (UTC) From: "Jeremy Olexa" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeremy Olexa" Message-ID: <6f0c93d1067b2b2be2fad801faa8ebe8e77c9daf.darkside@gentoo> Subject: [gentoo-commits] proj/qa-scripts:master commit in: / X-VCS-Repository: proj/qa-scripts X-VCS-Files: eapi_usage.sh X-VCS-Directories: / X-VCS-Committer: darkside X-VCS-Committer-Name: Jeremy Olexa X-VCS-Revision: 6f0c93d1067b2b2be2fad801faa8ebe8e77c9daf Date: Fri, 25 Mar 2011 15:38:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: a3f2640e5292af6e56f6d0446c248908 commit: 6f0c93d1067b2b2be2fad801faa8ebe8e77c9daf Author: Jeremy Olexa gentoo org> AuthorDate: Fri Mar 25 15:32:44 2011 +0000 Commit: Jeremy Olexa gentoo org> CommitDate: Fri Mar 25 15:32:44 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/qa-scripts.gi= t;a=3Dcommit;h=3D6f0c93d1 Add simple 'script' to report EAPI usage Kinda boring at this time because it just runs one command, maybe someone will make it better? --- eapi_usage.sh | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/eapi_usage.sh b/eapi_usage.sh new file mode 100755 index 0000000..9fc466a --- /dev/null +++ b/eapi_usage.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +# Boring 'script' that just uses pkgcore's pinspect command. Someday it = would be +# nice to graph this output, or maybe keep some running history? + +[[ $(type pinspect 2> /dev/null) ]] || exit 1 + +time pinspect eapi_usage /usr/portage +echo +echo "Date generated: $(date)"