proposing 2 changes in the email subject

Hussayn Dabbous <[email protected]> Fri, 29 May 2009 01:49:06 -0700 (PDT)
Newsgroups gmane.comp.java.scarab.user
Message-ID <[email protected]>
hi;

currently the email subject looks like this:

[<module>] Issue #<local_id> (<status_change>) <default_text>

module: module name in uppercase
local_id: issue ID
status_change: empty, if the status has not changed, otherwise new status
default_text: 

i propose following changes:

1.) remove the String "Issue" (example see below)
2.) make the "status_change" field more complex:

if (status has changed)
       value of new status
elseif single change
{
    if (comment added)
       "new comment"
    else if (new attachment)
       "attachment"
    else if (personell change)
       "personell change"
    else if (relation change)
       "relation change"
    else 
       "attribute change"
}
else
{
    "multiple changes"
}

examples:
Let's say a new comment was added to an issue, then the email subject might
look like this:

    old: [SCARAB] Issue #2345 () proposing 2 changes in the email subject
    new: [SCARAB] #2345 (comment added) proposing 2 changes in the email
subject

when multiple changes occur:

    old: [SCARAB] Issue #2345 () proposing 2 changes in the email subject
    new: [SCARAB] #2345 (multiple changes) proposing 2 changes in the email
subject

when status changed to "closed" plus some comments have been added:

    old: [SCARAB] Issue #2345 (closed) proposing 2 changes in the email
subject
    new: [SCARAB] #2345 (closed) proposing 2 changes in the email subject

-- 
View this message in context: http://www.nabble.com/proposing-2-changes-in-the-email-subject-tp23776443p23776443.html
Sent from the Scarab - User mailing list archive at Nabble.com.

------------------------------------------------------
http://scarab.tigris.org/ds/viewMessage.do?dsForumId=456&dsMessageId=2356692

To unsubscribe from this discussion, e-mail: [[email protected]].