aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCullum Smith <cullum@sacredheartsc.com>2024-11-15 10:55:44 -0500
committerCullum Smith <cullum@sacredheartsc.com>2024-11-15 10:55:44 -0500
commit30fa5c7ce7910b3d9276bd1cebe9125c31df257f (patch)
tree122c9c0d22ead7de3f3abb2752abca0e55fcc0a7
parent9fec52cfb9a2fca2e6ad2aa505075de47e930165 (diff)
downloadinfrastructure-30fa5c7ce7910b3d9276bd1cebe9125c31df257f.tar.gz
add repo-specific-hooks to gitolite
-rw-r--r--files/usr/local/etc/poudriere.d/pkglist.pkg_repository2
-rw-r--r--files/usr/local/git/.gitolite.rc.git_server2
-rw-r--r--scripts/hostclass/git_server1
3 files changed, 4 insertions, 1 deletions
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