All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Jackson <ian.jackson@eu.citrix.com>
To: xen-devel@lists.xenproject.org
Cc: Ian Jackson <ian.jackson@eu.citrix.com>,
	Ian Campbell <ian.campbell@citrix.com>
Subject: [OSSTEST PATCH 1/3] cs-bisection-step: Generate an SVG graph too
Date: Fri, 23 Oct 2015 17:31:29 +0100	[thread overview]
Message-ID: <1445617891-25884-2-git-send-email-ian.jackson@eu.citrix.com> (raw)
In-Reply-To: <1445617891-25884-1-git-send-email-ian.jackson@eu.citrix.com>

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

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
---
 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

  reply	other threads:[~2015-10-23 16:31 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-23 16:31 [OSSTEST PATCH 0/3] cs-bisection-step: Linky linky revision graph Ian Jackson
2015-10-23 16:31 ` Ian Jackson [this message]
2015-10-23 16:31 ` [OSSTEST PATCH 2/3] cs-bisection-step: Make hyperlinks in SVG " Ian Jackson
2015-10-23 16:31 ` [OSSTEST PATCH 3/3] cs-bisection-step: Mark which revision(s) changed in each node Ian Jackson
2015-10-23 16:35 ` [OSSTEST PATCH 0/3] cs-bisection-step: Linky linky revision graph Ian Jackson
2015-10-23 16:41   ` Andrew Cooper
2015-10-23 16:46     ` Ian Jackson
2015-10-23 16:49       ` Andrew Cooper
2015-10-23 16:55         ` Ian Jackson
2015-11-02 10:41           ` Ian Campbell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1445617891-25884-2-git-send-email-ian.jackson@eu.citrix.com \
    --to=ian.jackson@eu.citrix.com \
    --cc=ian.campbell@citrix.com \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.