Comment 6 for bug 250820

Revision history for this message
Matt Zimmerman (mdz) wrote : Re: [Bug 250820] Re: -changes emails could be easier to read

On Wed, Aug 06, 2008 at 05:08:30PM -0000, Muharem Hrnjadovic wrote:
> Hello there!
>
> I have made the requested changes (to the code) to make the upload
> notification emails more readable.

Thanks!

> An example notification email would look as follows:
>
> ==============================================
>
> Subject: [ubuntu/hoary-security] bar 1.0-2 (Accepted)
> Body:
> -> changes file signed by: Foo Bar (<email address hidden>)
> -> component=universe, section=devel
>
> bar (1.0-2) breezy; urgency=low
>
> * A second upload to ensure that binary overrides of _all work
> * Also closes Launchpad bug #6
>
> -- Daniel Silverstone <email address hidden> Thu, 30 Mar
> 2006 01:36:14 +0100
>
> ==============================================

Staying close to the changelog format is a good idea, since developers are
already accustomed to scanning this visually.

> Please note:
>
> - the 'X-Launchpad-Component' header is set/sent as requested

Can you show us an example X-Launchpad-Component header?

> - only the most recent stanza from the 'Changes:' section is extracted and emailed

To the extent possible, the email should reflect all of the changes
represented by the upload. As such, I think the full Changes: section
should be included.

(in fact, it would be even more accurate to extract the relevant stanzas
from debian/changelog and display that!)

--
 - mdz