Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-shell
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
Kazuhiko Shiozaki
gitlab-shell
Commits
2823f05d
Commit
2823f05d
authored
Nov 10, 2015
by
Pirate Praveen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use load path instead of require_relative
parent
79fdf65c
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
7 deletions
+12
-7
bin/check
bin/check
+3
-2
bin/create-hooks
bin/create-hooks
+3
-2
bin/gitlab-keys
bin/gitlab-keys
+2
-1
bin/gitlab-projects
bin/gitlab-projects
+2
-1
bin/install
bin/install
+2
-1
No files found.
bin/check
View file @
2823f05d
#!/usr/bin/env ruby
#!/usr/bin/env ruby
require_relative
'../lib/gitlab_init'
$:
.
unshift
File
.
expand_path
(
'../lib'
,
__FILE__
)
require_relative
'../lib/gitlab_net'
require
'gitlab_init'
require
'gitlab_net'
#
#
# GitLab shell check task
# GitLab shell check task
...
...
bin/create-hooks
View file @
2823f05d
...
@@ -4,8 +4,9 @@
...
@@ -4,8 +4,9 @@
#
#
# This script is used when restoring a GitLab backup.
# This script is used when restoring a GitLab backup.
require_relative
'../lib/gitlab_init'
$:
.
unshift
File
.
expand_path
(
'../lib'
,
__FILE__
)
require
File
.
join
(
ROOT_PATH
,
'lib'
,
'gitlab_projects'
)
require
'gitlab_init'
require
'gitlab_projects'
Dir
[
"
#{
GitlabConfig
.
new
.
repos_path
}
/*/*.git"
].
each
do
|
repo
|
Dir
[
"
#{
GitlabConfig
.
new
.
repos_path
}
/*/*.git"
].
each
do
|
repo
|
begin
begin
...
...
bin/gitlab-keys
View file @
2823f05d
#!/usr/bin/env ruby
#!/usr/bin/env ruby
require_relative
'../lib/gitlab_init'
$:
.
unshift
File
.
expand_path
(
'../lib'
,
__FILE__
)
require
'gitlab_init'
#
#
# GitLab Keys shell. Add/remove keys from ~/.ssh/authorized_keys
# GitLab Keys shell. Add/remove keys from ~/.ssh/authorized_keys
...
...
bin/gitlab-projects
View file @
2823f05d
#!/usr/bin/env ruby
#!/usr/bin/env ruby
require_relative
'../lib/gitlab_init'
$:
.
unshift
File
.
expand_path
(
'../lib'
,
__FILE__
)
require
'gitlab_init'
#
#
# GitLab Projects shell. Add/remove projects from /home/git/repositories
# GitLab Projects shell. Add/remove projects from /home/git/repositories
...
...
bin/install
View file @
2823f05d
#!/usr/bin/env ruby
#!/usr/bin/env ruby
require_relative
'../lib/gitlab_init'
$:
.
unshift
File
.
expand_path
(
'../lib'
,
__FILE__
)
require
'gitlab_init'
#
#
# GitLab shell, invoked from ~/.ssh/authorized_keys
# GitLab shell, invoked from ~/.ssh/authorized_keys
...
...
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