aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2012-12-11 22:54:47 +0000
committerJeremy Olexa <darkside@gentoo.org>2012-12-11 22:54:47 +0000
commitbc53f3c82f37f7940e17d22decf0eca978fb6e23 (patch)
treef9822aaa950817c4941813129c688518dd1e3304 /gen-dev-wot.sh
parentLearn about eapi5. (diff)
downloadqa-scripts-bc53f3c82f37f7940e17d22decf0eca978fb6e23.tar.gz
qa-scripts-bc53f3c82f37f7940e17d22decf0eca978fb6e23.tar.bz2
qa-scripts-bc53f3c82f37f7940e17d22decf0eca978fb6e23.zip
use dot instead of neato, small touchups
Signed-off-by: Jeremy Olexa <darkside@gentoo.org>
Diffstat (limited to 'gen-dev-wot.sh')
-rwxr-xr-xgen-dev-wot.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/gen-dev-wot.sh b/gen-dev-wot.sh
index 81e70b0..a82541b 100755
--- a/gen-dev-wot.sh
+++ b/gen-dev-wot.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-# intentionally quiet script
+# silence the script by '&> /dev/null'
if [[ -z "$1" ]]; then
echo "Usage: $0 </path/to/output/>"
@@ -20,13 +20,13 @@ wget -q -O - http://www.gentoo.org/proj/en/devrel/roll-call/userinfo.xml | \
egrep -o 0x[A-Z0-9]\{8\} > keys.txt
/usr/bin/gpg -q --keyserver hkp://pool.sks-keyservers.net --recv-keys \
- `cat keys.txt` &> /dev/null
+ `cat keys.txt`
-/usr/bin/gpg -q --export `cat keys.txt` > keys.gpg
+/usr/bin/gpg -q --no-default-keyring --list-sigs | \
+ /usr/bin/sig2dot -q -t "Gentoo Dev WoT" -s wot-stats.html \
+ > keys.dot
-/usr/bin/gpg -q --no-default-keyring --keyring ./keys.gpg --list-sigs | \
- /usr/bin/sig2dot -q -a -t "Gentoo Dev WoT" -s wot-stats.html 2> /dev/null | \
- /usr/bin/neato -Gcharset=latin1 -Tpng > "${1}/wot-graph.png"
+/usr/bin/dot -Gcharset=latin1 -Tpng keys.dot > "${1}/wot-graph.png"
mv wot-stats.html "${1}"
rm -rf $GNUPGHOME