[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [repo-management] bin: Redirect repo status mails to sysadmin-systems
From:       Jeff Mitchell <mitchell () kde ! org>
Date:       2013-04-02 19:17:54
Message-ID: 20130402191754.D4A9AA6059 () git ! kde ! org
[Download RAW message or body]

Git commit d34a929748a2c2c3703349a9dbb23b8f7a36c3b1 by Jeff Mitchell.
Committed on 02/04/2013 at 21:17.
Pushed by mitchell into branch 'master'.

Redirect repo status mails to sysadmin-systems

M  +3    -3    bin/anongit/update_repo_mirrors.sh
M  +1    -1    bin/generate_project_list.sh

http://commits.kde.org/repo-management/d34a929748a2c2c3703349a9dbb23b8f7a36c3b1

diff --git a/bin/anongit/update_repo_mirrors.sh b/bin/anongit/update_repo_mirrors.sh
index 554dc41..e5ec8d0 100755
--- a/bin/anongit/update_repo_mirrors.sh
+++ b/bin/anongit/update_repo_mirrors.sh
@@ -12,7 +12,7 @@ hostname=$(cat /home/git/thisanongithost)
 ~/repo-management/bin/verify_new_projects_list.pl ~/projects-to-anongit.list \
~/projects-to-anongit.list.new  if [ $? -ne 0 ]
 then
-  echo "Projects list file may have changed too much; not replacing current list and \
not continuing" | mail -r "sysadmin@kde.org" -s "ERROR: projects.list problem on \
$hostname" sysadmin@kde.org +  echo "Projects list file may have changed too much; \
not replacing current list and not continuing" | mail -r "sysadmin-systems@kde.org" \
-s "ERROR: projects.list problem on $hostname" sysadmin-systems@kde.org  rm \
/tmp/update_repo.txt  exit 1
 fi
@@ -31,7 +31,7 @@ if [ -s ~/diffout ]
         suffix=$(mktemp -u XXXXXXX)
         newpath="/deleted-repos/$(date +%Y-%m-%d)_$(basename $line)_$suffix"
         mv $line $newpath
-        echo "Repository $line moved to $newpath on $hostname" | mail -r \
"sysadmin@kde.org" -s "REPO DELETION: $line" sysadmin@kde.org +        echo \
"Repository $line moved to $newpath on $hostname" | mail -r \
"sysadmin-systems@kde.org" -s "REPO DELETION: $line" sysadmin-systems@kde.org  done
 fi
 rm ~/diffout
@@ -62,7 +62,7 @@ for line in `cat ~/projects-to-anongit.list`; do
         git config transfer.fsckObjects true
         if [ $? -ne 0 ]
           then
-            echo "Fresh mirror clone of git://git.kde.org/$line failed git fsck, not \
following through with rest of update" | mail -r "sysadmin@kde.org" -s "WARNING: git \
fsck problem on $hostname" sysadmin@kde.org +            echo "Fresh mirror clone of \
git://git.kde.org/$line failed git fsck, not following through with rest of update" | \
mail -r "sysadmin-systems@kde.org" -s "WARNING: git fsck problem on $hostname" \
sysadmin-systems@kde.org  rm /tmp/update_repo.txt
             exit 1
         fi
diff --git a/bin/generate_project_list.sh b/bin/generate_project_list.sh
index 1edef3f..86e18c2 100755
--- a/bin/generate_project_list.sh
+++ b/bin/generate_project_list.sh
@@ -4,7 +4,7 @@
 
 if [ $? -ne 0 ]
 then
-  echo "Projects list file may have changed too much; not replacing current list" | \
mail -r "sysadmin@kde.org" -s "ERROR: projects.list problem on git.kde.org" \
sysadmin@kde.org +  echo "Projects list file may have changed too much; not replacing \
current list" | mail -r "sysadmin-systems@kde.org" -s "ERROR: projects.list problem \
on git.kde.org" sysadmin-systems@kde.org  exit 1
 fi
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic