Merge lp:~sinzui/launchpad/mailman-email-addresses into lp:launchpad
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | j.c.sackett on 2012-09-13 | ||||
| Approved revision: | no longer in the source branch. | ||||
| Merged at revision: | 15954 | ||||
| Proposed branch: | lp:~sinzui/launchpad/mailman-email-addresses | ||||
| Merge into: | lp:launchpad | ||||
| Diff against target: |
176 lines (+36/-87) 3 files modified
lib/lp/registry/doc/message-holds.txt (+0/-84) lib/lp/registry/model/mailinglist.py (+3/-3) lib/lp/registry/tests/test_mailinglist.py (+33/-0) |
||||
| To merge this branch: | bzr merge lp:~sinzui/launchpad/mailman-email-addresses | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| j.c.sackett (community) | 2012-09-13 | Approve on 2012-09-13 | |
|
Review via email:
|
|||
Commit Message
Send mailmain lowercased email addresses.
Description of the Change
This is triggering nagios alerts, as the current MARK delta alert is set
to 40 minutes. Mailman is configured to write write MARKs to the log every
5 minutes.
Mailman's xmlrpc runner log shows it spends more than 99% of its time
acquiring locks to mailing lists to write email address cases changes to
disk. The email address are lower-cased though, so the change is no-op.
-------
RULES
Pre-
* Lowercase the email addresses that are sent to mailman.
QA
* Review the staging mailman/xmlrc log or run
fgrep MARK /path/to/
* Verify the log does not show mix-case changes.
* After release and after logs mailman logs are sync to carob
review the tail of /srv/launchpad.
* verify the log does not show wasted work saving mixed-case email
addresses.
* Is MARK appearing closer to every 5 minutes?
LINT
lib/
lib/
lib/
TEST
./bin/test -vv -t TestMailinglistSet lp.registry.
LoC
This branch adds two tests, but removes "Posting privileges" section
from a doctest because the behaviour is test elsewhere in the doctest
and explicitly in:
TestMailing
IMPLEMENTATION
Lowercase the email address return by IMailingListSet getSenderAddres
and getSubscribedAd
lib/
lib/
Removed test that shows approving a held message add the use to
getSubscribedAd
lib/

Thanks.