Hashar has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/86843


Change subject: remove git-setup
......................................................................

remove git-setup

The shell script is meant to set post commit hooks in your local
repository.  Instead one should use git-review or some similar helper.

Change-Id: I3b95531b68d7198f995c5ee08d09ecf7118a03dd
---
D git-setup
1 file changed, 0 insertions(+), 38 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/integration/jenkins 
refs/changes/43/86843/1

diff --git a/git-setup b/git-setup
deleted file mode 100755
index a8dab71..0000000
--- a/git-setup
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/bin/bash
-
-# Basic setup for the jenkins git repository
-
-# Need this info
-echo "Type your Labs console wiki username (ie: Test User):"
-read name
-echo "Type your shell username (ie: testuser):"
-read username
-echo "Type the e-mail address for this username:"
-read email
-
-# Global config
-git config --global user.email "$email"
-git config --global user.name "$name"
-
-# Setup remotes/aliases
-git remote add jenkins 
ssh://$usern...@gerrit.wikimedia.org:29418/integration/jenkins
-git config alias.push-review "push jenkins HEAD:refs/for/master"
-
-TOPLEVEL=`git rev-parse --show-toplevel`
-which curl
-if [ "$?" == "0" ]
-then
-       curl "https://gerrit.wikimedia.org/r/tools/hooks/commit-msg"; > 
$TOPLEVEL/.git/hooks/commit-msg && chmod u+x $TOPLEVEL/.git/hooks/commit-msg
-else
-       which wget
-       if [ "$?" == "0" ]
-       then
-               wget "https://gerrit.wikimedia.org/r/tools/hooks/commit-msg"; -O 
$TOPLEVEL/.git/hooks/commit-msg && chmod u+x $TOPLEVEL/.git/hooks/commit-msg
-       else
-               scp -p 29418 gerrit.wikimedia.org:hooks/commit-msg 
$TOPLEVEL/.git/hooks/commit-msg
-               if [ "$?" != "0" ]
-               then
-                       echo "Please download the commit message hook from 
https://gerrit.wikimedia.org/r/tools/hooks/commit-msg, place it in 
.git/hooks/commit-msg, and chmod u+x the file."
-               fi
-       fi
-fi

-- 
To view, visit https://gerrit.wikimedia.org/r/86843
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3b95531b68d7198f995c5ee08d09ecf7118a03dd
Gerrit-PatchSet: 1
Gerrit-Project: integration/jenkins
Gerrit-Branch: master
Gerrit-Owner: Hashar <has...@free.fr>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to