uricp 0.0.18 → 0.0.23
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/Gemfile.lock +3 -2
- data/Jenkinsfile +88 -58
- data/Rakefile +5 -0
- data/almalinux8/Dockerfile +26 -0
- data/bin/uricp +26 -11
- data/bionic/Dockerfile +2 -1
- data/centos7/Dockerfile +16 -9
- data/cucumber.yml +1 -0
- data/features/check_uri_path.feature +14 -0
- data/features/rbd_access.feature +248 -0
- data/features/step_definitions/rbd_steps.rb +8 -0
- data/focal/Dockerfile +10 -3
- data/lib/uricp/strategy/cache_common.rb +19 -1
- data/lib/uricp/strategy/cached_get.rb +8 -5
- data/lib/uricp/strategy/common.rb +69 -1
- data/lib/uricp/strategy/piped_cache.rb +7 -4
- data/lib/uricp/strategy/piped_rbd_get.rb +8 -24
- data/lib/uricp/strategy/rbd_cache_base_snap.rb +27 -0
- data/lib/uricp/strategy/rbd_cache_check.rb +42 -0
- data/lib/uricp/strategy/rbd_cache_clone.rb +39 -0
- data/lib/uricp/strategy/rbd_cache_upload.rb +40 -0
- data/lib/uricp/strategy/rbd_cached_get.rb +36 -0
- data/lib/uricp/strategy/rbd_cached_put.rb +32 -0
- data/lib/uricp/strategy/{rbd_remote_put.rb → rbd_put.rb} +7 -5
- data/lib/uricp/strategy/rbd_snap.rb +57 -0
- data/lib/uricp/strategy/rbd_sweeper.rb +2 -1
- data/lib/uricp/uri_strategy.rb +8 -1
- data/lib/uricp/version.rb +1 -1
- data/lib/uricp.rb +26 -19
- data/uricp.gemspec +2 -1
- data/xenial/Dockerfile +2 -1
- metadata +33 -5
data/uricp.gemspec
CHANGED
@@ -23,7 +23,8 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.add_development_dependency('aruba', '~> 0.6.0')
|
24
24
|
spec.add_development_dependency('cucumber', '~> 1.3')
|
25
25
|
spec.add_development_dependency('rake', '~> 12.3')
|
26
|
-
spec.add_dependency('
|
26
|
+
spec.add_dependency('childprocess', '~> 1.0')
|
27
|
+
spec.add_dependency('methadone', '~> 2.0.2')
|
27
28
|
spec.add_dependency('open4', '~> 1.3.0')
|
28
29
|
spec.add_dependency('filesize', '= 0.0.2')
|
29
30
|
spec.add_dependency('sendfile', '~> 1.2.0')
|
data/xenial/Dockerfile
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
FROM ubuntu:xenial
|
2
2
|
MAINTAINER support@brightbox.co.uk
|
3
3
|
|
4
|
+
RUN echo "gem: --no-ri --no-rdoc" >> "$HOME/.gemrc"
|
5
|
+
|
4
6
|
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y -qq software-properties-common
|
5
7
|
|
6
8
|
#RUN apt-add-repository ppa:brightbox/ruby-ng
|
@@ -16,5 +18,4 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y -qq \
|
|
16
18
|
python-swiftclient \
|
17
19
|
ruby-bundler
|
18
20
|
|
19
|
-
RUN echo "gem: --no-ri --no-rdoc" >> "$HOME/.gemrc"
|
20
21
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uricp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Neil Wilson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-09-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -80,20 +80,34 @@ dependencies:
|
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '12.3'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: childprocess
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '1.0'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '1.0'
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: methadone
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|
86
100
|
requirements:
|
87
101
|
- - "~>"
|
88
102
|
- !ruby/object:Gem::Version
|
89
|
-
version: 2.0.
|
103
|
+
version: 2.0.2
|
90
104
|
type: :runtime
|
91
105
|
prerelease: false
|
92
106
|
version_requirements: !ruby/object:Gem::Requirement
|
93
107
|
requirements:
|
94
108
|
- - "~>"
|
95
109
|
- !ruby/object:Gem::Version
|
96
|
-
version: 2.0.
|
110
|
+
version: 2.0.2
|
97
111
|
- !ruby/object:Gem::Dependency
|
98
112
|
name: open4
|
99
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -167,6 +181,7 @@ files:
|
|
167
181
|
- LICENSE.txt
|
168
182
|
- README.md
|
169
183
|
- Rakefile
|
184
|
+
- almalinux8/Dockerfile
|
170
185
|
- bin/segment_upload
|
171
186
|
- bin/uricp
|
172
187
|
- bionic/Dockerfile
|
@@ -174,12 +189,15 @@ files:
|
|
174
189
|
- cucumber.yml
|
175
190
|
- features/auth_download.feature
|
176
191
|
- features/cacheable_from_uri.feature
|
192
|
+
- features/check_uri_path.feature
|
177
193
|
- features/documented_options.feature
|
178
194
|
- features/qcow2_auth_download.feature
|
195
|
+
- features/rbd_access.feature
|
179
196
|
- features/remote_upload.feature
|
180
197
|
- features/segmented_upload.feature
|
181
198
|
- features/segmented_upload_options.feature
|
182
199
|
- features/step_definitions/orbit_steps.rb
|
200
|
+
- features/step_definitions/rbd_steps.rb
|
183
201
|
- features/step_definitions/uricp_steps.rb
|
184
202
|
- features/support/env.rb
|
185
203
|
- features/userid_download.feature
|
@@ -205,7 +223,14 @@ files:
|
|
205
223
|
- lib/uricp/strategy/piped_local_put.rb
|
206
224
|
- lib/uricp/strategy/piped_rbd_get.rb
|
207
225
|
- lib/uricp/strategy/piped_remote_get.rb
|
208
|
-
- lib/uricp/strategy/
|
226
|
+
- lib/uricp/strategy/rbd_cache_base_snap.rb
|
227
|
+
- lib/uricp/strategy/rbd_cache_check.rb
|
228
|
+
- lib/uricp/strategy/rbd_cache_clone.rb
|
229
|
+
- lib/uricp/strategy/rbd_cache_upload.rb
|
230
|
+
- lib/uricp/strategy/rbd_cached_get.rb
|
231
|
+
- lib/uricp/strategy/rbd_cached_put.rb
|
232
|
+
- lib/uricp/strategy/rbd_put.rb
|
233
|
+
- lib/uricp/strategy/rbd_snap.rb
|
209
234
|
- lib/uricp/strategy/rbd_sweeper.rb
|
210
235
|
- lib/uricp/strategy/remote_put.rb
|
211
236
|
- lib/uricp/strategy/segmented_remote_put.rb
|
@@ -240,12 +265,15 @@ summary: Copy one URL to another with optional cacheing
|
|
240
265
|
test_files:
|
241
266
|
- features/auth_download.feature
|
242
267
|
- features/cacheable_from_uri.feature
|
268
|
+
- features/check_uri_path.feature
|
243
269
|
- features/documented_options.feature
|
244
270
|
- features/qcow2_auth_download.feature
|
271
|
+
- features/rbd_access.feature
|
245
272
|
- features/remote_upload.feature
|
246
273
|
- features/segmented_upload.feature
|
247
274
|
- features/segmented_upload_options.feature
|
248
275
|
- features/step_definitions/orbit_steps.rb
|
276
|
+
- features/step_definitions/rbd_steps.rb
|
249
277
|
- features/step_definitions/uricp_steps.rb
|
250
278
|
- features/support/env.rb
|
251
279
|
- features/userid_download.feature
|