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
5516886b
Commit
5516886b
authored
Jul 24, 2017
by
Gabriel Mazetto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added some extra TODOs for the Legacy Storage refactor
parent
5e5a3385
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
app/services/projects/transfer_service.rb
app/services/projects/transfer_service.rb
+2
-0
lib/gitlab/import_export/uploads_saver.rb
lib/gitlab/import_export/uploads_saver.rb
+1
-0
No files found.
app/services/projects/transfer_service.rb
View file @
5516886b
...
...
@@ -63,11 +63,13 @@ module Projects
project
.
send_move_instructions
(
@old_path
)
# Move main repository
# TODO: check storage type and NOOP when not using Legacy
unless
move_repo_folder
(
@old_path
,
@new_path
)
raise
TransferError
.
new
(
'Cannot move project'
)
end
# Move wiki repo also if present
# TODO: check storage type and NOOP when not using Legacy
move_repo_folder
(
"
#{
@old_path
}
.wiki"
,
"
#{
@new_path
}
.wiki"
)
# Move missing group labels to project
...
...
lib/gitlab/import_export/uploads_saver.rb
View file @
5516886b
...
...
@@ -24,6 +24,7 @@ module Gitlab
end
def
uploads_path
# TODO: decide what to do with uploads. We will use UUIDs here too?
File
.
join
(
Rails
.
root
.
join
(
'public/uploads'
),
@project
.
path_with_namespace
)
end
end
...
...
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