gitlab_git 7.0.0.rc4 → 7.0.0.rc5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/gitlab_git/repository.rb +4 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f7db00525fddc76b32ad267db48527dee19b000f
|
|
4
|
+
data.tar.gz: c74e46648690f2c15cd85f3a662dab49df13e57f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 089b53afb3805583081bc3116812613a856a22adf2f3b2f47281e1b1ef68fb7ceb361728f7b116b8b5f880a01878e3834386de904cc7ae66890dc78e9bd487df
|
|
7
|
+
data.tar.gz: d38dd0fb08845d15d3ea31e8f0b8f2ca209e64bb8c33ab45588ce4b3a11c0e273923f37136f41a9293f6a1c9f3369999d0ed362e1946d008eacac700463d9d79
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
7.0.0.
|
|
1
|
+
7.0.0.rc5
|
|
@@ -153,6 +153,10 @@ module Gitlab
|
|
|
153
153
|
file_name = self.name.gsub("\.git", "") + "-" + commit.id.to_s + extension
|
|
154
154
|
file_path = File.join(storage_path, self.name, file_name)
|
|
155
155
|
|
|
156
|
+
# Create dir for archive file
|
|
157
|
+
parent_path = File.join(storage_path, self.name)
|
|
158
|
+
FileUtils.mkdir_p(parent_path) unless File.directory?(parent_path)
|
|
159
|
+
|
|
156
160
|
# Create file if not exists
|
|
157
161
|
create_archive(ref, pipe_cmd, file_path) unless File.exist?(file_path)
|
|
158
162
|
|