Skip to content

Commit

Permalink
project report: exclude from link validator (#348)
Browse files Browse the repository at this point in the history
  • Loading branch information
raboof authored Nov 1, 2024
1 parent a6d95bf commit aa3a99e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 43 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/link-validator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ jobs:
run: sbt "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
47 changes: 5 additions & 42 deletions scripts/link-validator.conf
Original file line number Diff line number Diff line change
Expand Up @@ -28,60 +28,23 @@ 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 = [
# example in docs
"http://127.0.0.1"
# Fails after a number of requests with "403 Forbidden"
"https://javadoc.io/static/"
# GitHub will block with "429 Too Many Requests"
"https://github.com/"
# Github links generated by sbt-license-report
"http://github.com/"
# Other links generated by sbt-license-report
"http://asm.objectweb.org/"
"http://groovy.codehaus.org/"
"http://www.mockito.org"
"https://glassfish.dev.java.net/nonav/public/CDDL+GPL.html"
"http://servlet-spec.java.net"
# Occasionally returns a 500 Internal Server Error
"http://code.google.com/"
]

non-https-whitelist = [
# license report
"http://ant.apache.org/"
"http://asm.objectweb.org/"
"http://asm.ow2.io/"
"http://commons.apache.org/"
"http://ezmorph.sourceforge.net"
"http://findbugs.sourceforge.net/"
"http://groovy.codehaus.org/modules/http-builder/"
"http://hamcrest.org/JavaHamcrest/"
"http://hc.apache.org/"
"http://jopt-simple.github.io/jopt-simple"
"http://json-lib.sourceforge.net"
"http://junit.org"
"http://maven.apache.org"
"http://nekohtml.sourceforge.net/"
"http://opensource.org/"
"http://parboiled.org"
"http://servlet-spec.java.net"
"http://wiremock.org"
"http://www.apache.org/license/"
"http://www.apache.org/licenses/"
"http://www.eclipse.org/legal/epl-v10.html"
"http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html"
"http://www.jetbrains.org"
"http://www.joda.org/joda-time/"
"http://www.mockito.org"
"http://www.opensource.org/licenses/bsd-license.php"
"http://www.opensource.org/licenses/mit-license.php"
"http://www.reactive-streams.org/"
"http://www.scala-lang.org/"
"http://www.scalatest.org"
"http://www.slf4j.org"
"http://xerces.apache.org/xerces2-j"
"http://xml.apache.org/"
]

}

0 comments on commit aa3a99e

Please sign in to comment.