Skip to content

Commit

Permalink
don't link validate license report (#899)
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning authored Nov 11, 2024
1 parent 91e5b1c commit bf5545d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 44 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/link-validator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ jobs:
run: sbt docs/makeSite

- 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
48 changes: 5 additions & 43 deletions scripts/link-validator.conf
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ site-link-validator {
ignore-missing-local-files-regex =
"^api/pekko-connectors/snapshot/org/apache/pekko/stream/connectors/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/"
Expand All @@ -34,53 +39,10 @@ site-link-validator {
"https://mvnrepository.com/artifact/"
# Errors in Scaladoc from Google Common header `X-Upload-Content-Type`
"https://doc.akka.io/api/akka-http/10.2.9/akka/http/impl/util/"
# Broken license report links
"http://glassfish.java.net/public/CDDL+GPL_1_1.html"
"https://glassfish.java.net/public/CDDL+GPL_1_1.html"
"http://jackson.codehaus.org"
"http://java.net/projects/jms-spec/pages/Home"
"http://jaxb.java.net/"
"http://jetty.mortbay.org"
"http://jta-spec.java.net"
"http://propensive.com/"
"http://servlet-spec.java.net"
"http://websocket-spec.java.net"
"https://jaxb.dev.java.net/"
"https://jsr311.dev.java.net"
"http://lmax-exchange.github.com/disruptor"
]

non-https-whitelist = [
# license report
"http://logback.qos.ch/"
"http://www.slf4j.org/"
"http://reactivemongo.org"
"http://www.thedevpiece.com/"
"http://aopalliance.sourceforge.net"
"http://asm.ow2.io/"
"http://avro.apache.org"
"http://beanvalidation.org"
"http://checkerframework.org"
"http://code.google.com/p/"
"http://commons.apache.org/"
"http://geode.apache.org"
"http://couchbase.com"
"http://creativecommons.org/publicdomain/zero/1.0/"
"http://ehcache.org"
"http://fastutil.di.unimi.it/"
"http://findbugs.sourceforge.net/"
"http://github.com/FasterXML/"
"http://github.com/airlift/aircompressor"
"http://github.com/google/"
"http://github.com/jnr/"
"http://github.com/julianhyde/eigenbase-properties"
"http://github.com/sbt/junit-interface/"
"http://github.com/square/javapoet/"
"http://glassfish.java.net/public/CDDL+GPL_1_1.html"
"http://hamcrest.org/JavaHamcrest/"
# generated by @apidoc
"http://pravega.io/"
"http://www.scala-lang.org/api/2.13.13/scala/concurrent/Future.html"
"http://www.scala-lang.org/api/2.13.13/scala/util/Try.html"
]
}

0 comments on commit bf5545d

Please sign in to comment.