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 776604a Allow for hc breadcrumb
776604a is described below
commit 776604a77c542afac0e5ab009c68ea92952ce894
Author: Sebb <[email protected]>
AuthorDate: Thu May 6 11:44:27 2021 +0100
Allow for hc breadcrumb
---
tools/download_check.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/download_check.rb b/tools/download_check.rb
index f955771..97915a5 100755
--- a/tools/download_check.rb
+++ b/tools/download_check.rb
@@ -275,7 +275,7 @@ def get_links(body, checkSpaces=false)
W "Spurious space(s) in '#{tmp}'"
end
text = node.text.gsub(/[[:space:]]+/,' ').strip
- [href,text]
+ [href,text] unless href =~ %r{/httpcomponents.+/xdoc/downloads.xml} #
breadcrumb link to source
}.select{|x, _y| x =~ %r{^(https?:)?//} }
end