Skip to content

Commit 6f13aec

Browse files
authored
core/api: Add missing LICENSE files to sub-modules (#27920)
Go module tooling mandates that each sub-module contains its own LICENSE file. If absent, it defaults to the LICENSE file in the root of the git repository. This resulted in the api/auth/* modules erroneously inheriting the BUSL license instead of the correct MPL license, as indicated by the SPDX info in the actual API code. This update ensures that module documentation is displayed correctly on pkg.go.dev and resolves issues with various tools showing incorrect license information for the sub-modules. Signed-off-by: Tero Saarni <[email protected]>
1 parent 13de053 commit 6f13aec

File tree

8 files changed

+2558
-0
lines changed

8 files changed

+2558
-0
lines changed

api/auth/approle/LICENSE

Lines changed: 365 additions & 0 deletions
Large diffs are not rendered by default.

api/auth/aws/LICENSE

Lines changed: 365 additions & 0 deletions
Large diffs are not rendered by default.

api/auth/azure/LICENSE

Lines changed: 365 additions & 0 deletions
Large diffs are not rendered by default.

api/auth/gcp/LICENSE

Lines changed: 365 additions & 0 deletions
Large diffs are not rendered by default.

api/auth/kubernetes/LICENSE

Lines changed: 365 additions & 0 deletions
Large diffs are not rendered by default.

api/auth/ldap/LICENSE

Lines changed: 365 additions & 0 deletions
Large diffs are not rendered by default.

api/auth/userpass/LICENSE

Lines changed: 365 additions & 0 deletions
Large diffs are not rendered by default.

changelog/27920.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:bug
2+
core/api: Added missing LICENSE files to API sub-modules to ensure Go module tooling recognizes MPL-2.0 license.
3+
```

0 commit comments

Comments
 (0)