This is an automated email from the ASF dual-hosted git repository.

engelen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko-http.git


The following commit(s) were added to refs/heads/main by this push:
     new 4fb855464 ignore links in license report (#629)
4fb855464 is described below

commit 4fb855464824540f9e5a452b5f85a7d1b4ad2a04
Author: PJ Fanning <[email protected]>
AuthorDate: Mon Nov 11 12:52:04 2024 +0100

    ignore links in license report (#629)
---
 .github/workflows/link-validator.yml |  2 +-
 scripts/link-validator.conf          | 34 +++++-----------------------------
 2 files changed, 6 insertions(+), 30 deletions(-)

diff --git a/.github/workflows/link-validator.yml 
b/.github/workflows/link-validator.yml
index 990fe0acb..7af9be37b 100644
--- a/.github/workflows/link-validator.yml
+++ b/.github/workflows/link-validator.yml
@@ -46,4 +46,4 @@ jobs:
         run: sbt -Dpekko.genjavadoc.enabled=true "set ThisBuild / version := 
\"1.0.0\"; Javaunidoc/doc; Compile/unidoc; docs/paradox"
 
       - name: Run Link Validator
-        run: cs launch net.runne::site-link-validator:0.2.2 -- 
scripts/link-validator.conf
+        run: cs launch net.runne::site-link-validator:0.2.5 -- 
scripts/link-validator.conf
diff --git a/scripts/link-validator.conf b/scripts/link-validator.conf
index b54a9437d..3bacea87a 100644
--- a/scripts/link-validator.conf
+++ b/scripts/link-validator.conf
@@ -47,6 +47,11 @@ site-link-validator {
   ignore-missing-local-files-regex = ""
   // e.g. 
"^api/alpakka/snapshot/pekko/stream/alpakka/googlecloud/storage/impl/Formats.*"
 
+  ignore-files = [
+    # This file is generated, we can't do much about the invalid links here
+    "license-report.html"
+  ]
+  
   ignore-prefixes = [
     # Fails after a number of requests with "403 Forbidden"
     "https://javadoc.io/static/";
@@ -64,40 +69,11 @@ site-link-validator {
     "http://code.google.com/";
     # sample endpoint
     "http://localhost:8080";
-    # broken URL in license report
-    "http://pholser.github.com/";
-    "http://specs2.org/";
   ]
 
   non-https-whitelist = [
     # sample in docs
     "http://example.com";
-    # license report
-    "http://asm.ow2.io/";
-    "http://commons.apache.org/";
-    "http://www.apache.org/licenses/LICENSE-2.0";
-    "http://findbugs.sourceforge.net/";
-    "http://github.com/FasterXML/";
-    "http://github.com/ronmamo/";
-    "http://github.com/sbt/junit-interface/";
-    "http://jopt-simple.github.io/jopt-simple";
-    "http://junit.org";
-    "http://netty.io/";
-    "http://openjdk.java.net/legal/gplv2+ce.html";
-    "http://opensource.org/licenses/MIT";
-    "http://parboiled.org";
-    "http://specs2.org/";
-    "http://www.eclipse.org/legal/epl-v10.html";
-    "http://www.javassist.org/";
-    "http://www.mozilla.org/MPL/MPL-1.1.html";
-    "http://www.opensource.org/licenses/";
-    "http://opensource.org/licenses/";
-    "http://www.reactive-streams.org/";
-    "http://www.scala-lang.org/";
-    "http://www.scala-sbt.org";
-    "http://www.scalacheck.org";
-    "http://www.scalatest.org";
-    "http://www.slf4j.org";
     # no https support
     "http://spray.io/blog/";
     # javadoc


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to