From 30fa5c7ce7910b3d9276bd1cebe9125c31df257f Mon Sep 17 00:00:00 2001 From: Cullum Smith Date: Fri, 15 Nov 2024 10:55:44 -0500 Subject: add repo-specific-hooks to gitolite --- files/usr/local/etc/poudriere.d/pkglist.pkg_repository | 2 +- files/usr/local/git/.gitolite.rc.git_server | 2 ++ scripts/hostclass/git_server | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/files/usr/local/etc/poudriere.d/pkglist.pkg_repository b/files/usr/local/etc/poudriere.d/pkglist.pkg_repository index ff700f3..22c6285 100644 --- a/files/usr/local/etc/poudriere.d/pkglist.pkg_repository +++ b/files/usr/local/etc/poudriere.d/pkglist.pkg_repository @@ -40,6 +40,7 @@ dns/unbound editors/libreoffice editors/vim@console editors/vim@tiny +filesystems/zfstools finance/gnucash finance/kmymoney ftp/php${php_version}-curl @@ -136,7 +137,6 @@ sysutils/pwgen sysutils/stow sysutils/tmux sysutils/tree -sysutils/zfstools textproc/en-hunspell textproc/hs-pandoc textproc/jq diff --git a/files/usr/local/git/.gitolite.rc.git_server b/files/usr/local/git/.gitolite.rc.git_server index 9e86021..fb12f18 100644 --- a/files/usr/local/git/.gitolite.rc.git_server +++ b/files/usr/local/git/.gitolite.rc.git_server @@ -20,9 +20,11 @@ 'set-default-roles', 'upstream', 'cgit', + 'repo-specific-hooks', ], GROUPLIST_PGM => '/usr/local/libexec/gitolite-grouplist', HTTP_ANON_USER => 'nobody', + LOCAL_CODE => "$rc{GL_ADMIN_BASE}/local", ); 1; diff --git a/scripts/hostclass/git_server b/scripts/hostclass/git_server index 46db426..b0280bd 100644 --- a/scripts/hostclass/git_server +++ b/scripts/hostclass/git_server @@ -29,6 +29,7 @@ pkg install -y \ cgit \ gitolite \ fcgiwrap \ + ca_root_nss \ py${python_version}-pygments \ py${python_version}-docutils \ py${python_version}-markdown -- cgit v1.2.3