Actions:
|
2012-08-29 06:17 AEST by Glen Starrett - The email integration does not send notifications on "edit" or "unedit", but it
does with "commit".
Setup users:
admin
lusera
luserb
lusera has watch on all.
Repository configured with notify_email pointing to a default template.
luserb runs several commands: edit, unedit, edit, commit. Only the Commit
notification is sent (note that commit_email is also active and sends a separate
email on commit as well).
Traces for each command attached:
>>>>>>
C:\Users\Glen Starrett\Documents\test\w7x64\junk-B>cvs -tttt edit -m "Editing as
user B" tst.doc > ed.txt 2>&1
C:\Users\Glen Starrett\Documents\test\w7x64\junk-B>cvs -tttt unedit -m "UNEditin
g as user B" tst.doc > uned.txt 2>&1
C:\Users\Glen Starrett\Documents\test\w7x64\junk-B>cvs -tttt edit -m "Editing as
user B" tst.doc > ed2.txt 2>&1
C:\Users\Glen Starrett\Documents\test\w7x64\junk-B>echo lkjaksdlj >> tst.doc &&
cvs -tttt ci -m "Commit as user B" tst.doc > ci.txt 2>&1
C:\Users\Glen Starrett\Documents\test\w7x64\junk-B>cvs ver
Client: Concurrent Versions System (CVSNT) 2.8.01 (Soolin) Build 4588 (client/se
rver)
Server: Concurrent Versions System (CVSNT) 2.8.01 (Soolin) Build 4588 (client/se
rver)
C:\Users\Glen Starrett\Documents\test\w7x64\junk-B>cvs watchers
? ci.txt
? ed.txt
? ed2.txt
? uned.txt
a.txt lusera edit unedit commit
b.txt lusera edit unedit commit
tst.doc lusera edit unedit commit
utilities/util1.cmd lusera edit unedit commit
<<<<<< |
|
2012-08-29 06:20 AEST by Glen Starrett - Created an attachment (id=2495)
Notify template used for tests
Contents of notify_email are as follows:
>>>>
# The "notify_email" file is used to control templates for emails sent
# when notifying users.
#
# The first entry on a line is a regular expression which is tested
# against the directory that the change is being made to, relative to the
# $CVSROOT. For the first match that is found, then the remainder of the
# line is the name of the file that contains the template.
#
# If the repository name does not match any of the regular expressions in this
# file, the "DEFAULT" line is used, if it is specified.
DEFAULT notify_template.txt
<<<<
|
|
2012-08-29 06:20 AEST by Glen Starrett - Created an attachment (id=2496)
Trace output from first edit command
|
|
2012-08-29 06:21 AEST by Glen Starrett - Created an attachment (id=2497)
Trace output from unedit command
|
|
2012-08-29 06:22 AEST by Glen Starrett - Created an attachment (id=2498)
Trace output from second edit command
|
|
2012-08-29 06:23 AEST by Glen Starrett - Created an attachment (id=2499)
Trace output from commit command
|