consul/.copywrite.hcl

36 lines
1.1 KiB
HCL

schema_version = 1
project {
license = "BUSL-1.1"
copyright_year = 2023
# (OPTIONAL) A list of globs that should not have copyright/license headers.
# Supports doublestar glob patterns for more flexibility in defining which
# files or folders should be ignored
header_ignore = [
# Forked and modified UI libs
"ui/packages/consul-ui/app/utils/dom/event-target/**",
"ui/packages/consul-ui/lib/rehype-prism/**",
"ui/packages/consul-ui/lib/block-slots/**",
# UI file that do not render properly with copyright headers
"ui/packages/consul-ui/app/components/brand-loader/enterprise.hbs",
"ui/packages/consul-ui/app/components/brand-loader/index.hbs",
# ignore specific test data files
"agent/uiserver/testdata/**",
# generated files
"agent/structs/structs.deepcopy.go",
"agent/proxycfg/proxycfg.deepcopy.go",
"agent/grpc-middleware/rate_limit_mappings.gen.go",
"agent/uiserver/dist/**",
# licensed under MPL - ignoring for now until the copywrite tool can support
# multiple licenses per repo.
"sdk/**",
"api/**",
"proto-public/**",
]
}