help-gnats
[Top][All Lists]
Advanced

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

Re: X-GNATS-Notify replacement


From: Mark D. Baushke
Subject: Re: X-GNATS-Notify replacement
Date: Sun, 28 Jul 2002 13:00:29 -0700

> From: Milan Zamazal <address@hidden>
> Date: 28 Jul 2002 19:37:06 +0200
> 
> >>>>> "AA" == Adrian Ashley <address@hidden> writes:
> 
>     AA> In February, support for X-GNATS-Notify was removed from
>     AA> Gnatsweb - for understandable reasons, given that gnatsd doesn't
>     AA> support it - but can anyone remember the plan for its
>     AA> replacement?  I recall (but can't find) a proposal for a new
>     AA> standard field in gnats-4.0.  Has anyone done this already?  
> 
> I don't think so. :-(

I was under the impression that one would create a notify-list field to
hold e-mail addresses and then ensure that it was added to the
to-addresses {} secion for the appropriate transition mail-format.
Something like the following:

#...
field "Notify-List" {
    description "A COMMA separated list of e-mail addresses to notify when this 
PR changes."
    text
    query-default inexact-regexp
}
#...
entries "initial-pr-notification" {
    from-address {
        "From:" | "From"
    }
    to-addresses {
        "Responsible"
        "Category[notify]"
        "Notify-List"
    }
    header {
          #...
    }
    body {
          #...
    }
}
#...
mail-format "initial-pr-notification-pending" {
    #...
    to-addresses {
        #...
        "Notify-List"
    }
    #...
}
#...

        Enjoy!
        -- Mark



reply via email to

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