xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Ian Campbell <ian.campbell@citrix.com>
To: ian.jackson@eu.citrix.com, xen-devel@lists.xen.org
Cc: Ian Campbell <ian.campbell@citrix.com>
Subject: [PATCH OSSTEST v5 2/2] ms-queuedaemon: Call ms-flights-summary upon completed plan/projection
Date: Fri, 2 Oct 2015 12:24:26 +0100	[thread overview]
Message-ID: <1443785066-5210-2-git-send-email-ian.campbell@citrix.com> (raw)
In-Reply-To: <1443785066-5210-1-git-send-email-ian.campbell@citrix.com>

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
---
 ms-queuedaemon | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/ms-queuedaemon b/ms-queuedaemon
index 9c7645d..6ae9677 100755
--- a/ms-queuedaemon
+++ b/ms-queuedaemon
@@ -310,7 +310,20 @@ proc report-plan {w wo} {
 }
 
 proc report-projection {w} {
+    global c
+
     report-plan $w projection
+
+    # report-plan will have ensured data-projection.final.pl is up to
+    # date
+
+    catching-internally "producing summary" {
+	set proj "data-projection.final.pl"
+	set outputfile "$c(WebspaceFile)/summary.html"
+	exec ./ms-flights-summary $proj > $outputfile
+    } {
+	log "$w report-projection OK"
+    }
 }
 
 proc we-are-thinking {chan} {
-- 
2.5.3

  reply	other threads:[~2015-10-02 11:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-02 11:24 [PATCH OSSTEST v5 1/2] ms-flights-summary: Produce an HTML report of all active flights Ian Campbell
2015-10-02 11:24 ` Ian Campbell [this message]
2015-10-05 10:20 ` Ian Jackson

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=1443785066-5210-2-git-send-email-ian.campbell@citrix.com \
    --to=ian.campbell@citrix.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=xen-devel@lists.xen.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).