Commit c4e02c77 authored by SBassett's avatar SBassett
Browse files

UserTracker and GitMonitor

* Updated UserTracker README to reflect correct tool title
* Updated GitMonitor sendmail command with to/from in body for
more reliable delivery

Change-Id: I8bd10f0a6d6419631f1a9cde939f0a5e7c579801
parent 5f3d4b73
......@@ -75,10 +75,10 @@ if [[ -n "$report_body" ]]; then
from=${script_name##*/}"@"$(hostname -A)
subject="Interesting git activity in: ${GM_REPO_URL#*://*/*/}"
if [[ -n "$GM_DEBUG" ]]; then
printf "Subject: $subject\n\n$report_body | $GM_SENDMAIL -f \
$from $GM_MAIL_TO\n"
printf "To:$GM_MAIL_TO\nFrom:$from\nSubject: $subject\n\n$report_body \
| $GM_SENDMAIL -t"
else
printf "Subject: $subject\n\n$report_body" | $GM_SENDMAIL -f \
$from $GM_MAIL_TO
printf "To:$GM_MAIL_TO\nFrom:$from\nSubject: $subject\n\n$report_body" \
| $GM_SENDMAIL -t
fi
fi
# GitMonitor.sh
# UserTracker
Python tooling to monitor certain activities within Gerrit and Phabricator. See ```./bin/GerritTracker -h``` or ```./bin/PhabricatorTracker -h``` for command-line arguments.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment