From: Moritz Orbach Date: Thu, 6 Oct 2022 17:34:40 +0000 (+0000) Subject: daily_git_commit_mail.sh -> git_commit_mail.sh – it's called every hour X-Git-Url: https://git.exim.org/mirror-monitor.git/commitdiff_plain/fde894eb91610b40821a05d5548049e50413b372?ds=sidebyside daily_git_commit_mail.sh -> git_commit_mail.sh – it's called every hour --- diff --git a/bin/daily_git_commit_mail.sh b/bin/daily_git_commit_mail.sh deleted file mode 100755 index 90f9fdd..0000000 --- a/bin/daily_git_commit_mail.sh +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/sh - -export PATH=/home/nm4/bin:$PATH - -# -# merge exim.org/github repos -# -export GIT_DIR=/home/git/exim.git -export GIT_KEY=/home/nm4/.ssh/git_repo_sync -export GIT_SSH=/home/nm4/bin/gitssh.sh -git fetch --quiet github -git push --all --force github 2>&1 | fgrep -v 'Everything up-to-date' -git push --tags github 2>&1 | fgrep -v 'Everything up-to-date' - -# -# base config for mailing -# -export FROM="Exim Git Commits Mailing List " -export SENDMAIL=/usr/sbin/exim - -# -# Mail out updates for exim git -# -export MAILTAG=/home/nm4/.git-mail-exim -export MLIST=exim-cvs@exim.org -export GITWEB=https://git.exim.org/exim.git -flock $0 /home/services/misc-git-hacks/git-feed-mail-list.sh - -# -# Mail out updates for exim website git -# -export GIT_DIR=/home/git/exim-website.git -export MAILTAG=/home/nm4/.git-mail-exim-website -export MLIST=exim-cvs@exim.org -export GITWEB=https://git.exim.org/exim-website.git -flock $0 /home/services/misc-git-hacks/git-feed-mail-list.sh - -# end diff --git a/bin/git_commit_mail.sh b/bin/git_commit_mail.sh new file mode 100755 index 0000000..90f9fdd --- /dev/null +++ b/bin/git_commit_mail.sh @@ -0,0 +1,38 @@ +#!/bin/sh + +export PATH=/home/nm4/bin:$PATH + +# +# merge exim.org/github repos +# +export GIT_DIR=/home/git/exim.git +export GIT_KEY=/home/nm4/.ssh/git_repo_sync +export GIT_SSH=/home/nm4/bin/gitssh.sh +git fetch --quiet github +git push --all --force github 2>&1 | fgrep -v 'Everything up-to-date' +git push --tags github 2>&1 | fgrep -v 'Everything up-to-date' + +# +# base config for mailing +# +export FROM="Exim Git Commits Mailing List " +export SENDMAIL=/usr/sbin/exim + +# +# Mail out updates for exim git +# +export MAILTAG=/home/nm4/.git-mail-exim +export MLIST=exim-cvs@exim.org +export GITWEB=https://git.exim.org/exim.git +flock $0 /home/services/misc-git-hacks/git-feed-mail-list.sh + +# +# Mail out updates for exim website git +# +export GIT_DIR=/home/git/exim-website.git +export MAILTAG=/home/nm4/.git-mail-exim-website +export MLIST=exim-cvs@exim.org +export GITWEB=https://git.exim.org/exim-website.git +flock $0 /home/services/misc-git-hacks/git-feed-mail-list.sh + +# end