Merge lp:~abentley/launchpad/notify-merge into lp:launchpad
Proposed by
Aaron Bentley
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Brad Crittenden | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | not available | ||||
Proposed branch: | lp:~abentley/launchpad/notify-merge | ||||
Merge into: | lp:launchpad | ||||
Diff against target: | None lines | ||||
To merge this branch: | bzr merge lp:~abentley/launchpad/notify-merge | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Brad Crittenden (community) | Approve | ||
Review via email: mp+9847@code.launchpad.net |
To post a comment you must log in.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
= Summary =
fix bug #382527 by sending our normal kind of modification email.
== Proposed fix == Principal, like
emit an ObjectModified event when a BMP is marked as merged. Allow BMP
emails to be sent when event.user is an Unauthenticated
when scripts run.
== Pre-implementation notes ==
Discussed with thumper and flacoste
== Implementation details == canonical. noreply_ from_address when it is.
Until now, we've always used from_user to generate the from_address.
Now, we allow from_user to be None, and use
config.
We provide from_user=None when event.user is an Unauthenticated Principal.
== Tests == salMergeDetecte d
bin/test -t TestNotifyModified -t test_mergePropo
== Demo and Q/A ==
Push up source and target branches. Propose a merge. Perform a merge
of source into target. Push target. You should get an email that the
proposal was merged.
= Launchpad lint =
The ILaunchpadCeleb rities import is fixed in another branch.
The too-long line is hard to fix, because it is a test name.
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files: codehosting/ scanner/ tests/test_ mergedetection. py code/interfaces /branchmergepro posal.py code/model/ tests/test_ branchmergeprop osals.py code/mail/ branchmergeprop osal.py codehosting/ scanner/ mergedetection. py
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
== Pyflakes notices ==
lib/lp/ code/model/ tests/test_ branchmergeprop osals.py brities' imported but unused
26: 'ILaunchpadCele
== Pylint notices ==
lib/lp/ codehosting/ scanner/ tests/test_ mergedetection. py
107: [C0301] Line too long (79/78)
lib/lp/ code/model/ tests/test_ branchmergeprop osals.py rities enigmail. mozdev. org
26: [W0611] Unused import ILaunchpadCeleb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAkp 8hhsACgkQ0F+ nu1YWqI2MygCfaF /90QfTcLHiGBDQ3 MaCd7Uj 304ZO6Dyk9ALLQP SW
Q3wAn0J4PjWp9KE
=tfl8
-----END PGP SIGNATURE-----