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
nexedi
gitlab-shell
Commits
f532377f
Commit
f532377f
authored
Nov 12, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Merge branch 'use-load-path' into 'master'
This reverts commit
ae498b6c
, reversing changes made to
79fdf65c
.
parent
9f53a532
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
17 deletions
+8
-17
bin/check
bin/check
+2
-3
bin/create-hooks
bin/create-hooks
+2
-3
bin/gitlab-keys
bin/gitlab-keys
+1
-2
bin/gitlab-projects
bin/gitlab-projects
+1
-2
bin/install
bin/install
+1
-2
lib/gitlab_init.rb
lib/gitlab_init.rb
+1
-5
No files found.
bin/check
View file @
f532377f
#!/usr/bin/env ruby
$:
.
unshift
File
.
expand_path
(
'../lib'
,
__FILE__
)
require
'gitlab_init'
require
'gitlab_net'
require_relative
'../lib/gitlab_init'
require_relative
'../lib/gitlab_net'
#
# GitLab shell check task
...
...
bin/create-hooks
View file @
f532377f
...
...
@@ -4,9 +4,8 @@
#
# This script is used when restoring a GitLab backup.
$:
.
unshift
File
.
expand_path
(
'../lib'
,
__FILE__
)
require
'gitlab_init'
require
'gitlab_projects'
require_relative
'../lib/gitlab_init'
require
File
.
join
(
ROOT_PATH
,
'lib'
,
'gitlab_projects'
)
Dir
[
"
#{
GitlabConfig
.
new
.
repos_path
}
/*/*.git"
].
each
do
|
repo
|
begin
...
...
bin/gitlab-keys
View file @
f532377f
#!/usr/bin/env ruby
$:
.
unshift
File
.
expand_path
(
'../lib'
,
__FILE__
)
require
'gitlab_init'
require_relative
'../lib/gitlab_init'
#
# GitLab Keys shell. Add/remove keys from ~/.ssh/authorized_keys
...
...
bin/gitlab-projects
View file @
f532377f
#!/usr/bin/env ruby
$:
.
unshift
File
.
expand_path
(
'../lib'
,
__FILE__
)
require
'gitlab_init'
require_relative
'../lib/gitlab_init'
#
# GitLab Projects shell. Add/remove projects from /home/git/repositories
...
...
bin/install
View file @
f532377f
#!/usr/bin/env ruby
$:
.
unshift
File
.
expand_path
(
'../lib'
,
__FILE__
)
require
'gitlab_init'
require_relative
'../lib/gitlab_init'
#
# GitLab shell, invoked from ~/.ssh/authorized_keys
...
...
lib/gitlab_init.rb
View file @
f532377f
if
ENV
[
'SHELL_ROOT_PATH'
].
nil?
||
ENV
[
'SHELL_ROOT_PATH'
].
empty?
ROOT_PATH
=
File
.
expand_path
(
File
.
join
(
File
.
dirname
(
__FILE__
),
".."
))
else
ROOT_PATH
=
ENV
[
'SHELL_ROOT_PATH'
]
end
ROOT_PATH
=
File
.
expand_path
(
File
.
join
(
File
.
dirname
(
__FILE__
),
".."
))
require_relative
'gitlab_config'
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