Closed
Bug 707197
Opened 13 years ago
Closed 13 years ago
Send weekly OF reports to dev-tree-management newsgroup
Categories
(Tree Management Graveyard :: OrangeFactor, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mcote, Unassigned)
Details
Attachments
(1 file, 1 obsolete file)
5.52 KB,
patch
|
jgriffin
:
review+
|
Details | Diff | Splinter Review |
The weekly OF report only goes to the dev-tree-management mailing list and doesn't show up in the newsgroup. It should use NNTP to post directly to the group.
Assignee | ||
Comment 1•13 years ago
|
||
This adds NNTP support. You can now specify destination email addresses and/or newsgroups. I moved the username option into report/from so that it'll be used by both email and NNTP.
Attachment #585532 -
Flags: review?(jgriffin)
Assignee | ||
Comment 2•13 years ago
|
||
Oops, broke email there. Since technically the username for email (for authenticated email) may be different from the From header, I put the email/username option back in but made it optional.
Attachment #585532 -
Attachment is obsolete: true
Attachment #585532 -
Flags: review?(jgriffin)
Attachment #585542 -
Flags: review?(jgriffin)
Comment 3•13 years ago
|
||
Comment on attachment 585542 [details] [diff] [review] NNTP support Review of attachment 585542 [details] [diff] [review]: ----------------------------------------------------------------- Yay, newsgroup support! ::: woo_mailer.py @@ +127,5 @@ > try: > mail_username = cfg.get('email', 'username') > except (ConfigParser.NoSectionError, ConfigParser.NoOptionError): > + mail_username = None > + Possibly this should be: if mail_dest: sys.stderr.write('No "username" option defined in "email" section of file "%s".' % options.config_file) sys.exit(errno.EINVAL) else: mail_username = None Or are there cases where this could validly be None when sending e-mail?
Attachment #585542 -
Flags: review?(jgriffin) → review+
Assignee | ||
Comment 4•13 years ago
|
||
mail_username is (now) only used for email authentication, along with mail_password. Since brasstacks is behind a firewall, on the Mozilla network, the woo mailer has always been using plain SMTP. It was only using mail_username for the From: header, which I moved to another section to share it with the NNTP config. So yes, perfectly fine for it to be None now. :) Pushed as http://hg.mozilla.org/automation/orangefactor/rev/63cc26e54206 and deployed. Ran it immediately to send email and post to newsgroup, which worked perfectly. Remind me to check this next Tuesday. ;)
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment 5•13 years ago
|
||
Would you mind announcing this on dev.platform please? :-)
Assignee | ||
Comment 6•13 years ago
|
||
Done! :)
Updated•10 years ago
|
Product: Testing → Tree Management
Updated•4 years ago
|
Product: Tree Management → Tree Management Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•