. ${BUILDFILE%/*}/common.sh pkgver=20180826.1 package() { preamble # #### Git depends+=( git # for the 'git' user, and obviously git itself. cronie moreutils # for chronic ) # Metadata about all of the git repositories, as well as most of the # setup, lives in the git-meta.git repository. The git user has a # cron-job to update this repository every hour. install -d etc/cron.spool add-file -m600 -o git -g git etc/cron.spool/git <&1" EOF # ##### transport: git protocol add-unit etc/systemd/system/sockets.target.wants/git-daemon.socket # ##### transport: SSH # Files affected manually: # # * `/srv/git/git-shell-commands/` # # This is the only method for which push is enabled. Only the git@ # user may push; even though if you have access to git, you probably # have access to ssh into yourname@winston, you can't push from that # account. As far as git is concerned, all users are equal (TODO: # perhaps we should implement some more granular access # control. Safety rails and all that). Access to git@ is based on # membership in the "git" group in hackers.git (see # [#Parabola_hackers](#Parabola_hackers)). # # If you need to set up custom git hooks, then ssh in to your user, # and use `sudo -u git` to do it. # ##### transport: HTTPS depends+=( cgit config-parabola-mgmt-certbot config-parabola-mgmt-nginx config-parabola-mgmt-uwsgi uwsgi-plugin-cgi ) add-file -m755 etc/ssl/misc/certbot-get.d/10-git <