pushmi_pullyu 2.1.1 → 2.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/Gemfile.lock +1 -1
- data/lib/pushmi_pullyu/cli.rb +5 -4
- data/lib/pushmi_pullyu/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: efbf0435968a4a9c78b8ff2c5052a1b872277085ee6d849ccf973f468bcf806b
|
4
|
+
data.tar.gz: 98bb7ec8dcd874876235bb4f7c41272e2a033f9c014e3efb78c834344d1ab72a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: beec01dfe70827e3f0dac9289d4a11e63a98b9df2077a8343a46ac2b58de32be4cf634d7fd0f9cb22763b58083de6dbecd10a98e783b491e61dbef4f56ea77df
|
7
|
+
data.tar.gz: add946bc1f39b790fd7bee843e95b55785df90169ae3fa719d322db6e2282dcd0f8615f6be25fc4512ecdfc0467ae9ba5efdc7192398ffb685d5d0d90261cc99
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,9 @@ PushmiPullyu is a Ruby application, whose primary job is to manage the flow of c
|
|
6
6
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
7
7
|
and releases in PushmiPullyu adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
8
8
|
|
9
|
+
## [2.1.2]
|
10
|
+
- Simplify get entity code [#280](https://github.com/ualbertalib/pushmi_pullyu/issues/280)
|
11
|
+
|
9
12
|
## [2.1.1]
|
10
13
|
- Increase clarity of log files [#433](https://github.com/ualbertalib/pushmi_pullyu/issues/433)
|
11
14
|
|
data/Gemfile.lock
CHANGED
data/lib/pushmi_pullyu/cli.rb
CHANGED
@@ -199,13 +199,14 @@ class PushmiPullyu::CLI
|
|
199
199
|
def run_preservation_cycle
|
200
200
|
begin
|
201
201
|
entity = queue.wait_next_item
|
202
|
-
PushmiPullyu::Logging.log_preservation_attempt(entity,
|
203
|
-
queue.get_entity_ingestion_attempt(entity))
|
204
|
-
return unless entity && entity[:type].present? && entity[:uuid].present?
|
205
202
|
rescue StandardError => e
|
206
203
|
log_exception(e)
|
207
204
|
end
|
208
205
|
|
206
|
+
return unless entity && entity[:type].present? && entity[:uuid].present?
|
207
|
+
|
208
|
+
PushmiPullyu::Logging.log_preservation_attempt(entity,
|
209
|
+
queue.get_entity_ingestion_attempt(entity))
|
209
210
|
# add additional information about the error context to errors that occur while processing this item.
|
210
211
|
Rollbar.scoped(entity_uuid: entity[:uuid]) do
|
211
212
|
# Download AIP from Jupiter, bag and tar AIP directory and cleanup after
|
@@ -225,7 +226,7 @@ class PushmiPullyu::CLI
|
|
225
226
|
queue.add_entity_in_timeframe(entity)
|
226
227
|
PushmiPullyu::Logging.log_preservation_fail_and_retry(entity, queue.get_entity_ingestion_attempt(entity), e)
|
227
228
|
rescue PushmiPullyu::PreservationQueue::MaxDepositAttemptsReached => e
|
228
|
-
PushmiPullyu::Logging.log_preservation_failure(entity,
|
229
|
+
PushmiPullyu::Logging.log_preservation_failure(entity, PushmiPullyu.options[:ingestion_attempts], e)
|
229
230
|
log_exception(e)
|
230
231
|
end
|
231
232
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pushmi_pullyu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shane Murnaghan
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-06-
|
12
|
+
date: 2024-06-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|