systems:git

This is an old revision of the document!


Git on y3.php.net

  • The main git user is called git
  • His home directory is in /git
  • We use gitolite
  • Repos are stored in /git/repositories

Creating a new repository

  1. You need access to git.php.net:gitolite-admin.git
  2. Add the repository in conf/gitolite.conf
    1. Ensure RW+ is set to @all
    2. Ensure R is set to daemon gitweb
    3. Ensure config.sharedRepository = true
    4. Do not give access to any other user
  3. Import the repository using svn2git.
    1. An author map will be made available soon
    2. Push it to the newly created repository.
    3. Make sure all branches are pushed
  4. Add the appropriate hooks.mailinglist config variable
    1. Do that AFTER you pushed the initial repository or people will hate you.
  5. Rename <REPO> to <REPO>.git in the global_avail file in SVNROOT.

karma & co is going to be installed automatically. If you have problem call dsp@php.net.

systems/git.1348183776.txt.gz · Last modified: 2017/09/22 13:28 (external edit)