[sysadmin-bin] gitadmin-bin moved to sysadmin-bin/git



commit df85e47dbfdc922a97c1a468a620673784a38c72
Author: Olav Vitters <olav vitters nl>
Date:   Thu May 24 22:01:06 2012 +0200

    gitadmin-bin moved to sysadmin-bin/git

 git/README                          |    8 +-------
 git/create-repository               |    2 +-
 git/finish-import                   |    2 +-
 git/gnome-post-receive              |    2 +-
 git/gnome-pre-receive               |    2 +-
 git/gnomify-repos                   |    4 ++--
 git/post-receive-update-description |    2 +-
 git/pre-receive-check-maintainers   |    2 +-
 git/update-all-info                 |    2 +-
 git/update-cgit                     |    2 +-
 10 files changed, 11 insertions(+), 17 deletions(-)
---
diff --git a/git/README b/git/README
index a744d5b..bd3ad97 100644
--- a/git/README
+++ b/git/README
@@ -1,7 +1 @@
-This directory contains scripts that run on git.gnome.org. It is
-automatically checked out into /home/admin/gitadmin-bin on every
-push to ssh://git.gnome.org/git/gitadmin-bin.
-
-It is only writable by the gitadmin group. (Once the git migration
-is finished the gitadmin group will be removed and the permissions
-switched to the standard sysadmin group.)
+This directory contains scripts that run on git.gnome.org.
diff --git a/git/create-repository b/git/create-repository
index db9521f..4ff9980 100755
--- a/git/create-repository
+++ b/git/create-repository
@@ -10,7 +10,7 @@
 # but we want group-writable directories.
 umask 0002
 
-BINDIR=/home/admin/gitadmin-bin
+BINDIR=/home/admin/bin/git
 
 if [ `whoami` != gitadmin ] ; then
     cd / && exec sudo -u gitadmin $BINDIR/create-repository "$@"
diff --git a/git/finish-import b/git/finish-import
index 706a828..2f28b7b 100755
--- a/git/finish-import
+++ b/git/finish-import
@@ -2,7 +2,7 @@
 
 # Script to clear the "pending" flag on a newly imported module
 
-BINDIR=/home/admin/gitadmin-bin
+BINDIR=/home/admin/bin/git
 
 . $BINDIR/functions
 
diff --git a/git/gnome-post-receive b/git/gnome-post-receive
index d13a498..8bfee10 100755
--- a/git/gnome-post-receive
+++ b/git/gnome-post-receive
@@ -13,7 +13,7 @@
 # hook.emailprefix  - should always be empty
 # hooks.mailinglist - should always be commits-list gnome org
 
-BINDIR=/home/admin/gitadmin-bin
+BINDIR=/home/admin/bin/git
 
 # If the committing user has a homedir with a .gitconfig in it, it we
 # don't want that to affect our operation. (Should this just be handled
diff --git a/git/gnome-pre-receive b/git/gnome-pre-receive
index 4c1c6dd..a5ed9fb 100755
--- a/git/gnome-pre-receive
+++ b/git/gnome-pre-receive
@@ -6,7 +6,7 @@
 # update refs on the remote repository. Its exit status determines the 
 # success or failure of the update.
 
-BINDIR=/home/admin/gitadmin-bin
+BINDIR=/home/admin/bin/git
 
 # If the committing user has a homedir with a .gitconfig in it, it we
 # don't want that to affect our operation. (Should this just be handled
diff --git a/git/gnomify-repos b/git/gnomify-repos
index 7892253..3dd1f63 100755
--- a/git/gnomify-repos
+++ b/git/gnomify-repos
@@ -12,8 +12,8 @@ gnomify_repo() {
     git config http.getanyfile false
     git config http.receivepack false
 
-    ln -sf /home/admin/gitadmin-bin/gnome-pre-receive $GIT_DIR/hooks/pre-receive
-    ln -sf /home/admin/gitadmin-bin/gnome-post-receive $GIT_DIR/hooks/post-receive
+    ln -sf /home/admin/bin/git/gnome-pre-receive $GIT_DIR/hooks/pre-receive
+    ln -sf /home/admin/bin/git/gnome-post-receive $GIT_DIR/hooks/post-receive
 }
 
 if [ $# '>' 0 ] ; then
diff --git a/git/post-receive-update-description b/git/post-receive-update-description
index 2603c70..a35fc2e 100755
--- a/git/post-receive-update-description
+++ b/git/post-receive-update-description
@@ -2,7 +2,7 @@
 
 umask 0002
 
-BINDIR=/home/admin/gitadmin-bin
+BINDIR=/home/admin/bin/git
 
 GIT_DIR=$(git rev-parse --git-dir 2>/dev/null)
 
diff --git a/git/pre-receive-check-maintainers b/git/pre-receive-check-maintainers
index 0415f6c..16dabbe 100755
--- a/git/pre-receive-check-maintainers
+++ b/git/pre-receive-check-maintainers
@@ -6,7 +6,7 @@
 #  - A <modulename>.doap file
 #  - A MAINTAINERS file (deprecated)
 
-BINDIR=/home/admin/gitadmin-bin
+BINDIR=/home/admin/bin/git
 
 GIT_DIR=$(git rev-parse --git-dir 2>/dev/null)
 
diff --git a/git/update-all-info b/git/update-all-info
index c801ff6..4d6ad2b 100755
--- a/git/update-all-info
+++ b/git/update-all-info
@@ -3,7 +3,7 @@
 # This script should be run with the output written to /git/cgit.repositories, which
 # is included from /etc/cgitrc
 
-BINDIR=/home/admin/gitadmin-bin
+BINDIR=/home/admin/bin/git
 
 function process_repos() {
     paths=$1
diff --git a/git/update-cgit b/git/update-cgit
index 569a8dd..9a633b3 100755
--- a/git/update-cgit
+++ b/git/update-cgit
@@ -6,7 +6,7 @@
 #  the environment, but it's important to be a bit careful about what we do
 #  in here.
 
-BINDIR=/home/admin/gitadmin-bin
+BINDIR=/home/admin/bin/git
 
 if [ `whoami` != gitadmin ] ; then
     cd / && exec sudo -u gitadmin $BINDIR/update-cgit "$@"



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