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-grpc.git
commit c2b864137a82cc0fc32ed4c3efd09b652a695f69 Author: Arnout Engelen <[email protected]> AuthorDate: Sun Nov 3 10:44:49 2024 +0100 link validator: ignore license report --- .github/workflows/link-validator.yml | 3 ++- scripts/link-validator.conf | 46 +++++------------------------------- 2 files changed, 8 insertions(+), 41 deletions(-) diff --git a/.github/workflows/link-validator.yml b/.github/workflows/link-validator.yml index c987318a..66fb7ca8 100644 --- a/.github/workflows/link-validator.yml +++ b/.github/workflows/link-validator.yml @@ -39,5 +39,6 @@ jobs: - name: Run Link Validator run: | VERSION=$(ls docs/target/site/docs/pekko-grpc) + echo "Version is $VERSION" sed -e "s/snapshot/$VERSION/" scripts/link-validator.conf > /tmp/link-validator.conf - cs launch net.runne::site-link-validator:0.2.2 -- /tmp/link-validator.conf + cs launch net.runne::site-link-validator:0.2.5 -- /tmp/link-validator.conf diff --git a/scripts/link-validator.conf b/scripts/link-validator.conf index aa024a5e..6ff44e27 100644 --- a/scripts/link-validator.conf +++ b/scripts/link-validator.conf @@ -1,7 +1,7 @@ # SPDX-License-Identifier: Apache-2.0 site-link-validator { - root-dir = "./docs/target/site/" + root-dir = "docs/target/site/" # relative to `root-dir` start-file = "docs/pekko-grpc/snapshot/index.html" @@ -19,54 +19,20 @@ site-link-validator { ignore-missing-local-files-regex = "" + ignore-files = [ + # This file is generated, we can't do much about the invalid links here + "docs/pekko-grpc/snapshot/license-report.html" + ] + ignore-prefixes = [ # GitHub will block with "429 Too Many Requests" "https://github.com/apache/pekko-grpc/" # MVN repository forbids access after a few requests "https://mvnrepository.com/artifact/" - # Github links generated by sbt-license-report - "http://pholser.github.com/jopt-simple" - "https://github.com/googleapis/java-iam/proto-google-common-protos" - "https://github.com/netty/netty-tcnative/netty-tcnative-boringssl-static" - # Other links generated by sbt-license-report - "http://lmax-exchange.github.com/disruptor" # Occasionally returns a 500 Internal Server Error "http://code.google.com/" ] non-https-whitelist = [ - # license report - "http://www.jetbrains.org", - "http://aopalliance.sourceforge.net", - "http://asm.ow2.io/", - "http://checkerframework.org", - "http://code.google.com/p/", - "http://commons.apache.org/proper/", - "http://findbugs.sourceforge.net/", - "http://fusesource.github.io/jansi", - "http://github.com/typelevel/jawn" - "http://hc.apache.org/", - "http://hdrhistogram.github.io/HdrHistogram/", - "http://jcp.org/en/jsr/detail?id=250", - "http://junit.org", - "http://lmax-exchange.github.com/disruptor", - "http://openjdk.java.net/legal/gplv2+ce.html", - "http://opensource.org/licenses/", - "http://www.opensource.org/licenses/", - "http://parboiled.org", - "http://pholser.github.com/jopt-simple", - "http://source.android.com/", - "http://www.apache.org/licenses", - "http://www.eclipse.org/legal/", - "http://www.gnu.org/licenses/", - "http://www.jcraft.com/jsch/", - "http://www.reactive-streams.org/", - "http://www.scala-lang.org/", - "http://www.scala-sbt.org", - "http://www.scalatest.org", - "http://www.slf4j.org", - "http://creativecommons.org/" - "http://jopt-simple.github.io/" - "http://jspecify.org/" ] } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
