Skip to content

Commit

Permalink
ignore links in license report (#232)
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning authored Nov 11, 2024
1 parent e4bbed2 commit 55e1897
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 32 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/link-validator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ jobs:
run: sbt "set ThisBuild / version := \"1.0.0\"; 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
37 changes: 6 additions & 31 deletions scripts/link-validator.conf
Original file line number Diff line number Diff line change
Expand Up @@ -47,46 +47,21 @@ 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/"
# GitHub will block with "429 Too Many Requests"
"https://github.com/"
# Links to datastax.com work in practice but fail with link validator
"https://docs.datastax.com/"
# license report
"http://stephenc.github.com/jcip-annotations"
"http://fi.java.net"
"http://stax-ex.java.net/"
"https://glassfish.java.net/public/CDDL+GPL_1_1.html"
]

non-https-whitelist = [
# license report
"http://asm.ow2.io/"
"http://creativecommons.org/publicdomain/zero/1.0/"
"http://dev.mysql.com/doc/connector-j/en/"
"http://dom4j.github.io/"
"http://findbugs.sourceforge.net/"
"http://github.com/"
"http://hdrhistogram.github.io/HdrHistogram/"
"http://hibernate.org"
"http://junit.org"
"http://opensource.org/licenses/"
"http://www.opensource.org/licenses/"
"http://repository.jboss.org/licenses/gpl-2.0-ce.txt"
"http://slick.typesafe.com"
"http://stephenc.github.com/jcip-annotations"
"http://www.antlr.org/"
"http://www.apache.org/licenses/"
"http://www.eclipse.org/"
"http://www.gnu.org/"
"http://www.javassist.org/"
"http://www.jboss.org"
"http://www.mozilla.org/"
"http://www.reactive-streams.org/"
"http://www.scala-lang.org/"
"http://www.scalatest.org"
"http://www.slf4j.org"

]
}

0 comments on commit 55e1897

Please sign in to comment.