Skip to contentSkip to conversation

cs-bisection-step: Remove a bit of duplication

PATCH New Ian Jackson 1 participant 2 messages Jun 3, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 cs-bisection-step: Remove a bit of duplication

---
 cs-bisection-step |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
cs-bisection-step +1 -1
index 3172b57..d5f8cb8 100755
@@ -441,7 +441,7 @@ sub digraph_whole () {
 	    if (defined $url && length $url) {
 		push @treeinfos, {
 		    Name => $tree,
-		    Url => $latest_rmap->{$tree}{Url}
+		    Url => $url,
 		};
 	    } else {
 		print STDERR "(tree with no url: $tree)\n";
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 2/2 cri-args-hostlists, etc.: Send rumpuserxen reports to rumpkernel-builds

There is now a list, [email protected], for this kind of information relating to rumpuser-xen.

Provide a facility in cri-args-hostlists for start_email to look for $OSSTEST_EMAIL_HEADER--$branch.

Introduce two new files
daily-cron-email-real--rumpuserxen daily-cron-email-real-bisectcomplete--rumpuserxen
which override the general settings.

---
 cri-args-hostlists                                |    7 ++++++-
 daily-cron-email-real--rumpuserxen                |    3 +++
 daily-cron-email-real-bisectcomplete--rumpuserxen |    3 +++
 3 files changed, 12 insertions(+), 1 deletion(-)
 create mode 100644 daily-cron-email-real--rumpuserxen
 create mode 100644 daily-cron-email-real-bisectcomplete--rumpuserxen
cri-args-hostlists +6 -1
index 4f7ddf2..57958d3 100644
@@ -94,7 +94,12 @@ start_email () {
         # redirects stdout
 
 	exec >tmp/$flight.email
-	cat $OSSTEST_EMAIL_HEADER
+	branchemailheader=$OSSTEST_EMAIL_HEADER--$branch
+	if test -e $branchemailheader; then
+		cat $branchemailheader
+	else
+		cat $OSSTEST_EMAIL_HEADER
+	fi
 	echo "Message-ID: <[email protected]>"
 	printf 'Subject: %s' "${subject_prefix:-[$branch test] }"
 
daily-cron-email-real--rumpuserxen new file +3 -0
new file mode 100644
index 0000000..67c48bf
@@ -0,0 +1,3 @@
+To: [email protected],
+    [email protected]
+Cc: [email protected]
daily-cron-email-real-bisectcomplete--rumpuserxen new file +3 -0
new file mode 100644
index 0000000..67c48bf
@@ -0,0 +1,3 @@
+To: [email protected],
+    [email protected]
+Cc: [email protected]
Signature · 1 line
1.7.10.4