This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch master in repository maintenancescripts. from f271f65 git/misc/setup-repository: tweak usage message. new fbfffea git/misc/setup-repository: fix indentation and general whitespace issues. new eba3246 git/misc/setup-repository: don't hardcode git, use variable. new 2575d4f git/misc/setup-repository: use more quoting, curly braces and pushd + popd instead of cd foo; ...; cd .. The 3 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: git/misc/setup-repository | 47 +++++++++++++++++++++++---------------------- 1 file changed, 24 insertions(+), 23 deletions(-) -- Alioth's /srv/git/code.x2go.org/maintenancescripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/maintenancescripts.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository maintenancescripts. commit fbfffea3d1b6baf9ce69b36787ae7b38a9de601c Author: Mihai Moldovan <ionic@ionic.de> Date: Mon Mar 9 00:17:24 2015 +0100 git/misc/setup-repository: fix indentation and general whitespace issues. --- git/misc/setup-repository | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/git/misc/setup-repository b/git/misc/setup-repository index 1594cb9..b7545b8 100755 --- a/git/misc/setup-repository +++ b/git/misc/setup-repository @@ -15,9 +15,9 @@ Options: \t<description> is a description for the git repository. \t\tIt should be something like 'Packaging for <package>'." -if [ "$#" -ne "2" ]; then - echo -e "${USAGE}" - exit 1 +if [ "${#}" -ne "2" ]; then + echo -e "${USAGE}" + exit 1 fi PACKAGE="$1" @@ -33,14 +33,14 @@ git config --add core.logallrefupdates true echo "$DESCRIPTION" >description # Enable the hook scripts -[ -f hooks/post-receive ] || { - cp -L /srv/git/_hooks_/post-receive._code.x2go.org_ hooks/post-receive.tmp - chmod 0660 hooks/post-receive.tmp +[ -f hooks/post-receive ] || { + cp -L /srv/git/_hooks_/post-receive._code.x2go.org_ hooks/post-receive.tmp + chmod 0660 hooks/post-receive.tmp } [ -f hooks/update ] || { - cp -L /srv/git/_hooks_/update._code.x2go.org_ hooks/update.tmp - chmod 0660 hooks/update.tmp + cp -L /srv/git/_hooks_/update._code.x2go.org_ hooks/update.tmp + chmod 0660 hooks/update.tmp } # set up ACLs -- Alioth's /srv/git/code.x2go.org/maintenancescripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/maintenancescripts.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository maintenancescripts. commit eba3246621ce88ab43e6443d5bc72961752dd845 Author: Mihai Moldovan <ionic@ionic.de> Date: Mon Mar 9 00:19:39 2015 +0100 git/misc/setup-repository: don't hardcode git, use variable. --- git/misc/setup-repository | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/git/misc/setup-repository b/git/misc/setup-repository index b7545b8..b62cc1a 100755 --- a/git/misc/setup-repository +++ b/git/misc/setup-repository @@ -4,6 +4,8 @@ set -e +GIT="/usr/bin/git" + USAGE="\ This script is used to perform the operations needed to create a git repository for X2Go upstream. @@ -26,8 +28,8 @@ DESCRIPTION="$2" # Create the repository mkdir $PACKAGE.git cd $PACKAGE.git -/usr/bin/git --bare init --shared -git config --add core.logallrefupdates true +${GIT} --bare init --shared +${GIT} config --add core.logallrefupdates true # Add the repository description echo "$DESCRIPTION" >description @@ -73,14 +75,14 @@ EOF chmod 0660 info/allowed-groups.tmp # tweak the Git configuration -git config --add hooks.mailinglist "x2go-commits@lists.x2go.org" -git config --add hooks.replyto "x2go-dev@lists.x2go.org" -git config --add hooks.announcelist "x2go-tags@lists.x2go.org" -git config --add hooks.envelopesender "git-admin@x2go.org" -git config --add hooks.emailprefix "" -git config --add hooks.showdiff "true" - -git config --add hooks.denycreatebranch false +${GIT} config --add hooks.mailinglist "x2go-commits@lists.x2go.org" +${GIT} config --add hooks.replyto "x2go-dev@lists.x2go.org" +${GIT} config --add hooks.announcelist "x2go-tags@lists.x2go.org" +${GIT} config --add hooks.envelopesender "git-admin@x2go.org" +${GIT} config --add hooks.emailprefix "" +${GIT} config --add hooks.showdiff "true" + +${GIT} config --add hooks.denycreatebranch false mv config config.tmp -- Alioth's /srv/git/code.x2go.org/maintenancescripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/maintenancescripts.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository maintenancescripts. commit 2575d4fccacd1558263268cb67d9afda971801d7 Author: Mihai Moldovan <ionic@ionic.de> Date: Mon Mar 9 00:20:24 2015 +0100 git/misc/setup-repository: use more quoting, curly braces and pushd + popd instead of cd foo; ...; cd .. --- git/misc/setup-repository | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/git/misc/setup-repository b/git/misc/setup-repository index b62cc1a..0161d34 100755 --- a/git/misc/setup-repository +++ b/git/misc/setup-repository @@ -22,12 +22,12 @@ if [ "${#}" -ne "2" ]; then exit 1 fi -PACKAGE="$1" -DESCRIPTION="$2" +PACKAGE="${1}" +DESCRIPTION="${2}" # Create the repository -mkdir $PACKAGE.git -cd $PACKAGE.git +mkdir "${PACKAGE}.git" +pushd "${PACKAGE}.git" ${GIT} --bare init --shared ${GIT} config --add core.logallrefupdates true @@ -93,5 +93,4 @@ mv info/exclude info/exclude.tmp chmod 0660 info/exclude.tmp # Go back to the parent directory -cd .. - +popd -- Alioth's /srv/git/code.x2go.org/maintenancescripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/maintenancescripts.git