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 6E6A61381F3 for ; Wed, 28 Nov 2012 12:15:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3C44621C055; Wed, 28 Nov 2012 12:15:24 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BD9D221C055 for ; Wed, 28 Nov 2012 12:15:23 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CBE0C33D931 for ; Wed, 28 Nov 2012 12:15:22 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id CD18DE5436 for ; Wed, 28 Nov 2012 12:15:19 +0000 (UTC) From: "Jeremy Olexa" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeremy Olexa" Message-ID: <1354062382.9e65527ce1c23d922c217657a7f63c19d85d4809.darkside@gentoo> Subject: [gentoo-commits] proj/qa-scripts:master commit in: / X-VCS-Repository: proj/qa-scripts X-VCS-Files: README gen-dev-wot.sh X-VCS-Directories: / X-VCS-Committer: darkside X-VCS-Committer-Name: Jeremy Olexa X-VCS-Revision: 9e65527ce1c23d922c217657a7f63c19d85d4809 X-VCS-Branch: master Date: Wed, 28 Nov 2012 12:15:19 +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: a83f79d7-1325-4abf-aee8-ad1b46ebf756 X-Archives-Hash: 5b79b7158e1355ae526918fd2b8c8704 commit: 9e65527ce1c23d922c217657a7f63c19d85d4809 Author: Jeremy Olexa gentoo org> AuthorDate: Wed Nov 28 00:26:22 2012 +0000 Commit: Jeremy Olexa gentoo org> CommitDate: Wed Nov 28 00:26:22 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/qa-scripts.git;a=commit;h=9e65527c add new gen-dev-wot.sh Signed-off-by: Jeremy Olexa gentoo.org> --- README | 3 ++- gen-dev-wot.sh | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 1 deletions(-) diff --git a/README b/README index 28f3861..f6f91f9 100644 --- a/README +++ b/README @@ -23,7 +23,7 @@ Important details: Current runtimes: ================ -(As of 2011-06-14) +(As of 201-11-28) - emerge --sync: hourly. Assume PORTDIR=/usr/portage (may change in future) - check_eclasses_eapis.sh: 4x daily @@ -33,3 +33,4 @@ Current runtimes: - genrdeps, run-genrdeps-index.sh: hourly - mask_check.py: daily - packages-inheriting-eclasses.py: daily +- gen-dev-wot.sh: weekly diff --git a/gen-dev-wot.sh b/gen-dev-wot.sh new file mode 100755 index 0000000..6ded25e --- /dev/null +++ b/gen-dev-wot.sh @@ -0,0 +1,32 @@ +#!/bin/bash + +# intentionally quiet script + +if [[ -z "$1" ]]; then + echo "Usage: $0 " + exit 1 +fi +if [[ ! -e /usr/bin/sig2dot ]]; then + echo "install signing-party"; exit 1 +fi +if [[ ! -e /usr/bin/neato ]]; then + echo "install graphviz"; exit 1 +fi + +export GNUPGHOME=$(mktemp -d --suffix=$(basename $0)) +cd $GNUPGHOME || exit 1 + +wget -q -O - http://www.gentoo.org/proj/en/devrel/roll-call/userinfo.xml | \ + egrep -o 0x[A-Z0-9]\{8\} | egrep [A-Z0-9]\{8\} > keys.txt + +/usr/bin/gpg -q --keyserver hkp://pool.sks-keyservers.net --recv-keys \ + `cat keys.txt` &> /dev/null + +/usr/bin/gpg -q --export `cat keys.txt` > keys.gpg + +/usr/bin/gpg -q --no-default-keyring --keyring ./keys.gpg --list-sigs | \ + /usr/bin/sig2dot -q -a -t "Gentoo Dev WoT" -s stats.html 2> /dev/null | \ + /usr/bin/neato -Gcharset=latin1 -Tpng > "${1}/graph.png" + +mv stats.html "${1}" +rm -rf $GNUPGHOME