Merge lp:~abentley/launchpad/email-url-body into lp:launchpad
| Status: | Merged |
|---|---|
| Merged at revision: | 12119 |
| Proposed branch: | lp:~abentley/launchpad/email-url-body |
| Merge into: | lp:launchpad |
| Diff against target: |
272 lines (+79/-40) 5 files modified
lib/canonical/launchpad/emailtemplates/branch-merge-proposal-created.txt (+3/-1) lib/canonical/launchpad/emailtemplates/branch-merge-proposal-updated.txt (+3/-0) lib/canonical/launchpad/emailtemplates/review-requested.txt (+3/-0) lib/lp/code/doc/branch-merge-proposal-notifications.txt (+11/-4) lib/lp/code/mail/tests/test_branchmergeproposal.py (+59/-35) |
| To merge this branch: | bzr merge lp:~abentley/launchpad/email-url-body |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Brad Crittenden (community) | code | 2010-12-15 | Approve on 2010-12-17 |
|
Review via email:
|
|||
Commit Message
[r=bac][ui=none][bug=504080] Include merge proposal URL in email bodies.
Description of the Change
= Summary =
Fix bug #50480: Please put the URL to the merge proposal in the body of the
email.
== Proposed fix ==
Insert the phrase "For more details, see:\n$URL" in all merge proposal emails.
== Pre-implementation notes ==
None
== Implementation details ==
Much lint was fixed, and some tests were rewritten so that they would fit in
the 78-character limit. The worst was in test_nominateRe
where the only way to make the string respect the width limit was """\n""".
== Tests ==
bin/test -t mergeproposal -t merge-proposal
== Demo and Q/A ==
Create all kinds of emails:
1. create a proposal
2. change the values in a proposal
3. request a reviewer
4. make a comment
In all cases, the resulting email should say "For more details, see\n$URL".
= Launchpad lint =
(I don't think it makes sense to lint email templates...)
Checking for conflicts and issues in changed files.
Linting changed files:
lib/canonical
lib/canonical
lib/lp/
lib/lp/
lib/canonical
./lib/canonical
1: Line exceeds 78 characters.
6: Line has trailing whitespace.
./lib/canonical
1: Line exceeds 78 characters.
8: Line has trailing whitespace.
./lib/canonical
1: Line exceeds 78 characters.
7: Line has trailing whitespace.

Thanks for the bug fix and for the clean up Aaron. The branch looks good.