Commit d0646bab authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Remove gitolite mention from docs

parent f17fe7ff
...@@ -31,7 +31,6 @@ Dumping database tables: ...@@ -31,7 +31,6 @@ Dumping database tables:
- Dumping table wikis... [DONE] - Dumping table wikis... [DONE]
Dumping repositories: Dumping repositories:
- Dumping repository abcd... [DONE] - Dumping repository abcd... [DONE]
- Dumping repository gitolite-admin.git... [DONE]
Creating backup archive: $TIMESTAMP_gitlab_backup.tar [DONE] Creating backup archive: $TIMESTAMP_gitlab_backup.tar [DONE]
Deleting tmp directories...[DONE] Deleting tmp directories...[DONE]
Deleting old backups... [SKIPPING] Deleting old backups... [SKIPPING]
...@@ -77,6 +76,5 @@ Restoring database tables: ...@@ -77,6 +76,5 @@ Restoring database tables:
- Loading fixture wikis...[SKIPPING] - Loading fixture wikis...[SKIPPING]
Restoring repositories: Restoring repositories:
- Restoring repository abcd... [DONE] - Restoring repository abcd... [DONE]
- Restoring repository gitolite-admin.git... [DONE]
Deleting tmp directories...[DONE] Deleting tmp directories...[DONE]
``` ```
### Remove grabage from gitolite config and filesystem. Important! Data loss! ### Remove grabage from filesystem. Important! Data loss!
Remove projects from gitolite config if they dont exist in GitLab database
```
bundle exec rake gitlab:cleanup:config RAILS_ENV=production
```
Remove namespaces(dirs) from /home/git/repositories if they dont exist in GitLab database Remove namespaces(dirs) from /home/git/repositories if they dont exist in GitLab database
......
...@@ -17,12 +17,12 @@ bundle exec rake gitlab:enable_namespaces RAILS_ENV=production ...@@ -17,12 +17,12 @@ bundle exec rake gitlab:enable_namespaces RAILS_ENV=production
``` ```
### Enable auto merge ### Rebuild project satellites
This command will enable the auto merge feature. After this you will be able to **merge a merge request** via GitLab and use the **online editor**. This command will build missing satellites for projects. After this you will be able to **merge a merge request** via GitLab and use the **online editor**.
``` ```
bundle exec rake gitlab:enable_automerge RAILS_ENV=production bundle exec rake gitlab:satellites:create RAILS_ENV=production
``` ```
Example output: Example output:
......
...@@ -31,12 +31,10 @@ SSH Clone URL: git@localhost:some-project.git ...@@ -31,12 +31,10 @@ SSH Clone URL: git@localhost:some-project.git
Using LDAP: no Using LDAP: no
Using Omniauth: no Using Omniauth: no
Gitolite information GitLab Shell
Version: v3.04-4-g4524f01 Version: 1.0.4
Admin URI: git@localhost:gitolite-admin
Admin Key: gitlab
Repositories: /home/git/repositories/ Repositories: /home/git/repositories/
Hooks: /home/git/.gitolite/hooks/ Hooks: /home/git/gitlab-shell/hooks/
Git: /usr/bin/git Git: /usr/bin/git
``` ```
...@@ -46,8 +44,8 @@ Git: /usr/bin/git ...@@ -46,8 +44,8 @@ Git: /usr/bin/git
Runs the following rake tasks: Runs the following rake tasks:
* gitlab:env:check * gitlab:env:check
* gitlab:gitolite:check * gitlab:gitlab_shell:check
* gitlab:resque:check * gitlab:sidekiq:check
* gitlab:app:check * gitlab:app:check
It will check that each component was setup according to the installation guide and suggest fixes for issues found. It will check that each component was setup according to the installation guide and suggest fixes for issues found.
...@@ -74,16 +72,12 @@ Checking Environment ... Finished ...@@ -74,16 +72,12 @@ Checking Environment ... Finished
Checking Gitolite ... Checking Gitolite ...
Using recommended version ... yes Using recommended version ... yes
Repo umask is 0007 in .gitolite.rc? ... yes
Allow all Git config keys in .gitolite.rc ... yes
Config directory exists? ... yes Config directory exists? ... yes
Config directory owned by git:git? ... yes Config directory owned by git:git? ... yes
Config directory access is drwxr-x---? ... yes Config directory access is drwxr-x---? ... yes
Repo base directory exists? ... yes Repo base directory exists? ... yes
Repo base owned by git:git? ... yes Repo base owned by git:git? ... yes
Repo base access is drwxrws---? ... yes Repo base access is drwxrws---? ... yes
Can clone gitolite-admin? ... yes
Can commit to gitolite-admin? ... yes
post-receive hook exists? ... yes post-receive hook exists? ... yes
post-receive hook up-to-date? ... yes post-receive hook up-to-date? ... yes
post-receive hooks in repos are links: ... post-receive hooks in repos are links: ...
...@@ -135,24 +129,6 @@ If necessary, remove the `tmp/repo_satellites` directory and rerun the command b ...@@ -135,24 +129,6 @@ If necessary, remove the `tmp/repo_satellites` directory and rerun the command b
bundle exec rake gitlab:satellites:create RAILS_ENV=production bundle exec rake gitlab:satellites:create RAILS_ENV=production
``` ```
### Rebuild each key at gitolite config
This will send all users ssh public keys to gitolite and grant them access (based on their permission) to their projects.
```
bundle exec rake gitlab:gitolite:update_keys RAILS_ENV=production
```
### Rebuild each project at gitolite config
This makes sure that all projects are present in gitolite and can be accessed.
```
bundle exec rake gitlab:gitolite:update_repos RAILS_ENV=production
```
### Import bare repositories into GitLab project instance ### Import bare repositories into GitLab project instance
Notes: Notes:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment