Bug 630725

Summary: misleading subject on hermes digest emails
Product: [openSUSE] openSUSE.org Reporter: Bernhard Wiedemann <novellbmw>
Component: HermesAssignee: Klaas Freitag <klaas.freitag>
Status: RESOLVED FIXED QA Contact: Adrian Schröter <adrian.schroeter>
Severity: Major    
Priority: P5 - None    
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Bernhard Wiedemann 2010-08-12 13:03:08 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.8) Gecko/20100723 SUSE/3.6.8-1.3 Firefox/3.6.8

today I received a hermes digest message about two subjects, but the email subject contained only one subject and no hint that there were multiple messages.


Reproducible: Always

Steps to Reproduce:
1. configure Hermes to only send digests (e.g. daily)
2. subscribe to at least two topics
3. wait for two updates happening on the same day
Actual Results:  
The message subject only contains one of the updated items. e.g.
"[openFATE 308361] Offer remastered isos for released versions every N months"
additionally, the body contains a "--" separator after each message part, so that some mail user agents (e.g. thunderbird/seamonkey-mail) gray out everything below the first message. This can easily lead to users missing updates.

Expected Results:  
hermes should handle message digests in a similar way to common mailman/mlmmj mailing list digesting:
If there is more than one message, hermes should mention in subject and/or head of body text the number of digested messages.
The message header should also contain an index with titles and (if possible) links to the parts below.
And the "--" separator should not occur in the middle of the email.
example:
This hermes digest contains 2 messages:
1. [openFATE 310234] Show total update size in Yast2 package manager
2. [openFATE 308361] Offer remastered isos for released versions every N months

== 2010-08-11 23:15:59 =>

Feature changed by: Roberto Mannai (robermann79)
Feature #310234, revision 5
...

bug 590794 also mentions the same issue for build failures
Comment 1 Klaas Freitag 2010-11-24 14:23:07 UTC
Thanks for reporting and my apologize that I did not touch it for so long.

I changed the digest mail support and now a mail looks like follows:
The subject contains a digest marker, the number of messages and the
subject of the last message as example, like:
Subject: [digest PER_MINUTE] 10 msgs, eg. Hermes Check Notification

in the message, there is a TOC with numbering and timestamp like:
Digest TOC:
[ 1. 2010-11-24 13:14:28] Hermes Check Notification
[ 2. 2010-11-24 13:14:26] Hermes Check Notification
[ 3. 2010-11-24 13:14:26] Hermes Check Notification
[ 4. 2010-11-24 13:14:25] Hermes Check Notification
[ 5. 2010-11-24 13:14:25] Hermes Check Notification
[ 6. 2010-11-24 13:14:24] Hermes Check Notification
[ 7. 2010-11-24 13:14:23] Hermes Check Notification
[ 8. 2010-09-17 16:26:05] Hermes Check Notification
[ 9. 2010-09-17 16:26:03] Hermes Check Notification
[10. 2010-08-30 19:37:02] Hermes Check Notification

(note that the subjects are all equal in this example, usually thats not the case.)

Each detail information has an in-message-header like in the toc.

I hope this gives more structure and close this bug as fixed.
Comment 2 Klaas Freitag 2010-11-24 14:24:51 UTC
*** Bug 590794 has been marked as a duplicate of this bug. ***