Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-05-16 13:04:31 +0300
committerJames Lopez <james@jameslopez.es>2016-05-16 13:04:31 +0300
commit5777ad9a1f016f170585949059b08a4eeb7d19a9 (patch)
tree68dceb008558a745c24ff66c2e53437b3f81c44f /lib/gitlab/import_export.rb
parentf386d7a7b7f67ba8e77ee40ef6a3383d5206d0c1 (diff)
adding versioning to export
Diffstat (limited to 'lib/gitlab/import_export.rb')
-rw-r--r--lib/gitlab/import_export.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/gitlab/import_export.rb b/lib/gitlab/import_export.rb
index bf80ac7f093..9c7c72e2b4a 100644
--- a/lib/gitlab/import_export.rb
+++ b/lib/gitlab/import_export.rb
@@ -2,6 +2,8 @@ module Gitlab
module ImportExport
extend self
+ VERSION = '0.1.0'
+
def export_path(relative_path:)
File.join(storage_path, relative_path)
end
@@ -17,5 +19,9 @@ module Gitlab
def project_bundle_filename
"project.bundle"
end
+
+ def version_filename
+ 'VERSION'
+ end
end
end