BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
1665a06f
Commit
1665a06f
authored
Jan 06, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added cleanup to help rake
parent
68eb3948
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
53 additions
and
12 deletions
+53
-12
index.html.haml
app/views/help/index.html.haml
+22
-12
raketasks.html.haml
app/views/help/raketasks.html.haml
+11
-0
cleanup.md
doc/raketasks/cleanup.md
+20
-0
No files found.
app/views/help/index.html.haml
View file @
1665a06f
...
...
@@ -9,31 +9,41 @@
%br
Fast, secure and stable solution based on Ruby on Rails
&
Gitolite.
%hr
%h3
Help
%br
%ol
.row
.span6
.ui-box
.title
%h5
Help
%ul
.well-list
%li
%h5
=
link_to
"Workflow"
,
help_workflow_path
%span
=
link_to
"Workflow"
,
help_workflow_path
%li
%h5
=
link_to
"Permissions"
,
help_permissions_path
%span
=
link_to
"Permissions"
,
help_permissions_path
%li
%h5
=
link_to
"Web Hooks"
,
help_web_hooks_path
%span
=
link_to
"Web Hooks"
,
help_web_hooks_path
%li
%h5
=
link_to
"System Hooks"
,
help_system_hooks
_path
%span
=
link_to
"API"
,
help_api
_path
%li
%h5
=
link_to
"API"
,
help_api
_path
%span
=
link_to
"GitLab Markdown"
,
help_markdown
_path
%li
%h5
=
link_to
"GitLab Markdown"
,
help_markdown_path
%span
=
link_to
"SSH keys"
,
help_ssh_path
.span6
.ui-box
.title
%h5
Admin Guide
%ul
.well-list
%li
%h5
=
link_to
"SSH keys"
,
help_ssh
_path
%span
=
link_to
"GitLab Rake Tasks"
,
help_raketasks
_path
%li
%h5
=
link_to
"GitLab Rake Tasks"
,
help_raketasks_path
%span
=
link_to
"System Hooks"
,
help_system_hooks_path
app/views/help/raketasks.html.haml
View file @
1665a06f
...
...
@@ -16,6 +16,8 @@
=
link_to
"User Management"
,
"#user_management"
,
'data-toggle'
=>
'tab'
%li
=
link_to
"Backup & Restore"
,
"#backup_restore"
,
'data-toggle'
=>
'tab'
%li
=
link_to
"Cleanup"
,
"#cleanup"
,
'data-toggle'
=>
'tab'
.tab-content
.tab-pane.active
#features
...
...
@@ -45,6 +47,15 @@
=
preserve
do
=
markdown
File
.
read
(
Rails
.
root
.
join
(
"doc"
,
"raketasks"
,
"user_management.md"
))
.tab-pane
#cleanup
.file_holder
.file_title
%i
.icon-file
Cleanup
.file_content.wiki
=
preserve
do
=
markdown
File
.
read
(
Rails
.
root
.
join
(
"doc"
,
"raketasks"
,
"cleanup.md"
))
.tab-pane
#backup_restore
.file_holder
.file_title
...
...
doc/raketasks/cleanup.md
0 → 100644
View file @
1665a06f
### Remove grabage from gitolite config and 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
```
bundle exec rake gitlab:cleanup:dirs RAILS_ENV=production
```
Remove repositories (global only for now) from /home/git/repositories if they dont exist in GitLab database
```
bundle exec rake gitlab:cleanup:repos RAILS_ENV=production
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment