[sysadmin-bin] Revert "Make good use of the GL_USERNAME environment variable (https://gitlab.com/gitlab-org/gitlab-
- From: Andrea Veri <av src gnome org>
- To: gnome-sysadmin gnome org,commits-list gnome org
- Subject: [sysadmin-bin] Revert "Make good use of the GL_USERNAME environment variable (https://gitlab.com/gitlab-org/gitlab-
- Date: Mon, 23 Oct 2017 12:17:59 +0000 (UTC)
commit 2e792fc90a73a3b4395fd8cefc4b15aa240b295d
Author: Andrea Veri <averi redhat com>
Date: Mon Oct 23 14:17:36 2017 +0200
Revert "Make good use of the GL_USERNAME environment variable
(https://gitlab.com/gitlab-org/gitlab-ce/issues/24945)"
This reverts commit 777c490290b5409d0376aa92510fb7bc65fad998.
git/log-push | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/git/log-push b/git/log-push
index 7f15e13..5a539bb 100755
--- a/git/log-push
+++ b/git/log-push
@@ -14,11 +14,7 @@ fi
LOG_FILE="$GIT_DIR/gnome_pushlog"
-if [[ $(hostname) =~ gitlab(\-test|)\.gnome\.org$ ]]; then
- user=$GL_USERNAME
-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]