tefoji 3.4.1 → 3.4.2
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/lib/tefoji/version.rb +1 -1
- data/lib/tefoji.rb +11 -14
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b63db03509300205daa35c04b5329905a3d276a436d747ff884d310b8aac9d53
|
|
4
|
+
data.tar.gz: c050a2e8a39285ee728247955c133dab3b87f9526d23549b34e3d91a85d53877
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 32756204412d4c4b1ab1420fcc9b67b4caaeb1f34ea5c8ea62b5e02466592371d9e7f5e377417ca6dfce6c7c88766350955415a65d5d10a0995297e1d93c99fe
|
|
7
|
+
data.tar.gz: 17b5b4a29527381c795e3f220b6b4a446c82c92c9bd6ee0fb70cae8b0d928a42eadc047c7f5c97dd6ab135b7b626bbe0e6f319122a41b8bd5a832f2b10455f18
|
data/lib/tefoji/version.rb
CHANGED
data/lib/tefoji.rb
CHANGED
|
@@ -427,6 +427,17 @@ module Tefoji
|
|
|
427
427
|
# Return the fully prepared Jira hash as well as the 'raw' variable-substituted one;
|
|
428
428
|
# The latter will be needed when processing deferrals.
|
|
429
429
|
def prepare_jira_ready_data(issue, issue_defaults)
|
|
430
|
+
# For multi-epic templates, skip this issue if it is not part of this epic
|
|
431
|
+
if issue.key?('epic_link') &&
|
|
432
|
+
issue['epic_link'] != @default_target_epic['short_name'].value
|
|
433
|
+
@logger.debug 'Issue %s "%s" does not have "%s" as epic_link, skipping' % [
|
|
434
|
+
issue['short_name'],
|
|
435
|
+
issue['epic_link'],
|
|
436
|
+
@default_target_epic['short_name'].value
|
|
437
|
+
]
|
|
438
|
+
return nil
|
|
439
|
+
end
|
|
440
|
+
|
|
430
441
|
raw_issue_data = variable_substitute(issue_defaults.merge(issue), except: %w[summary_format])
|
|
431
442
|
error_name = raw_issue_data['short_name']
|
|
432
443
|
|
|
@@ -441,20 +452,6 @@ module Tefoji
|
|
|
441
452
|
)
|
|
442
453
|
end
|
|
443
454
|
|
|
444
|
-
# For multi-epic templates, skip this issue if it is not part of this epic
|
|
445
|
-
if raw_issue_data.key?('epic_link') &&
|
|
446
|
-
raw_issue_data['epic_link'].value != @default_target_epic['short_name'].value
|
|
447
|
-
@logger.debug 'Issue %s "%s" does not have "%s" as epic_link, skipping' % [
|
|
448
|
-
raw_issue_data['short_name'].value,
|
|
449
|
-
raw_issue_data['epic_link'].value,
|
|
450
|
-
@default_target_epic['short_name'].value
|
|
451
|
-
]
|
|
452
|
-
return nil
|
|
453
|
-
end
|
|
454
|
-
|
|
455
|
-
return nil if raw_issue_data.key?('epic_link') &&
|
|
456
|
-
raw_issue_data['epic_link'].value != @default_target_epic['short_name'].value
|
|
457
|
-
|
|
458
455
|
if conflicting_conditionals?(raw_issue_data)
|
|
459
456
|
fatal "Issue \"#{error_name}\" has conflicting conditionals."
|
|
460
457
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tefoji
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.4.
|
|
4
|
+
version: 3.4.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Puppet By Perforce
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-03-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: debug
|
|
@@ -174,7 +174,7 @@ licenses:
|
|
|
174
174
|
metadata:
|
|
175
175
|
homepage_uri: https://github.com/puppetlabs/tefoji
|
|
176
176
|
source_code_uri: https://github.com/puppetlabs/tefoji
|
|
177
|
-
changelog_uri: https://github.com/puppetlabs/tefoji/CHANGELOG.md
|
|
177
|
+
changelog_uri: https://github.com/puppetlabs/tefoji/blob/main/CHANGELOG.md
|
|
178
178
|
post_install_message:
|
|
179
179
|
rdoc_options: []
|
|
180
180
|
require_paths:
|