Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ignore links in license report #629

Merged
merged 1 commit into from
Nov 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/link-validator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
34 changes: 5 additions & 29 deletions scripts/link-validator.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
Expand All @@ -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
Expand Down
Loading