Event triggers
-
Can I get automatic email to individuals within a defined group whenever changes are checked in?
Yes, this is done by using triggers, commands which run before or
after a repository level command.
In this case, you would want to set up a post-commit trigger.
That is, in the BitKeeper/triggers/post-commit directory you would
setup a shell script to send mail to those people you want to
notify.
Pre-triggers can be used to control events within a repository.
For more information, see bk helptool triggers.
But note that triggers are available only with the BK/Pro product.
-
How difficult is it to pass user-specified environment variables to the triggers? For example, I want to be able to pass the environment
variable MAILTO containing the email address of the user.
It's easy.
Use:
 |
bk pull -E/bk push -E
|
| |