[sysadmin-bin] Revert "Call the fetch-username function and populate log-push accordingly"



commit 959b8c623fa4956db1f1317933fff83ed6b92214
Author: Andrea Veri <averi redhat com>
Date:   Fri Nov 10 15:46:45 2017 +0100

    Revert "Call the fetch-username function and populate log-push accordingly"
    
    This reverts commit 7e43f84ac2cd1ae8ddf34bbbd45101c777b7bae3.

 git/log-push |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/git/log-push b/git/log-push
index c6c6412..5a539bb 100755
--- a/git/log-push
+++ b/git/log-push
@@ -14,11 +14,7 @@ fi
 
 LOG_FILE="$GIT_DIR/gnome_pushlog"
 
-if [ $(hostname) == 'gitlab.gnome.org' ]; then
-    user=`sudo /home/admin/bin/gitlab/fetch-username.py`
-else
-    user=$(whoami)
-fi
+user=$(whoami)
 # RFC 822 date with a fixed UTC timezone (Thu, 05 Feb 2009 19:25:44 +0000)
 date=$(TZ=UTC date -R)
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]