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
1
Merge Requests
1
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-ce
Commits
dc396887
Commit
dc396887
authored
Mar 16, 2016
by
Valery Sizov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix PATH to bin/indexer
parent
aef38632
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
lib/elastic/indexer.rb
lib/elastic/indexer.rb
+3
-1
No files found.
lib/elastic/indexer.rb
View file @
dc396887
...
@@ -21,7 +21,9 @@ module Elastic
...
@@ -21,7 +21,9 @@ module Elastic
vars
=
@vars
.
merge
({
'FROM_SHA'
=>
from_sha
,
'TO_SHA'
=>
to_sha
})
vars
=
@vars
.
merge
({
'FROM_SHA'
=>
from_sha
,
'TO_SHA'
=>
to_sha
})
command
=
[
'bin/elastic_repo_indexer'
,
project_id
.
to_s
,
repo_path
]
path_to_indexer
=
File
.
join
(
Rails
.
root
,
'bin/elastic_repo_indexer'
)
command
=
[
path_to_indexer
,
project_id
.
to_s
,
repo_path
]
output
,
status
=
Gitlab
::
Popen
.
popen
(
command
,
nil
,
vars
)
output
,
status
=
Gitlab
::
Popen
.
popen
(
command
,
nil
,
vars
)
...
...
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