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
504c186f
Commit
504c186f
authored
May 16, 2016
by
James Lopez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix version issue
parent
5777ad9a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
import_export.rb
lib/gitlab/import_export.rb
+4
-0
project_tree_saver.rb
lib/gitlab/import_export/project_tree_saver.rb
+0
-1
version_saver.rb
lib/gitlab/import_export/version_saver.rb
+3
-1
No files found.
lib/gitlab/import_export.rb
View file @
504c186f
...
...
@@ -23,5 +23,9 @@ module Gitlab
def
version_filename
'VERSION'
end
def
version
VERSION
end
end
end
lib/gitlab/import_export/project_tree_saver.rb
View file @
504c186f
...
...
@@ -10,7 +10,6 @@ module Gitlab
end
def
save
FileUtils
.
mkdir_p
(
@shared
.
export_path
)
File
.
write
(
full_path
,
project_json_tree
)
true
rescue
=>
e
...
...
lib/gitlab/import_export/version_saver.rb
View file @
504c186f
...
...
@@ -11,8 +11,10 @@ module Gitlab
end
def
save
FileUtils
.
mkdir_p
(
@shared
.
export_path
)
File
.
open
(
version_file
,
'w'
)
do
|
file
|
file
.
write
(
Gitlab
::
ImportExport
.
VERSION
)
file
.
write
(
Gitlab
::
ImportExport
.
version
)
end
rescue
=>
e
@shared
.
error
(
e
.
message
)
...
...
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