Skip to content
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
62 changes: 31 additions & 31 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,15 @@ if (System.getProperty("idea.sync.active").toBoolean()) {
eclipse { project { name = ideName } }

tasks.named<RatTask>("rat").configure {
// These are Gradle file pattern syntax
// Gradle
excludes.add("**/build/**")
excludes.add("gradle/wrapper/gradle-wrapper*")
excludes.add(".gradle")
excludes.add("**/kotlin-compiler*")
excludes.add("**/build-logic/.kotlin/**")

excludes.add("docs/CNAME")
excludes.add("docs/index.html")
excludes.add("ide-name.txt")
excludes.add("version.txt")

excludes.add("DISCLAIMER_WIP")
excludes.add("LICENSE")
Expand All @@ -85,60 +89,56 @@ tasks.named<RatTask>("rat").configure {
// Manifest files do not allow comments
excludes.add("tools/version/src/jarTest/resources/META-INF/FAKE_MANIFEST.MF")

excludes.add("ide-name.txt")
excludes.add("version.txt")
// Git & GitHub
excludes.add(".git")
excludes.add(".gradle")
excludes.add(".idea")
excludes.add(".java-version")
excludes.add("**/.keep")
excludes.add("**/poetry.lock")

excludes.add(".github/pull_request_template.md")

excludes.add("spec/docs.yaml")
excludes.add("spec/index.yml")

excludes.add("gradle/wrapper/gradle-wrapper*")

// Misc build artifacts
excludes.add(".java-version")
excludes.add("**/.keep")
excludes.add("logs/**")
excludes.add("**/*.lock")

// Polaris service startup banner
excludes.add("runtime/service/src/**/banner.txt")

// Web site
excludes.add("**/go.sum")
excludes.add("site/node_modules/**")
excludes.add("site/layouts/robots.txt")
// Ignore generated stuff, when the Hugo is run w/o Docker
excludes.add("site/public/**")
excludes.add("site/resources/_gen/**")
excludes.add("node_modules/**")

// Python
excludes.add("**/.venv/**")
excludes.add("**/polaris-venv/**")

excludes.add("**/poetry.lock")
excludes.add("**/.ruff_cache/**")
excludes.add("**/.mypy_cache/**")
excludes.add("**/.pytest_cache/**")
excludes.add("client/python/.openapi-generator/**")

// Jupyter
excludes.add("**/*.ipynb")

// regtests
excludes.add("regtests/**/py.typed")
excludes.add("regtests/**/*.ref")
excludes.add("regtests/.env")
excludes.add("regtests/derby.log")
excludes.add("regtests/metastore_db/**")
excludes.add("client/python/.openapi-generator/**")
excludes.add("regtests/output/**")
excludes.add("plugins/**/*.ref")

excludes.add("**/*.ipynb")
// IntelliJ
excludes.add(".idea")
excludes.add("**/*.iml")
excludes.add("**/*.iws")

// Rat can't scan binary images
excludes.add("**/*.png")
excludes.add("**/*.svg")

excludes.add("**/*.lock")

excludes.add("**/*.env*")

excludes.add("**/go.sum")

excludes.add("**/kotlin-compiler*")
excludes.add("**/build-logic/.kotlin/**")

excludes.add("plugins/**/*.ref")
}

tasks.register<Exec>("regeneratePythonClient") {
Expand Down
19 changes: 19 additions & 0 deletions site/static/favicons/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 20 additions & 1 deletion site/static/img/apache-incubator.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 20 additions & 1 deletion site/static/img/example-workflow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions site/static/img/logos/polaris-catalog-stacked-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions site/static/img/overview.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 20 additions & 1 deletion site/static/img/rbac-example.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 20 additions & 1 deletion site/static/img/rbac-model.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 20 additions & 1 deletion site/static/img/sample-catalog-structure.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.