6d4f6a46c9cd80c99464371b6af457cf0c5c408c
[mirror-monitor.git] / bin / daily_git_commit_mail.sh
1 #!/bin/sh
2
3 # ensure we use a current perl
4 export PATH=/home/nm4/perl5/perlbrew/bin:/home/nm4/bin:$PATH
5
6 # git/bugzilla integration
7 flock  $0 /home/nm4/src/git-perl-utils/script/git-to-bugzilla.pl --config=/home/nm4/src/git-perl-utils/exim.yml
8 flock  $0 /home/nm4/src/git-perl-utils/script/git-to-bugzilla.pl --config=/home/nm4/src/git-perl-utils/exim-website.yml
9
10 #cd /home/dwmw2/git/linux-2.6
11 #git pull
12 #gitfeedmaillist.sh
13
14 export FROM="Exim Git Commits Mailing List <exim-git@exim.org>"
15 export SENDMAIL=/usr/sbin/exim
16 ##export MLIST=nigel.metheringham@dev.intechnology.co.uk
17
18 export GIT_DIR=/home/git/exim.git
19 export GIT_KEY=/home/nm4/.ssh/git_repo_sync
20 export GIT_SSH=/home/nm4/bin/gitssh.sh
21 git fetch --quiet github
22 git push --all github 2>&1 | fgrep -v 'Everything up-to-date'
23 export MAILTAG=/home/nm4/.git-mail-exim
24 export MLIST=exim-cvs@exim.org
25 export GITWEB=http://git.exim.org/exim.git
26 flock  $0 /home/services/misc-git-hacks/git-feed-mail-list.sh
27
28 export GIT_DIR=/home/git/exim-website.git
29 export MAILTAG=/home/nm4/.git-mail-exim-website
30 export MLIST=exim-cvs@exim.org
31 export GITWEB=http://git.exim.org/exim-website.git
32 flock  $0 /home/services/misc-git-hacks/git-feed-mail-list.sh