Home | 简体中文 | 繁体中文 | 杂文 | 打赏(Donations) | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 知乎专栏 | Search | Email

181.8. gitolite - SSH-based gatekeeper for git repositories

$ apt-cache search gitolite
gitolite - SSH-based gatekeeper for git repositories
	
sudo apt-get install gitolite
	

No adminkey given - not setting up gitolite.

181.8.1. gitolite-admin

git@192.168.2.1:gitolite-admin.git
		

181.8.1.1. gitolite.conf

gitolite-admin/conf/gitolite.conf

181.8.1.1.1. staff
@admin 		= neo
@developer 	= bottle nada dick blank phabricator
@designer 	= blank
@deployer 	= phoenix
@tester 	= jimmy
				
181.8.1.1.2. repo
repo gitolite-admin
    RW+     = @admin
    R       = @deployer

repo mydomain.com/www.mydomain.com
    RW+     = @admin
    RW		= @developer @designer
    R		= @deployer

repo mydomain.com/images.mydomain.com
    RW+     = @admin
    RW		= @developer @designer
    R		= @deployer

repo mydomain.com/passport.mydomain.com
    RW+     = @admin
    RW		= @developer
    R		= @deployer @designer

repo    example.com/www.example.com
  RW+       = @all  

repo    @all
  RW        = @developer @designer
  R         = @agentbot @deployment @test