Git Admin Page
gitolite
May First/People Link maintains a git repository using gitolite3 on allende.
The full support team has read/write access to the gitolite3 admin repository - allowing any support team member the ability to create or remove git repositories
- To checkout the admin repo:
git clone gitolite3@git.mayfirst.org:gitolite-admin
- To add a new user, copy their public ssh key into keydir/NAME.pub (replace "NAME" with a unique identifier for this user)
- To create a new repo, edit the conf/gitolite.conf file, adding a stanza such as:
repo mfpl/login-service RW+ = @support_team R = daemon
When done, commit and push your changes.
git service
On allende, we run git as a service via our own systemd file: /etc/systemd/system/git-daemon.service
to avoid runit.
[Unit] Description=Git Repositories Server Daemon Documentation=man:git-daemon(1) [Service] User=nobody Group=gitolite3 ExecStart=/usr/lib/git-core/git-daemon --reuseaddr --base-path=/var/lib/gitolite3/repositories --verbose [Install] WantedBy=multi-user.target
Last modified
8 years ago
Last modified on Feb 13, 2018, 5:01:03 PM
Note:
See TracWiki
for help on using the wiki.