This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch master in repository maintenancescripts. from 2575d4f git/misc/setup-repository: use more quoting, curly braces and pushd + popd instead of cd foo; ...; cd .. new 51588de git/misc/setup-repository: fix extra semicolon after heredoc delimiter. new ae1d0fe git/misc/setup-repository: typo fix, more curly braces. new 7d1ae0d git/misc/setup-repository: use our new git hooks, use symlinks, add common.sh and don't deny non-fast forwards by default. 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 | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 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 51588de4cf0c7f42c3274ff4a849e6e36e3e909d Author: Mihai Moldovan <ionic@ionic.de> Date: Mon Mar 9 00:21:51 2015 +0100 git/misc/setup-repository: fix extra semicolon after heredoc delimiter. --- git/misc/setup-repository | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git/misc/setup-repository b/git/misc/setup-repository index 0161d34..6bcc76e 100755 --- a/git/misc/setup-repository +++ b/git/misc/setup-repository @@ -46,7 +46,7 @@ echo "$DESCRIPTION" >description } # set up ACLs -[ -f info/allowed-users ] || cat > info/allowed-users.tmp <<-EOF; +[ -f info/allowed-users ] || cat > info/allowed-users.tmp <<-EOF # master branch +refs/heads/master x2go +refs/heads/master x2go-admin -- 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 ae1d0fe0b7fde526e86ebe1f557fb3689629f8a9 Author: Mihai Moldovan <ionic@ionic.de> Date: Mon Mar 9 01:52:35 2015 +0100 git/misc/setup-repository: typo fix, more curly braces. --- git/misc/setup-repository | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git/misc/setup-repository b/git/misc/setup-repository index 6bcc76e..647d4a5 100755 --- a/git/misc/setup-repository +++ b/git/misc/setup-repository @@ -32,7 +32,7 @@ ${GIT} --bare init --shared ${GIT} config --add core.logallrefupdates true # Add the repository description -echo "$DESCRIPTION" >description +echo "${DESCRIPTION}" > description # Enable the hook scripts [ -f hooks/post-receive ] || { -- 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 7d1ae0ddf3408d4bd9c3a243e5de0230bbf2f017 Author: Mihai Moldovan <ionic@ionic.de> Date: Mon Mar 9 01:53:10 2015 +0100 git/misc/setup-repository: use our new git hooks, use symlinks, add common.sh and don't deny non-fast forwards by default. --- git/misc/setup-repository | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/git/misc/setup-repository b/git/misc/setup-repository index 647d4a5..ff32ead 100755 --- a/git/misc/setup-repository +++ b/git/misc/setup-repository @@ -35,14 +35,16 @@ ${GIT} config --add core.logallrefupdates true echo "${DESCRIPTION}" > description # Enable the hook scripts +[ -f hooks/common.sh ] || { + ln -sv /srv/git/code.x2go.org/_hooks_/common.sh hooks/common.sh +} + [ -f hooks/post-receive ] || { - cp -L /srv/git/_hooks_/post-receive._code.x2go.org_ hooks/post-receive.tmp - chmod 0660 hooks/post-receive.tmp + ln -sv /srv/git/code.x2go.org/_hooks_/post-receive hooks/post-receive.tmp } [ -f hooks/update ] || { - cp -L /srv/git/_hooks_/update._code.x2go.org_ hooks/update.tmp - chmod 0660 hooks/update.tmp + ln -sv /srv/git/code.x2go.org/_hooks_/update hooks/update.tmp } # set up ACLs @@ -84,6 +86,8 @@ ${GIT} config --add hooks.showdiff "true" ${GIT} config --add hooks.denycreatebranch false +# Non-Fast Forwards checks and rejections are covered by the hooks. +${GIT} config receive.denyNonFastForwards false mv config config.tmp chmod 0660 config.tmp -- Alioth's /srv/git/code.x2go.org/maintenancescripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/maintenancescripts.git