wiki:git-admin

Version 2 (modified by Jamie McClelland, 6 years ago) ( diff )

--

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.

Note: See TracWiki for help on using the wiki.