Closed Bug 633000 Opened 13 years ago Closed 13 years ago

Implement Top Orange e-mail

Categories

(Tree Management Graveyard :: OrangeFactor, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jgriffin, Unassigned)

Details

Attachments

(4 files)

As per previous discussions, we'd like to create some kind of Top Oranges e-mail which describes the top X oranges and their impact on the tree, and distribute it on a regular basis, with the goal of improving visibility of OrangeFactor and the top random oranges.

One idea would be to send this every week (probably Monday a.m. prior to the project-wide status meeting) to dev-planning.  Other ideas include linking to this report from the weekly update wiki, or including with the engineering newsletter.

We could also consider including in this e-mail a list of random oranges that were fixed in the previous week, along with the person who fixed it.
Assignee: nobody → mcote
Status: NEW → ASSIGNED
Here we go.  Needs a conf file named woo_mailer.conf (didn't bother creating an option to define it) that looks like this:

[email]
username = ...
password = ...
dest = mcote@mozilla.com, jgriffin@mozilla.com

[woo]
local_server_url = http://localhost/orangefactor
external_server_url = http://brasstacks.mozilla.com/orangefactor
Attachment #513524 - Flags: review?(jgriffin)
Comment on attachment 513524 [details] [diff] [review]
Script to mail top-bugs report

Looks great!
Attachment #513524 - Flags: review?(jgriffin) → review+
Pushed as http://hg.mozilla.org/automation/orangefactor/rev/f70f86a0bef6
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Problem sending mail on brasstacks.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
This is a patch on top of the last patch that allows the sending of emails through regular, non-SSL SMTP.  Adds necessary options and makes 'password' now optional.
Attachment #513632 - Flags: review?(jgriffin)
Attachment #513632 - Flags: review?(jgriffin) → review+
Second patch pushed as http://hg.mozilla.org/automation/orangefactor/rev/99b24586dae9
Status: REOPENED → RESOLVED
Closed: 13 years ago13 years ago
Resolution: --- → FIXED
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attached patch More tweaksSplinter Review
A few more tweaks to the emails, as discussed.
Attachment #514320 - Flags: review?(jgriffin)
Attachment #514320 - Flags: review?(jgriffin) → review+
Comments from WOO demo in Toronto regarding emails:

- emails should go to dev-tree-management
- emails probably *shouldn't* go to dev-planning except in special circumstances (new orange, large increase/decrease in OF, etc.)
- put OF in subject line
- include last week's OF in body
- put indicator of increase/decrease in OF from last week in subject line (smiley or frowny)
I've just subscribed automation@mozilla.com to dev-tree-management.
Okay this patch takes care of everything in my last comment.  I also fixed a rounding error in the OF calculation.

I removed the 'test mode' that used cached data from files because it's more complicated now that we grab last week's data too, and I don't feel like making a more complicated caching system right now.  Getting the data has been pretty speedy lately anyway.

I did add a new -t/--test option that prints the email to the screen and doesn't send it.  While I was at it, I made the config file location configurable.
Attachment #515936 - Flags: review?(jgriffin)
Comment on attachment 515936 [details] [diff] [review]
Email improvements

Looks great, I like the smileys.
Attachment #515936 - Flags: review?(jgriffin) → review+
http://hg.mozilla.org/automation/orangefactor/rev/0466b1c974c8

I think that's it for now.  I'll resolve this, and new email issues can be raised as new bugs.
Status: REOPENED → RESOLVED
Closed: 13 years ago13 years ago
Resolution: --- → FIXED
Product: Testing → Tree Management
Product: Tree Management → Tree Management Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: