gitlab_git 7.1.6 → 7.1.7
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 +7 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d9c53a46ae33ee6f655b65987767c0e10bfdbba4
|
|
4
|
+
data.tar.gz: 6d0e4cb591acbf85a8e7617eed53eda0bd65c50d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7b6947ae5e1d3dbeaee8bb0b2d4c8309fbae0c75a1336d92cb67e175be31f623191e1266904b016784289d953a9d24996661c7ddd1a7a57e940966174143d242
|
|
7
|
+
data.tar.gz: 636a23d8b39216f6528f19f876b279ce10f3253d273834b361943e83e3093d6bacfa13d2f5b27e695b284e99f8f30f7199abbf2ea1f4d5432d06109a97ecdd79
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
7.1.
|
|
1
|
+
7.1.7
|
|
@@ -99,6 +99,10 @@ module Gitlab
|
|
|
99
99
|
rugged.empty?
|
|
100
100
|
end
|
|
101
101
|
|
|
102
|
+
def bare?
|
|
103
|
+
rugged.bare?
|
|
104
|
+
end
|
|
105
|
+
|
|
102
106
|
def repo_exists?
|
|
103
107
|
!!rugged
|
|
104
108
|
end
|
|
@@ -159,7 +163,7 @@ module Gitlab
|
|
|
159
163
|
|
|
160
164
|
pid_file_path = archive_pid_file_path(ref, storage_path, format)
|
|
161
165
|
return file_path if File.exist?(pid_file_path)
|
|
162
|
-
|
|
166
|
+
|
|
163
167
|
File.open(pid_file_path, "w") do |file|
|
|
164
168
|
file.puts Process.pid
|
|
165
169
|
end
|
|
@@ -189,7 +193,7 @@ module Gitlab
|
|
|
189
193
|
commit = Gitlab::Git::Commit.find(self, ref)
|
|
190
194
|
return nil unless commit
|
|
191
195
|
|
|
192
|
-
extension =
|
|
196
|
+
extension =
|
|
193
197
|
case format
|
|
194
198
|
when "tar.bz2", "tbz", "tbz2", "tb2", "bz2"
|
|
195
199
|
".tar.bz2"
|
|
@@ -957,7 +961,7 @@ module Gitlab
|
|
|
957
961
|
def nice_process(pid)
|
|
958
962
|
niced_process = %W(renice -n 20 -p #{pid})
|
|
959
963
|
|
|
960
|
-
unless RUBY_PLATFORM.include?('darwin')
|
|
964
|
+
unless RUBY_PLATFORM.include?('darwin') || RUBY_PLATFORM.include?('freebsd')
|
|
961
965
|
niced_process = %W(ionice -c 2 -n 7 -p #{pid}) + niced_process
|
|
962
966
|
end
|
|
963
967
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gitlab_git
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 7.1.
|
|
4
|
+
version: 7.1.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dmitriy Zaporozhets
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-04-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gitlab-linguist
|