From e90f2c4ff57a52920f44d534796dca7dc45597b7 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 13 Sep 2006 14:15:22 -0400 Subject: [PATCH] These bitKeeper changes will allow Windows to be used as a primary development platform. BitKeeper/etc/ignore: Exclude files created during the Windows build process. BitKeeper/triggers/post-commit: post-commit trigger writes emails to file in the BitKeeper/tmp directory before sending in case of failure. Now uses bk sendmail instead of hardcoded /usr/sbin/sendmail to send message. --- .bzrignore | 17 +++++++++++++++++ BitKeeper/triggers/post-commit | 12 +++++++++--- 2 files changed, 26 insertions(+), 3 deletions(-) diff --git a/.bzrignore b/.bzrignore index 68e8120fae0..12c56c69582 100644 --- a/.bzrignore +++ b/.bzrignore @@ -5,6 +5,7 @@ *.bbg *.bin *.core +*.cmake *.d *.da *.exe @@ -17,6 +18,7 @@ *.map *.o *.obj +*.old *.pch *.pdb *.reject @@ -25,11 +27,18 @@ *.so *.so.* *.spec +*.user +*.vcproj +*/debug/* +*/release/* +*/*.dir/* */*_pure_*warnings */.pure *~ .*.swp ./README.build-files +./CMakeCache.txt +./cmakecache.txt ./config.h ./copy_mysql_files.bat ./fix-project-files @@ -37,6 +46,9 @@ ./mysql.ncb ./mysql.sln ./mysql.suo +./MySql.ncb +./MySql.sln +./MySql.suo ./prepare .defs.mk .depend @@ -67,6 +79,7 @@ BitKeeper/tmp/bkr3sAHD BitKeeper/tmp/gone COPYING COPYING.LIB +CMakeFiles/* Docs/#manual.texi# Docs/INSTALL-BINARY Docs/Images/myaccess-odbc.txt @@ -1201,6 +1214,7 @@ support-files/MacOSX/postinstall support-files/MacOSX/preflight support-files/MacOSX/preinstall support-files/binary-configure +support-files/*.ini support-files/my-huge.cnf support-files/my-innodb-heavy-4G.cnf support-files/my-large.cnf @@ -1294,5 +1308,8 @@ vio/test-sslserver vio/viotest-ssl vio/viotest-sslconnect.cpp vio/viotest.cpp +win/configure.data +win/vs8cache.txt +win/vs71cache.txt zlib/*.ds? zlib/*.vcproj diff --git a/BitKeeper/triggers/post-commit b/BitKeeper/triggers/post-commit index 22d183eae3a..37bdfc93a4a 100755 --- a/BitKeeper/triggers/post-commit +++ b/BitKeeper/triggers/post-commit @@ -6,6 +6,7 @@ COMMITS=commits@lists.mysql.com DOCS=docs-commit@mysql.com LIMIT=10000 VERSION="5.0" +BKROOT=`bk root` if [ "$REAL_EMAIL" = "" ] then @@ -58,7 +59,9 @@ $BH EOF bk changes -v -r+ bk cset -r+ -d - ) | /usr/sbin/sendmail -t + ) > $BKROOT/BitKeeper/tmp/dev_public.txt + +bk sendmail -t < $BKROOT/BitKeeper/tmp/dev_public.txt #++ # commits@ mail @@ -82,7 +85,9 @@ see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html EOF bk changes -v -r+ bk cset -r+ -d - ) | head -n $LIMIT | /usr/sbin/sendmail -t + ) | bk sed -e ${LIMIT}q > $BKROOT/BitKeeper/tmp/commits.txt + +bk sendmail -t < $BKROOT/BitKeeper/tmp/commits.txt #++ # docs-commit@ mail @@ -102,7 +107,8 @@ Subject: bk commit - $VERSION tree (Manual) ($CHANGESET)$BS EOF bk changes -v -r+ bk cset -r+ -d - ) | /usr/sbin/sendmail -t + ) > $BKROOT/BitKeeper/tmp/docs.txt + bk sendmail -t < $BKROOT/BitKeeper/tmp/docs.txt fi else