Commit 73a1772c authored by unknown's avatar unknown

post-commit Added docs@ to get manual edits


BitKeeper/triggers/post-commit:
  Added docs@ to get manual edits
parent c0c639d6
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
TO=dev-public@mysql.com TO=dev-public@mysql.com
FROM=$USER@mysql.com FROM=$USER@mysql.com
INTERNALS=internals@lists.mysql.com INTERNALS=internals@lists.mysql.com
DOCS=docs@mysql.com
LIMIT=10000 LIMIT=10000
if [ "$REAL_EMAIL" = "" ] if [ "$REAL_EMAIL" = "" ]
...@@ -17,10 +18,14 @@ BK_STATUS=$BK_STATUS$BK_COMMIT ...@@ -17,10 +18,14 @@ BK_STATUS=$BK_STATUS$BK_COMMIT
if [ "$BK_STATUS" = OK ] if [ "$BK_STATUS" = OK ]
then then
#++
# dev-public@
#--
echo "Commit successful, notifying developers at $TO" echo "Commit successful, notifying developers at $TO"
( (
cat <<EOF cat <<EOF
List-ID: <bk.mysql> List-ID: <bk.mysql-4.0>
From: $FROM From: $FROM
To: $TO To: $TO
Subject: bk commit - 4.0 tree Subject: bk commit - 4.0 tree
...@@ -29,10 +34,14 @@ EOF ...@@ -29,10 +34,14 @@ EOF
bk changes -v -r+ bk changes -v -r+
bk cset -r+ -d bk cset -r+ -d
) | head -n $LIMIT | /usr/sbin/sendmail -t ) | head -n $LIMIT | /usr/sbin/sendmail -t
#++
# internals@ mail
#--
echo "Notifying internals list at $INTERNALS" echo "Notifying internals list at $INTERNALS"
( (
cat <<EOF cat <<EOF
List-ID: <bk.mysql> List-ID: <bk.mysql-4.0>
From: $FROM From: $FROM
To: $INTERNALS To: $INTERNALS
Subject: bk commit into 4.0 tree Subject: bk commit into 4.0 tree
...@@ -47,6 +56,27 @@ EOF ...@@ -47,6 +56,27 @@ EOF
bk changes -v -r+ bk changes -v -r+
bk cset -r+ -d bk cset -r+ -d
) | head -n $LIMIT | /usr/sbin/sendmail -t ) | head -n $LIMIT | /usr/sbin/sendmail -t
#++
# docs@ mail
#--
bk changes -v -r+ | grep -q Docs/manual.texi
if [ $? == 0 ]
then
echo "Notifying docs list at $DOCS"
(
cat <<EOF
List-ID: <bk.mysql-4.0>
From: $FROM
To: $DOCS
Subject: bk commit - 4.0 tree (Manual)
EOF
bk changes -v -r+
bk cset -r+ -d
) | head -n $LIMIT | /usr/sbin/sendmail -t
fi
else else
echo "commit failed because '$BK_STATUS', sorry life is hard..." echo "commit failed because '$BK_STATUS', sorry life is hard..."
fi fi
Markdown is supported
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