mail headers inconsistent between package and recipe builds
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Low
|
Colin Watson |
Bug Description
Mails sent by buildd doesn't contain the same headers depending on whether the build failed to build or to upload. This makes it harder to properly filter them (not such a big deal but it would be nice if the same informations were available in both mails):
FAILEDTOBUILD:
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-
X-Launchpad-PPA: bzr-proposed
X-Launchpad-
X-Launchpad-
X-Creator-
X-Launchpad-
Message-Id: <email address hidden>
Date: Thu, 17 Mar 2011 08:31:38 -0000
Reply-To: Launchpad Buildd System <email address hidden>
Sender: <email address hidden>
Errors-To: <email address hidden>
Precedence: bulk
X-Generated-By: Launchpad (canonical.com); Revision="12611"; Instance=
X-Launchpad-Hash: 7e4c991fab0ce87
Lines: 23
FAILEDTOUPLOAD (similar to FULLYBUILT !):
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-
X-Launchpad-
X-Launchpad-
X-Launchpad-
Message-Id: <email address hidden>
Date: Wed, 30 Mar 2011 23:47:14 -0000
Reply-To: <email address hidden>
Sender: <email address hidden>
Errors-To: <email address hidden>
Precedence: bulk
X-Generated-By: Launchpad (canonical.com); Revision="12684"; Instance=
X-Launchpad-Hash: 9023516e950cd91
Lines: 15
At least X-Launchpad-PPA and X-Launchpad-
Related branches
- William Grant (community): Approve (code)
-
Diff: 33 lines (+5/-0)2 files modifiedlib/lp/code/mail/sourcepackagerecipebuild.py (+1/-0)
lib/lp/code/mail/tests/test_sourcepackagerecipebuild.py (+4/-0)
Changed in launchpad: | |
status: | New → Triaged |
importance: | Undecided → Low |
summary: |
- mail headers inconsistent between FAILEDTOUPLOAD and FAILEDTOBUILD + mail headers inconsistent between package and recipe builds |
Changed in launchpad: | |
assignee: | nobody → Colin Watson (cjwatson) |
status: | Triaged → In Progress |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
This is mostly fixed now that BinaryPackageBuild uses BaseMailer. The remaining piece is that recipe build notifications should gain X-Launchpad-Archive with a reference to the build archive (similar to X-Launchpad-PPA, but not legacy).