From a7aa97f313540550583f6ed21ba0a30dbe8a39aa Mon Sep 17 00:00:00 2001 From: Superset Dev Date: Mon, 4 May 2026 09:26:16 -0700 Subject: [PATCH] chore(license-check): exclude auto-generated API sidebar files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit docs/scripts/convert-api-sidebar.mjs generates docs/developer_docs/api/sidebar.js and sidebar.ts from the OpenAPI spec at build time. The source dir is .gitignored, so this hadn't surfaced before — but the 6.1.0 cut for developer_docs captured a snapshot of those generated files in developer_docs_versioned_docs/version-6.1.0/api/, which is tracked in git. Apache RAT then flagged the missing license headers. Add the basenames to .rat-excludes; they're auto-generated artifacts of an ASF-licensed generator and don't carry their own headers. --- .rat-excludes | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.rat-excludes b/.rat-excludes index 44cf26ac6a3..30b1ef1da9d 100644 --- a/.rat-excludes +++ b/.rat-excludes @@ -43,6 +43,9 @@ _build/* _static/* .buildinfo searchindex.js +# auto-generated by docs/scripts/convert-api-sidebar.mjs from openapi.json +sidebar.js +sidebar.ts # auto generated requirements/* # vendorized