This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 2e6aa3a More valid resolutions
2e6aa3a is described below
commit 2e6aa3ac20dfcc64618c52131d5012ca4919db9b
Author: Sebb <[email protected]>
AuthorDate: Sat Nov 21 22:55:34 2020 +0000
More valid resolutions
---
lib/whimsy/asf/podling.rb | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lib/whimsy/asf/podling.rb b/lib/whimsy/asf/podling.rb
index 57c2579..2b563f1 100644
--- a/lib/whimsy/asf/podling.rb
+++ b/lib/whimsy/asf/podling.rb
@@ -430,7 +430,9 @@ module ASF
resolution = issue['fields']['resolution']
resolution = resolution ? resolution['name'] : 'Unresolved'
# Ignore duplicates and abandoned entries etc.
- next unless %w{Fixed Unresolved Resolved}.include? resolution
+ # PODLINGNAMESEARCH-9 is resolved as 'Not A Problem': this means it is
cleared for use
+ next unless %w{Fixed Unresolved Resolved
Implemented}.include?(resolution) ||
+ issue['key'] == 'PODLINGNAMESEARCH-9'
title = issue['fields']['summary'].strip.gsub(/\s+/, ' ')
name = issue['fields']['customfield_12310521']