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 e7b4101 Allow for some more unusual Podling entries
e7b4101 is described below
commit e7b410151d75ad8da841349fd1808b49e2d7ea70
Author: Sebb <[email protected]>
AuthorDate: Thu Nov 19 12:16:04 2020 +0000
Allow for some more unusual Podling entries
---
lib/whimsy/asf/podling.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/whimsy/asf/podling.rb b/lib/whimsy/asf/podling.rb
index 487cc6e..655b422 100644
--- a/lib/whimsy/asf/podling.rb
+++ b/lib/whimsy/asf/podling.rb
@@ -421,7 +421,7 @@ module ASF
if name
name.sub! /^Apache\s+/, ''
name.gsub! /\s+\(.*?\)/, ''
- name = nil if name =~ /^\s*This/ or name !~ /[A-Z]/
+ name = nil if name =~ /^\s*This/ or name !~ /[A-Z]/ or name =~
%r{^N/A}
end
name ||= title[/"Apache ([a-zA-Z].*?)"/, 1]