/usr/share/gitolite3/triggers/post-compile/update-description-file is in gitolite3 3.5.3.1-2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | #!/bin/sh
# For normal (not "wild") repos, gitolite v3 sets 'gitweb.description' instead
# of putting the text in the "description" file. This is easier because it
# just goes with the flow of setting config variables; nothing special needs
# to be done for the description.
# But this only works for gitweb, not for cgit. Cgit users must uncomment the
# 'cgit' line in the ENABLE list in the rc file (which has the effect of
# adding this program to the POST_COMPILE trigger list).
cd $GL_REPO_BASE
gitolite list-phy-repos | gitolite git-config % gitweb.description |
while read a b c
do
echo "$c" > $GL_REPO_BASE/$a.git/description
done
|