bug-gnats
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnats/360: need the ability to cc individuals on PR via email


From: Dirk Bergstrom
Subject: Re: gnats/360: need the ability to cc individuals on PR via email
Date: Tue, 19 Mar 2002 15:14:48 -0800
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.9) Gecko/20020311

to solve this problem, i added a field right after "number" called
Notify-List, and then added that field to all the mail-format to: lists,
and to the initial-entry list.

like so:

field "Notify-List" {
    description "A COMMA separated list of addresses to notify when this
PR changes."
    text
    query-default inexact-regexp
}

....

mail-format "initial-pr-notification" {
    # Who the mail is from.
    from-address {
        "From:" | "From"
    }

    # We send mail to the responsible person, the addresses listed in
    # the contact and notify fields of the submitter adm file entry for
    # the Submitter-Id, and the notify person listed in the category
    # adm file.
    to-addresses {
        "Responsible"
        "Submitter-Id[contact]"
        "Submitter-Id[notify]"
        "Category[notify]"

>>>

"Notify-List"
    }

i also hacked send-pr and removed x-gnats-notify from the header
template.  this seems to work fairly well.
-- 
Dirk Bergstrom                   dirk@juniper.net
Computer Geek                     v: 707.433.0564
Juniper Networks Inc.             f: 707.433.0769

"it *looks* like a nail; lemme grab my hammer..."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]