distgit: Remove the update-chained stuff
This doesn't work with Gitolite.
This commit is contained in:
parent
9c8deb1637
commit
3ed1da51ca
3 changed files with 0 additions and 23 deletions
|
@ -108,16 +108,6 @@ git commit -q -m 'Initial setup of the repo' --author "$AUTHOR"
|
||||||
git push -q origin master
|
git push -q origin master
|
||||||
popd >/dev/null
|
popd >/dev/null
|
||||||
|
|
||||||
# Setup our update hooks
|
|
||||||
#mkdir -p $GITROOT/$PACKAGE.git/hooks/update-chained.d
|
|
||||||
#ln -s /etc/gitolite/hooks/common/update \
|
|
||||||
# $GITROOT/$PACKAGE.git/hooks/update-chained.d/update-gitolite
|
|
||||||
#ln -s /usr/share/git-core/update-block-push-origin \
|
|
||||||
# $GITROOT/$PACKAGE.git/hooks/update-chained.d/update-block-push-origin
|
|
||||||
|
|
||||||
# This one kicks off all the others in update-chained.d
|
|
||||||
#ln -s /usr/share/git-core/update-chained $GITROOT/$PACKAGE.git/hooks/update
|
|
||||||
|
|
||||||
# Place the gitolite update hook in place since we're not using our own
|
# Place the gitolite update hook in place since we're not using our own
|
||||||
ln -s /etc/gitolite/hooks/common/update $GITROOT/$PACKAGE.git/hooks/update
|
ln -s /etc/gitolite/hooks/common/update $GITROOT/$PACKAGE.git/hooks/update
|
||||||
|
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
|
|
||||||
refname="${1}"
|
|
||||||
sha1_old="${2}"
|
|
||||||
sha1_new="${3}"
|
|
||||||
|
|
||||||
|
|
||||||
$GIT_DIR/hooks/update-chained.d/update-gitolite "$refname" "$sha1_old" "$sha1_new" || exit 1
|
|
||||||
$GIT_DIR/hooks/update-chained.d/update-block-push-origin "$refname" "$sha1_old" "$sha1_new" || exit 1
|
|
||||||
|
|
||||||
exit 0
|
|
|
@ -14,7 +14,6 @@
|
||||||
- post-receive-fedmsg
|
- post-receive-fedmsg
|
||||||
- post-receive-chained
|
- post-receive-chained
|
||||||
- update-block-push-origin
|
- update-block-push-origin
|
||||||
- update-chained
|
|
||||||
|
|
||||||
- name: install the git mail hooks
|
- name: install the git mail hooks
|
||||||
copy: src={{item}} dest=/usr/share/git-core/mail-hooks/ mode=0755
|
copy: src={{item}} dest=/usr/share/git-core/mail-hooks/ mode=0755
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue