[ << ] [ >> ]           [Top] [Contents] [Index] [ ? ]

Using Triggers

This chapter describes two ways to use triggers: for sending email about changes to an archive, and for keeping a revision library up to date (see Revision Tree Libraries).

Note: Notifiers are being revamped. This section is expected to be obsolete soon.


Sending Email Notices About Repository Changes

ArX provides four commands designed for use as triggers that send email about changes to a repository. (See ArX Triggers.) These are:

 
        arx mail-new-categories
        arx mail-new-branches
        arx mail-new-versions
        arx mail-new-revisions

You can create a triggers for sending email with a notify =rules.archives configuration rule such as this (here split over multiple lines to fit the printed page -- in practice, this rule would be on one line):

 
        joe.hacker--2002@gnu.org
                mail-new-categories:joe@gnu.org
                mail-new-branches:joe@gnu.org
                mail-new-versions:joe@gnu.org
                mail-new-revisions:joe@gnu.org


Updating a Revision Library

You can use triggers to keep a revision library automatically up-to-date with a rule like this:

 
        joe.hacker--2002@gnu.org
                noop:
                noop:
                noop:
                library-add:--ignore-extra-args


[ << ] [ >> ]           [Top] [Contents] [Index] [ ? ]

This document was generated by Walter Landry on April, 30 2003 using texi2html