commit:     2cec249e662330411aed8fe748264af48cea5c67
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 18 10:45:51 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jul 18 10:45:51 2018 +0000
URL:        https://gitweb.gentoo.org/proj/qa-scripts.git/commit/?id=2cec249e

Convert dev WoT to .svg

 gen-dev-wot.sh    | 2 +-
 htdocs/index.html | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gen-dev-wot.sh b/gen-dev-wot.sh
index 64b0067..d15f461 100755
--- a/gen-dev-wot.sh
+++ b/gen-dev-wot.sh
@@ -17,6 +17,6 @@ gpg -q --keyid-format=long --keyring "${1}/active-devs.gpg" 
--list-sigs | \
        /usr/bin/sig2dot -q -t "Gentoo Dev WoT" -s wot-stats.html \
        > keys.dot
 
-dot -Gcharset=latin1 -Tpng keys.dot > "${1}/wot-graph.png"
+dot -Gcharset=latin1 -Tsvg keys.dot > "${1}/wot-graph.svg"
 
 mv wot-stats.html "${1}"

diff --git a/htdocs/index.html b/htdocs/index.html
index 2cdd6c4..98140c6 100644
--- a/htdocs/index.html
+++ b/htdocs/index.html
@@ -85,7 +85,7 @@
 
               <h3>Misc</h3>
               <div class="list-group">
-                <a href="/output/wot-graph.png" class="list-group-item">Gentoo 
Dev Web of Trust (WoT)</a>
+                <a href="/output/wot-graph.svg" class="list-group-item">Gentoo 
Dev Web of Trust (WoT)</a>
                 <a href="/output/wot-stats.html" class="list-group-item">WoT 
Node Stats</a>
                 <a href="/output/maintainer-needed.html" 
class="list-group-item">&quot;Maintainer Needed&quot; Packages</a>
                 <a href="/output/dev-timeline.html" 
class="list-group-item">Developer commit timeline</a>

Reply via email to