mirror of
https://github.com/release-engineering/dist-git.git
synced 2025-02-23 23:12:55 +00:00
make gitolite "support" configurable
This commit is contained in:
parent
6c240e12a2
commit
77282abfab
2 changed files with 4 additions and 1 deletions
|
@ -2,3 +2,4 @@
|
|||
git_author = Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
|
||||
cache_dir = /var/lib/dist-git/cache
|
||||
gitroot_dir = /var/lib/dist-git/git
|
||||
gitolite = True
|
||||
|
|
|
@ -95,7 +95,9 @@ git push -q origin master
|
|||
popd >/dev/null
|
||||
|
||||
# Place the gitolite update hook in place since we're not using our own
|
||||
ln -s /etc/gitolite/hooks/common/update $REPODIR/$PACKAGE.git/hooks/update
|
||||
if [[ $gitolite && $gitolite != "False" ]]; then
|
||||
ln -s /etc/gitolite/hooks/common/update $REPODIR/$PACKAGE.git/hooks/update
|
||||
fi
|
||||
|
||||
# Setup our post-receive hooks
|
||||
mkdir -p $REPODIR/$PACKAGE.git/hooks/post-receive-chained.d
|
||||
|
|
Loading…
Add table
Reference in a new issue