summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-04-22 12:49:37 +0200
committerJames Lopez <james@jameslopez.es>2016-04-22 12:49:37 +0200
commitfedfba55194ed51c6a7510c01fa94091e92c71cf (patch)
tree718ba22e17cb717e28a08eea66fc686a97fce83f
parent42567436863c96b7f184cc7a728b2da3d18852c8 (diff)
downloadgitlab-ce-fedfba55194ed51c6a7510c01fa94091e92c71cf.tar.gz
more refactoring - easier guessing path changes
-rw-r--r--lib/gitlab/import_export/project_tree_saver.rb2
-rw-r--r--lib/gitlab/import_export/repo_bundler.rb2
-rw-r--r--lib/gitlab/import_export/wiki_repo_bundler.rb2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/gitlab/import_export/project_tree_saver.rb b/lib/gitlab/import_export/project_tree_saver.rb
index b2615f8273b..f6fab0fe22d 100644
--- a/lib/gitlab/import_export/project_tree_saver.rb
+++ b/lib/gitlab/import_export/project_tree_saver.rb
@@ -25,7 +25,7 @@ module Gitlab
end
def project_filename
- "#{@project.name}.json"
+ "project.json"
end
def project_json_tree
diff --git a/lib/gitlab/import_export/repo_bundler.rb b/lib/gitlab/import_export/repo_bundler.rb
index 7a1c2a12a53..86c9501b708 100644
--- a/lib/gitlab/import_export/repo_bundler.rb
+++ b/lib/gitlab/import_export/repo_bundler.rb
@@ -27,7 +27,7 @@ module Gitlab
end
def project_filename
- "#{@project.name}.bundle"
+ "project.bundle"
end
def path_to_repo
diff --git a/lib/gitlab/import_export/wiki_repo_bundler.rb b/lib/gitlab/import_export/wiki_repo_bundler.rb
index 9ef0febee54..7821c671628 100644
--- a/lib/gitlab/import_export/wiki_repo_bundler.rb
+++ b/lib/gitlab/import_export/wiki_repo_bundler.rb
@@ -19,7 +19,7 @@ module Gitlab
private
def project_filename
- "#{@project.name}.wiki.bundle"
+ "project.wiki.bundle"
end
def path_to_repo