Disable mirrors down for long periods
[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 git push --tags github 2>&1 | fgrep -v 'Everything up-to-date'
24 export MAILTAG=/home/nm4/.git-mail-exim
25 export MLIST=exim-cvs@exim.org
26 export GITWEB=http://git.exim.org/exim.git
27 flock  $0 /home/services/misc-git-hacks/git-feed-mail-list.sh
28
29 export GIT_DIR=/home/git/exim-website.git
30 export MAILTAG=/home/nm4/.git-mail-exim-website
31 export MLIST=exim-cvs@exim.org
32 export GITWEB=http://git.exim.org/exim-website.git
33 flock  $0 /home/services/misc-git-hacks/git-feed-mail-list.sh