Back to the main page.
Bug 1944 - svn server started sending emails with "Subject: Output from your job 32 "
Status | CLOSED FIXED |
Reported | 2013-01-23 11:12:00 +0100 |
Modified | 2021-10-29 12:38:41 +0200 |
Product: | FieldTrip |
Component: | core |
Version: | unspecified |
Hardware: | PC |
Operating System: | Mac OS |
Importance: | P3 normal |
Assigned to: | Robert Oostenveld |
URL: | |
Tags: | |
Depends on: | |
Blocks: | |
See also: |
Robert Oostenveld - 2013-01-23 11:12:45 +0100
This happens since the TG upgraded the svn server operating system. Prior to that the OS was probably not configured to send emails. I tracked it down to one of the svn hooks, which has this at now << EOF $REPOS/hooks/post-commit-twitter $REPOS $REV $REPOS/hooks/post-commit-autosync $REPOS $REV $REPOS/hooks/post-commit-queue $REPOS $REV EOF It is the "at" command that sends the emails, just like "cron" usually sends emails.
Robert Oostenveld - 2013-01-23 11:16:06 +0100
the at manual (man at) does not show an option to prevent emails. So the only option is to make the commands silent. I changed it into at now << EOF $REPOS/hooks/post-commit-twitter $REPOS $REV > /dev/null 2>&1 $REPOS/hooks/post-commit-autosync $REPOS $REV > /dev/null 2>&1 $REPOS/hooks/post-commit-queue $REPOS $REV > /dev/null 2>&1 EOF We'll have to wait until the next commit to see whether this works.
Robert Oostenveld - 2020-09-01 15:50:28 +0200
This was resolved a long time ago. And since we switched to git and github, this won't apply any more.