1 |
commit: e8459cad26b49836b241d8bd98cfe2a6ef37e885 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jul 18 06:08:24 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jul 18 06:08:36 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/qa-scripts.git/commit/?id=e8459cad |
7 |
|
8 |
gen-dev-wot: Use local keyrings |
9 |
|
10 |
gen-dev-wot.sh | 13 +------------ |
11 |
1 file changed, 1 insertion(+), 12 deletions(-) |
12 |
|
13 |
diff --git a/gen-dev-wot.sh b/gen-dev-wot.sh |
14 |
index c5de46d..dda83a7 100755 |
15 |
--- a/gen-dev-wot.sh |
16 |
+++ b/gen-dev-wot.sh |
17 |
@@ -13,21 +13,10 @@ if ! type -P dot &>/dev/null; then |
18 |
echo "install graphviz"; exit 1 |
19 |
fi |
20 |
|
21 |
-export GNUPGHOME=$(mktemp -d --suffix=$(basename $0)) |
22 |
-cd $GNUPGHOME || exit 1 |
23 |
- |
24 |
-wget -q -O - http://www.gentoo.org/proj/en/devrel/roll-call/userinfo.xml | \ |
25 |
- egrep -o '0x([A-Z0-9]{8}){1,2}' > keys.txt |
26 |
- |
27 |
-# Looks like all the outgoing connections to port 11371 are blocked from scrubfowl |
28 |
-gpg -q --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys \ |
29 |
- `cat keys.txt` |
30 |
- |
31 |
-gpg -q --no-default-keyring --list-sigs | \ |
32 |
+gpg -q --keyring "${1}/active-devs.gpg" --list-sigs | \ |
33 |
/usr/bin/sig2dot -q -t "Gentoo Dev WoT" -s wot-stats.html \ |
34 |
> keys.dot |
35 |
|
36 |
dot -Gcharset=latin1 -Tpng keys.dot > "${1}/wot-graph.png" |
37 |
|
38 |
mv wot-stats.html "${1}" |
39 |
-rm -rf $GNUPGHOME |