Skip to content

Commit

Permalink
Move license statements to separate files to prevent license statemen…
Browse files Browse the repository at this point in the history
…t duplication

Signed-off-by: Sergen Yalçın <[email protected]>
  • Loading branch information
sergenyalcin committed Mar 13, 2024
1 parent 363f66c commit a648048
Show file tree
Hide file tree
Showing 16 changed files with 24 additions and 31 deletions.
4 changes: 0 additions & 4 deletions pkg/pipeline/templates/controller.go.tmpl
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
// SPDX-FileCopyrightText: 2023 The Crossplane Authors <https://crossplane.io>
//
// SPDX-License-Identifier: Apache-2.0

{{ .Header }}

{{ .GenStatement }}
Expand Down
3 changes: 3 additions & 0 deletions pkg/pipeline/templates/controller.go.tmpl.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 The Crossplane Authors <https://crossplane.io>

SPDX-License-Identifier: Apache-2.0
4 changes: 0 additions & 4 deletions pkg/pipeline/templates/conversion_hub.go.tmpl
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
// SPDX-FileCopyrightText: 2023 The Crossplane Authors <https://crossplane.io>
//
// SPDX-License-Identifier: Apache-2.0

{{ .Header }}

{{ .GenStatement }}
Expand Down
3 changes: 3 additions & 0 deletions pkg/pipeline/templates/conversion_hub.go.tmpl.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 The Crossplane Authors <https://crossplane.io>

SPDX-License-Identifier: Apache-2.0
4 changes: 0 additions & 4 deletions pkg/pipeline/templates/conversion_spoke.go.tmpl
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
// SPDX-FileCopyrightText: 2023 The Crossplane Authors <https://crossplane.io>
//
// SPDX-License-Identifier: Apache-2.0

{{ .Header }}

{{ .GenStatement }}
Expand Down
3 changes: 3 additions & 0 deletions pkg/pipeline/templates/conversion_spoke.go.tmpl.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 The Crossplane Authors <https://crossplane.io>

SPDX-License-Identifier: Apache-2.0
4 changes: 0 additions & 4 deletions pkg/pipeline/templates/crd_types.go.tmpl
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
// SPDX-FileCopyrightText: 2023 The Crossplane Authors <https://crossplane.io>
//
// SPDX-License-Identifier: Apache-2.0

{{ .Header }}

{{ .GenStatement }}
Expand Down
3 changes: 3 additions & 0 deletions pkg/pipeline/templates/crd_types.go.tmpl.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 The Crossplane Authors <https://crossplane.io>

SPDX-License-Identifier: Apache-2.0
4 changes: 0 additions & 4 deletions pkg/pipeline/templates/groupversion_info.go.tmpl
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
// SPDX-FileCopyrightText: 2023 The Crossplane Authors <https://crossplane.io>
//
// SPDX-License-Identifier: Apache-2.0

{{ .Header }}

{{ .GenStatement }}
Expand Down
3 changes: 3 additions & 0 deletions pkg/pipeline/templates/groupversion_info.go.tmpl.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 The Crossplane Authors <https://crossplane.io>

SPDX-License-Identifier: Apache-2.0
4 changes: 0 additions & 4 deletions pkg/pipeline/templates/register.go.tmpl
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
// SPDX-FileCopyrightText: 2023 The Crossplane Authors <https://crossplane.io>
//
// SPDX-License-Identifier: Apache-2.0

{{ .Header }}

{{ .GenStatement }}
Expand Down
3 changes: 3 additions & 0 deletions pkg/pipeline/templates/register.go.tmpl.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 The Crossplane Authors <https://crossplane.io>

SPDX-License-Identifier: Apache-2.0
3 changes: 0 additions & 3 deletions pkg/pipeline/templates/setup.go.tmpl
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
// SPDX-FileCopyrightText: 2023 The Crossplane Authors <https://crossplane.io>
//
// SPDX-License-Identifier: Apache-2.0

package controller

Expand Down
3 changes: 3 additions & 0 deletions pkg/pipeline/templates/setup.go.tmpl.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 The Crossplane Authors <https://crossplane.io>

SPDX-License-Identifier: Apache-2.0
4 changes: 0 additions & 4 deletions pkg/pipeline/templates/terraformed.go.tmpl
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
// SPDX-FileCopyrightText: 2023 The Crossplane Authors <https://crossplane.io>
//
// SPDX-License-Identifier: Apache-2.0

{{ .Header }}

{{ .GenStatement }}
Expand Down
3 changes: 3 additions & 0 deletions pkg/pipeline/templates/terraformed.go.tmpl.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 The Crossplane Authors <https://crossplane.io>

SPDX-License-Identifier: Apache-2.0

0 comments on commit a648048

Please sign in to comment.