Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
56f9a674
Commit
56f9a674
authored
Dec 20, 2012
by
Riyad Preukschas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add gitlab:satellites:create as an alias for gitlab:enable_automerge
parent
501f0488
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
1 deletion
+18
-1
doc/raketasks/maintenance.md
doc/raketasks/maintenance.md
+10
-0
lib/tasks/gitlab/check.rake
lib/tasks/gitlab/check.rake
+3
-1
lib/tasks/gitlab/enable_automerge.rake
lib/tasks/gitlab/enable_automerge.rake
+5
-0
No files found.
doc/raketasks/maintenance.md
View file @
56f9a674
...
...
@@ -139,6 +139,16 @@ Checking GitLab ... Finished
```
### (Re-)Create satellite repos
This will create satellite repos for all your projects.
If necessary, remove the
`tmp/repo_satellites`
directory and rerun the command below.
```
bundle exec rake gitlab:satellites:create
```
### 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.
...
...
lib/tasks/gitlab/check.rake
View file @
56f9a674
...
...
@@ -192,7 +192,9 @@ namespace :gitlab do
else
puts
"no"
.
red
try_fixing_it
(
"sudo -u gitlab -H bundle exec rake gitlab:enable_automerge"
"sudo -u gitlab -H bundle exec rake gitlab:satellites:create"
,
"If necessary, remove the tmp/repo_satellites directory ..."
,
"... and rerun the above command"
)
for_more_information
(
"doc/raketasks/maintenance.md "
...
...
lib/tasks/gitlab/enable_automerge.rake
View file @
56f9a674
...
...
@@ -12,4 +12,9 @@ namespace :gitlab do
puts
"Done!"
.
green
end
namespace
:satellites
do
desc
"GITLAB | Create satellite repos"
task
create:
'gitlab:enable_automerge'
end
end
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