Skip to content
Snippets Groups Projects
Commit 07b574b4 authored by Gabriel Mazetto's avatar Gabriel Mazetto
Browse files

Added some extra TODOs for the Legacy Storage refactor

parent 16107364
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -61,11 +61,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
Loading
Loading
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment