version updated, gitosis removed
This commit is contained in:
parent
e14a0eb8d0
commit
3e581984fe
4 changed files with 10 additions and 23 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
v 2.0.0
|
||||||
|
- gitolite as main git host system
|
||||||
|
- merge requests
|
||||||
|
- bugfix
|
||||||
|
|
||||||
v 1.2.2
|
v 1.2.2
|
||||||
- common config file gitlab.yml
|
- common config file gitlab.yml
|
||||||
- issues restyle
|
- issues restyle
|
||||||
|
|
23
README.md
23
README.md
|
@ -9,7 +9,7 @@ GitLab is a free Project/Repository management application
|
||||||
## Application details
|
## Application details
|
||||||
|
|
||||||
rails 3.1
|
rails 3.1
|
||||||
works only with gitosis
|
works only with gitolite
|
||||||
sqlite as default a database
|
sqlite as default a database
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
@ -17,7 +17,7 @@ sqlite as default a database
|
||||||
* ruby 1.9.2
|
* ruby 1.9.2
|
||||||
* sqlite
|
* sqlite
|
||||||
* git
|
* git
|
||||||
* gitosis
|
* gitolite
|
||||||
* ubuntu/debian
|
* ubuntu/debian
|
||||||
* pygments lib - `sudo easy_install pygments`
|
* pygments lib - `sudo easy_install pygments`
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@ bundle exec rake db:setup RAILS_ENV=production
|
||||||
bundle exec rake db:seed_fu RAILS_ENV=production
|
bundle exec rake db:seed_fu RAILS_ENV=production
|
||||||
```
|
```
|
||||||
|
|
||||||
Install gitosis, edit `config/gitlab.yml` and start server
|
Install gitolite (with repo umask 0007), edit `config/gitlab.yml` and start server
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bundle exec rails s -e production
|
bundle exec rails s -e production
|
||||||
|
@ -80,24 +80,9 @@ usermod -a -G git gitlabhq_user_name
|
||||||
|
|
||||||
### !!! IMPORTANT !!! Gitolite umask should be 0007 so users from git group has read/write access to repo
|
### !!! IMPORTANT !!! Gitolite umask should be 0007 so users from git group has read/write access to repo
|
||||||
|
|
||||||
## Install Gitosis
|
|
||||||
|
|
||||||
```bash
|
|
||||||
sudo aptitude install gitosis
|
|
||||||
|
|
||||||
|
|
||||||
ssh-keygen -t rsa
|
|
||||||
|
|
||||||
sudo -H -u git gitosis-init < ~/.ssh/id_rsa.pub
|
|
||||||
|
|
||||||
sudo chmod 755 /home/git/repositories/gitosis-admin.git/hooks/post-update
|
|
||||||
|
|
||||||
cd /tmp && git clone git@localhost:gitosis-admin.git
|
|
||||||
|
|
||||||
rm -rf gitosis-admin.git && cd
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Install ruby 1.9.2
|
## Install ruby 1.9.2
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
||||||
1.2.2
|
2.0.0
|
||||||
|
|
|
@ -7,9 +7,6 @@ email:
|
||||||
host: gitlabhq.com
|
host: gitlabhq.com
|
||||||
|
|
||||||
# Git Hosting congiguration
|
# Git Hosting congiguration
|
||||||
# You can use both gitolite & gitosis
|
|
||||||
# But gitosis wiil be deprecated &
|
|
||||||
# some new features wont work with it
|
|
||||||
git_host:
|
git_host:
|
||||||
system: gitolite
|
system: gitolite
|
||||||
admin_uri: git@localhost:gitolite-admin
|
admin_uri: git@localhost:gitolite-admin
|
||||||
|
|
Loading…
Reference in a new issue