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
Tatuya Kamada
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
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
lib/gitlab/import_export.rb
lib/gitlab/import_export.rb
+4
-0
lib/gitlab/import_export/project_tree_saver.rb
lib/gitlab/import_export/project_tree_saver.rb
+0
-1
lib/gitlab/import_export/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