Files
greptimedb/licenserc-enterprise.toml
dennis zhuang e89d591cb4 chore: declare GreptimeDB Enterprise License for enterprise-gated sources (#8364)
* chore: declare GreptimeDB Enterprise License for enterprise-gated sources

The `enterprise`-feature-gated sources (triggers, mito2 extension) were
excluded from the Apache-2.0 header check but carried no license of their
own. Declare a separate GreptimeDB Enterprise License and enforce it.

- Add LICENSE-ENTERPRISE (open-core split; core stays Apache-2.0).
- Add an Enterprise License header to each enterprise source file.
- Add licenserc-enterprise.toml and a second hawkeye step in CI to enforce
  the Enterprise header on exactly those files.
- Cross-reference the two complementary file lists; document the layout in
  licenses/README.md and the README License section.

Signed-off-by: Dennis Zhuang <killme2008@gmail.com>

* chore: reference per-customer Enterprise Agreement instead of a terms URL

There is no public enterprise-terms page; each customer signs an individually
negotiated agreement. Point the license at a "separate written commercial
agreement with GrepTime Inc." and direct readers to the existing contact page.

Signed-off-by: Dennis Zhuang <killme2008@gmail.com>

---------

Signed-off-by: Dennis Zhuang <killme2008@gmail.com>
2026-06-26 06:31:02 +00:00

31 lines
1.2 KiB
TOML

# License-header config for GreptimeDB Enterprise Edition source files.
#
# These files are commercially licensed under the GreptimeDB Enterprise License
# (see /LICENSE-ENTERPRISE), NOT Apache-2.0. They are kept out of the main
# Apache-2.0 header check in `licenserc.toml` (listed under its `excludes`) and
# are instead enforced here. Run with:
#
# hawkeye check --config licenserc-enterprise.toml
# hawkeye format --config licenserc-enterprise.toml # to apply/fix headers
headerPath = "licenses/enterprise-header.txt"
# Only the enterprise-gated sources. Keep this list in sync with the
# "# enterprise" block in `licenserc.toml`'s `excludes`.
includes = [
"src/common/meta/src/rpc/ddl/trigger.rs",
"src/operator/src/expr_helper/trigger.rs",
"src/sql/src/statements/alter/trigger.rs",
"src/sql/src/statements/create/trigger.rs",
"src/sql/src/statements/show/trigger.rs",
"src/sql/src/statements/drop/trigger.rs",
"src/sql/src/parsers/alter_parser/trigger.rs",
"src/sql/src/parsers/create_parser/trigger.rs",
"src/sql/src/parsers/show_parser/trigger.rs",
"src/mito2/src/extension.rs",
]
[properties]
inceptionYear = 2023
copyrightOwner = "GrepTime Inc."