Skip to content

Commit

Permalink
copywrite: fix and add copywrite config enterprise comments. (#19590)
Browse files Browse the repository at this point in the history
Nomad CI checks for copywrite headers using multiple config files
for specific exemption paths. This means the top-level config file
does not take effect when running the copywrite script within
these sub-folders. Exempt files therefore need to be added to the
sub-config files, along with the top level.
  • Loading branch information
jrasell authored Jan 3, 2024
1 parent a87aa71 commit 91cba75
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .copywrite.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ project {
"command/agent/bindata_assetfs.go",
"ui/node_modules",

// Enterprise files do not fall under the open source licensing. OSS-ENT
// merge conflicts might happen here, please be sure to put new OSS
// Enterprise files do not fall under the open source licensing. CE-ENT
// merge conflicts might happen here, please be sure to put new CE
// exceptions above this comment.
]
}
6 changes: 5 additions & 1 deletion api/.copywrite.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,9 @@ project {
license = "MPL-2.0"
copyright_year = 2024

header_ignore = []
header_ignore = [
// Enterprise files do not fall under the open source licensing. CE-ENT
// merge conflicts might happen here, please be sure to put new CE
// exceptions above this comment.
]
}
6 changes: 5 additions & 1 deletion demo/.copywrite.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,9 @@ project {
license = "MPL-2.0"
copyright_year = 2024

header_ignore = []
header_ignore = [
// Enterprise files do not fall under the open source licensing. CE-ENT
// merge conflicts might happen here, please be sure to put new CE
// exceptions above this comment.
]
}
6 changes: 5 additions & 1 deletion drivers/shared/.copywrite.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,9 @@ project {
license = "MPL-2.0"
copyright_year = 2024

header_ignore = []
header_ignore = [
// Enterprise files do not fall under the open source licensing. CE-ENT
// merge conflicts might happen here, please be sure to put new CE
// exceptions above this comment.
]
}
6 changes: 5 additions & 1 deletion jobspec/.copywrite.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,9 @@ project {
license = "MPL-2.0"
copyright_year = 2024

header_ignore = []
header_ignore = [
// Enterprise files do not fall under the open source licensing. CE-ENT
// merge conflicts might happen here, please be sure to put new CE
// exceptions above this comment.
]
}
6 changes: 5 additions & 1 deletion jobspec2/.copywrite.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,9 @@ project {
license = "MPL-2.0"
copyright_year = 2024

header_ignore = []
header_ignore = [
// Enterprise files do not fall under the open source licensing. CE-ENT
// merge conflicts might happen here, please be sure to put new CE
// exceptions above this comment.
]
}
6 changes: 5 additions & 1 deletion plugins/.copywrite.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,9 @@ project {
license = "MPL-2.0"
copyright_year = 2024

header_ignore = []
header_ignore = [
// Enterprise files do not fall under the open source licensing. CE-ENT
// merge conflicts might happen here, please be sure to put new CE
// exceptions above this comment.
]
}

0 comments on commit 91cba75

Please sign in to comment.