if build.succeeded:
values['result'] = success(values['result'])
- msg = """Build of %(package)s v%(version)s in %(pocket)s %(result)s.
+ msg = """Build of %(package)s %(version)s in %(pocket)s %(result)s.
Branch %(pocket)s has been advanced to %(short_commit)s.
(Build %(build_id)s was submitted by %(principal)s at %(inserted_at)s.)""" % values
else:
values['result'] = failure(values['result'])
- msg = """Build of %(package)s v%(version)s in %(pocket)s %(result)s while %(failed_stage)s.
+ msg = """Build of %(package)s %(version)s in %(pocket)s %(result)s while %(failed_stage)s.
%(traceback)s
email = text.MIMEText(msg)
email['To'] = to % values
email['From'] = sender % values
- email['Subject'] = mail_config.get('subject', 'XVM build %(build_id)s has %(result)s') % values
+ email['Subject'] = mail_config.get('subject', 'XVM build %(result)s: %(package)s %(version)s in %(pocket)s') % values
common.captureOutput(['sendmail', '-t'], email.as_string(),
stdout=None, stderr=None)
+invirt-dev (0.1.4) unstable; urgency=low
+
+ * Make the default build notifications more useful.
+
+ -- Anders Kaseorg <andersk@mit.edu> Thu, 05 Aug 2010 00:46:52 -0400
+
invirt-dev (0.1.3) unstable; urgency=low
* Remove stray 'not' in builder.py