Project

General

Profile

Notification » History » Version 1

Marc Mengel, 02/05/2014 10:50 AM

1 1 Marc Mengel
h1. Notification
2 1 Marc Mengel
3 1 Marc Mengel
h2. New issues notification
4 1 Marc Mengel
5 1 Marc Mengel
For new issues, there is a "Newissuealerts"  plugin installed, you can turn it on in your Settings/Modules box for your project, and then use the Settings/"Email on New Issue" page to configure email addresses to get notified of new issues.
6 1 Marc Mengel
7 1 Marc Mengel
h2. Commit/push messages
8 1 Marc Mengel
9 1 Marc Mengel
For commit/push messages, you need to update the hooks directory in the repositories, by ssh-ing into the p-project@cdcvs.fnal.gov account
10 1 Marc Mengel
and editing it (you need to be a Manager on the project, and be using Kerberos authentication to do this).
11 1 Marc Mengel
12 1 Marc Mengel
We do have some scripts that will use the RepositoryMailinglists field on yor Settings/Information page; or you can roll your own, there is an executable
13 1 Marc Mengel
  @/usr/local/bin/get_rm_ml@  @projectname@
14 1 Marc Mengel
which will pull that text for you to use in your scripts.
15 1 Marc Mengel
16 1 Marc Mengel
I've been planning at some point to do a Grand Unified notification script
17 1 Marc Mengel
that would handle CVS, Git and Subversion notifications; but it's been
18 1 Marc Mengel
idling on a back burner for some time.
19 1 Marc Mengel
20 1 Marc Mengel
for Git, we also have several flavors of @git_commit_notifier@ lying around one which pulls the malinglist config stuff out of the repository, and the other which uses the get_rm_ml business.  You can make a symlink
21 1 Marc Mengel
 @post-receive -> /fnal/ups/db/fnal_git_notifier/current/scripts/fnal-git-notify-redmine@
22 1 Marc Mengel
for the git_commit_notifier that gets the mailinglist text block into its configuration, or  you can put in 
23 1 Marc Mengel
 @post-receive -> /fnal/ups/db/fnal_git_notifier/current/scripts/fnal-git-notify-redmine@
24 1 Marc Mengel
for the one that gets things from the repository.
25 1 Marc Mengel
26 1 Marc Mengel
For SVN we have /usr/local/bin/commit-email.pl which some people like for
27 1 Marc Mengel
sending fancy commit messages.