[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [OSSTEST PATCH 1/3] cs-bisection-step: Generate an SVG graph too



This is going to let us provide a version with hyperlinks.

Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 cs-bisection-step |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/cs-bisection-step b/cs-bisection-step
index 7a97b10..bd5a27e 100755
--- a/cs-bisection-step
+++ b/cs-bisection-step
@@ -1026,7 +1026,7 @@ END
         or die "$!";
 
     if (eval {
-        foreach my $fmt (qw(ps png)) {
+        foreach my $fmt (qw(ps png svg)) {
             system_checked("dot", "-T$fmt", "-o$graphfile.$fmt",
                           "$graphfile.dot");
         }
@@ -1045,11 +1045,12 @@ END
 <h2>Revision graph overview</h2>
 <img src="$href.mini.png">
 <h2>Revision graph</h2>
+<a href="$href.svg">SVG</h2><br>
 <a href="$href.ps">PostScript</a><p>
 <img src="$href.png">
 </body></html>
 END
-        print STDERR "Revision graph left in $graphfile.{dot,ps,png,html}.\n";
+        print STDERR "Revision graph left in 
$graphfile.{dot,ps,png,html,svg}.\n";
     } else {
         my $emsg= encode_entities($@);
         print HTML <<END or die $!;
-- 
1.7.10.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.