From b264d1cb6ae4f5b274efa7d67b6e0d3ca8db19a3 Mon Sep 17 00:00:00 2001 From: David May <49894298+wass3rw3rk@users.noreply.github.com> Date: Fri, 29 Sep 2023 14:02:11 -0500 Subject: [PATCH] chore(license): update source code headers + copyright year (#322) --- .github/README.md | 4 ++-- .golangci.yml | 4 +--- LICENSE | 2 +- Makefile | 4 +--- cmd/schema/main.go | 4 +--- constants/action.go | 4 +--- constants/badge.go | 4 +--- constants/compression.go | 4 +--- constants/doc.go | 4 +--- constants/driver.go | 4 +--- constants/event.go | 4 +--- constants/limit.go | 4 +--- constants/matcher.go | 4 +--- constants/operator.go | 4 +--- constants/pipeline.go | 4 +--- constants/pull.go | 4 +--- constants/queue.go | 4 +--- constants/repo.go | 4 +--- constants/secret.go | 4 +--- constants/status.go | 4 +--- constants/table.go | 4 +--- constants/token.go | 4 +--- constants/visibility.go | 4 +--- constants/worker_status.go | 4 +--- constants/workspace.go | 4 +--- database/build.go | 4 +--- database/build_executable.go | 4 +--- database/build_executable_test.go | 4 +--- database/build_queue.go | 4 +--- database/build_queue_test.go | 4 +--- database/build_test.go | 4 +--- database/compression.go | 4 +--- database/compression_test.go | 4 +--- database/context.go | 4 +--- database/context_test.go | 4 +--- database/doc.go | 4 +--- database/encryption.go | 4 +--- database/encryption_test.go | 4 +--- database/hook.go | 4 +--- database/hook_test.go | 4 +--- database/log.go | 4 +--- database/log_test.go | 4 +--- database/pipeline.go | 4 +--- database/pipeline_test.go | 4 +--- database/repo.go | 4 +--- database/repo_test.go | 4 +--- database/sanitize.go | 4 +--- database/sanitize_test.go | 4 +--- database/schedule.go | 4 +--- database/schedule_test.go | 4 +--- database/secret.go | 4 +--- database/secret_test.go | 4 +--- database/service.go | 4 +--- database/service_test.go | 4 +--- database/step.go | 4 +--- database/step_test.go | 4 +--- database/user.go | 4 +--- database/user_test.go | 4 +--- database/worker.go | 4 +--- database/worker_test.go | 4 +--- errors.go | 4 +--- errors_test.go | 4 +--- item.go | 4 +--- item_test.go | 4 +--- library/build.go | 4 +--- library/build_executable.go | 4 +--- library/build_executable_test.go | 4 +--- library/build_queue.go | 4 +--- library/build_queue_test.go | 4 +--- library/build_test.go | 4 +--- library/context.go | 4 +--- library/context_test.go | 4 +--- library/deployment.go | 4 +--- library/deployment_test.go | 4 +--- library/doc.go | 4 +--- library/executor.go | 4 +--- library/executor_test.go | 4 +--- library/hook.go | 4 +--- library/hook_test.go | 4 +--- library/log.go | 4 +--- library/log_test.go | 4 +--- library/pipeline.go | 4 +--- library/pipeline_test.go | 4 +--- library/queue_info.go | 4 +--- library/queue_info_test.go | 4 +--- library/repo.go | 4 +--- library/repo_test.go | 4 +--- library/schedule.go | 4 +--- library/schedule_test.go | 4 +--- library/secret.go | 4 +--- library/secret_test.go | 4 +--- library/service.go | 4 +--- library/service_test.go | 4 +--- library/step.go | 4 +--- library/step_test.go | 4 +--- library/string.go | 4 +--- library/string_test.go | 4 +--- library/template.go | 4 +--- library/template_test.go | 4 +--- library/token.go | 4 +--- library/token_test.go | 4 +--- library/user.go | 4 +--- library/user_test.go | 4 +--- library/worker.go | 4 +--- library/worker_test.go | 4 +--- metadata.go | 4 +--- pipeline/build.go | 4 +--- pipeline/build_test.go | 4 +--- pipeline/container.go | 4 +--- pipeline/container_test.go | 4 +--- pipeline/context.go | 4 +--- pipeline/context_test.go | 4 +--- pipeline/doc.go | 4 +--- pipeline/metadata.go | 4 +--- pipeline/port.go | 4 +--- pipeline/ruleset.go | 4 +--- pipeline/ruleset_test.go | 4 +--- pipeline/secret.go | 4 +--- pipeline/secret_test.go | 4 +--- pipeline/stage.go | 4 +--- pipeline/stage_test.go | 4 +--- pipeline/ulimit.go | 4 +--- pipeline/volume.go | 4 +--- pipeline/worker.go | 4 +--- pipeline/worker_test.go | 4 +--- raw/doc.go | 4 +--- raw/map.go | 4 +--- raw/map_test.go | 4 +--- raw/slice.go | 4 +--- raw/slice_test.go | 4 +--- version/doc.go | 4 +--- version/metadata.go | 4 +--- version/metadata_test.go | 4 +--- version/version.go | 4 +--- version/version_test.go | 4 +--- webhook.go | 4 +--- webhook_test.go | 4 +--- yaml/build.go | 4 +--- yaml/build_test.go | 4 +--- yaml/doc.go | 4 +--- yaml/metadata.go | 4 +--- yaml/metadata_test.go | 4 +--- yaml/ruleset.go | 4 +--- yaml/ruleset_test.go | 4 +--- yaml/secret.go | 4 +--- yaml/secret_test.go | 4 +--- yaml/service.go | 4 +--- yaml/service_test.go | 4 +--- yaml/stage.go | 4 +--- yaml/stage_test.go | 4 +--- yaml/step.go | 4 +--- yaml/step_test.go | 4 +--- yaml/template.go | 4 +--- yaml/template_test.go | 4 +--- yaml/ulimit.go | 4 +--- yaml/ulimit_test.go | 4 +--- yaml/volume.go | 4 +--- yaml/volume_test.go | 4 +--- yaml/worker.go | 4 +--- yaml/worker_test.go | 4 +--- 160 files changed, 161 insertions(+), 477 deletions(-) diff --git a/.github/README.md b/.github/README.md index 65646e99..2d448626 100644 --- a/.github/README.md +++ b/.github/README.md @@ -32,7 +32,7 @@ Please see our [support](SUPPORT.md) documentation for further instructions. ## Copyright and License ``` -Copyright (c) 2022 Target Brands, Inc. +Copyright 2019 Target Brands, Inc. ``` -[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0) +[Apache License, Version 2.0](../LICENSE) diff --git a/.golangci.yml b/.golangci.yml index b0fe9631..ef42aeda 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -35,9 +35,7 @@ linters-settings: # https://github.com/denis-tingaikin/go-header goheader: template: |- - Copyright (c) {{ YEAR }} Target Brands, Inc. All rights reserved. - - Use of this source code is governed by the LICENSE file in this repository. + SPDX-License-Identifier: Apache-2.0 # https://github.com/golang/lint golint: diff --git a/LICENSE b/LICENSE index 3abdb036..1decd39e 100644 --- a/LICENSE +++ b/LICENSE @@ -186,7 +186,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright (c) 2022 Target Brands, Inc. + Copyright 2019 Target Brands, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/Makefile b/Makefile index 9d8365c2..373dbb88 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,4 @@ -# Copyright (c) 2022 Target Brands, Inc. All rights reserved. -# -# Use of this source code is governed by the LICENSE file in this repository. +# SPDX-License-Identifier: Apache-2.0 # The `clean` target is intended to clean the workspace # and prepare the local changes for submission. diff --git a/cmd/schema/main.go b/cmd/schema/main.go index ca9304aa..af57b060 100644 --- a/cmd/schema/main.go +++ b/cmd/schema/main.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 //go:build ignore // +build ignore diff --git a/constants/action.go b/constants/action.go index f47fca45..9d4502e9 100644 --- a/constants/action.go +++ b/constants/action.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package constants diff --git a/constants/badge.go b/constants/badge.go index e08dac4e..b92638ac 100644 --- a/constants/badge.go +++ b/constants/badge.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package constants diff --git a/constants/compression.go b/constants/compression.go index 624bbf29..6a1d11a6 100644 --- a/constants/compression.go +++ b/constants/compression.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package constants diff --git a/constants/doc.go b/constants/doc.go index d715cfba..0e748959 100644 --- a/constants/doc.go +++ b/constants/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package constants provides the defined constant types for Vela. // diff --git a/constants/driver.go b/constants/driver.go index 651e450e..e42b924c 100644 --- a/constants/driver.go +++ b/constants/driver.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package constants diff --git a/constants/event.go b/constants/event.go index 9ffcc0dd..cf72a089 100644 --- a/constants/event.go +++ b/constants/event.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package constants diff --git a/constants/limit.go b/constants/limit.go index 9a352b99..c905ac04 100644 --- a/constants/limit.go +++ b/constants/limit.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package constants diff --git a/constants/matcher.go b/constants/matcher.go index 94721c7e..ef4c7947 100644 --- a/constants/matcher.go +++ b/constants/matcher.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package constants diff --git a/constants/operator.go b/constants/operator.go index 3d0bc20c..f6a20901 100644 --- a/constants/operator.go +++ b/constants/operator.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package constants diff --git a/constants/pipeline.go b/constants/pipeline.go index ce60015a..f3f49ff3 100644 --- a/constants/pipeline.go +++ b/constants/pipeline.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package constants diff --git a/constants/pull.go b/constants/pull.go index 28931802..13167998 100644 --- a/constants/pull.go +++ b/constants/pull.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package constants diff --git a/constants/queue.go b/constants/queue.go index 1b9b5aef..fe3b8087 100644 --- a/constants/queue.go +++ b/constants/queue.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package constants diff --git a/constants/repo.go b/constants/repo.go index 08b35ee3..b4368f98 100644 --- a/constants/repo.go +++ b/constants/repo.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package constants diff --git a/constants/secret.go b/constants/secret.go index 3a63dd3c..13628e95 100644 --- a/constants/secret.go +++ b/constants/secret.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package constants diff --git a/constants/status.go b/constants/status.go index b75e790a..af206a67 100644 --- a/constants/status.go +++ b/constants/status.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package constants diff --git a/constants/table.go b/constants/table.go index 1841f452..2a73e596 100644 --- a/constants/table.go +++ b/constants/table.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package constants diff --git a/constants/token.go b/constants/token.go index a7c6870b..c2b0b12d 100644 --- a/constants/token.go +++ b/constants/token.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package constants diff --git a/constants/visibility.go b/constants/visibility.go index 28873684..af2f35b0 100644 --- a/constants/visibility.go +++ b/constants/visibility.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package constants diff --git a/constants/worker_status.go b/constants/worker_status.go index 0ed75a59..70d17111 100644 --- a/constants/worker_status.go +++ b/constants/worker_status.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package constants diff --git a/constants/workspace.go b/constants/workspace.go index 475296cd..9efb1b98 100644 --- a/constants/workspace.go +++ b/constants/workspace.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package constants diff --git a/database/build.go b/database/build.go index 75e7c471..204a5e77 100644 --- a/database/build.go +++ b/database/build.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/database/build_executable.go b/database/build_executable.go index bbec42f5..615284ea 100644 --- a/database/build_executable.go +++ b/database/build_executable.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/database/build_executable_test.go b/database/build_executable_test.go index 9ccac72f..821bca89 100644 --- a/database/build_executable_test.go +++ b/database/build_executable_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/database/build_queue.go b/database/build_queue.go index 3fc57639..131b184c 100644 --- a/database/build_queue.go +++ b/database/build_queue.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/database/build_queue_test.go b/database/build_queue_test.go index 6cbc07de..8ff3c422 100644 --- a/database/build_queue_test.go +++ b/database/build_queue_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/database/build_test.go b/database/build_test.go index ee512692..08643818 100644 --- a/database/build_test.go +++ b/database/build_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/database/compression.go b/database/compression.go index 19138091..d6a399aa 100644 --- a/database/compression.go +++ b/database/compression.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/database/compression_test.go b/database/compression_test.go index 033b69b0..9133d9cf 100644 --- a/database/compression_test.go +++ b/database/compression_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/database/context.go b/database/context.go index e5354e1c..a1d1b0cc 100644 --- a/database/context.go +++ b/database/context.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/database/context_test.go b/database/context_test.go index c6cbb19d..a5a02b11 100644 --- a/database/context_test.go +++ b/database/context_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/database/doc.go b/database/doc.go index 3705e45b..38a39f75 100644 --- a/database/doc.go +++ b/database/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package database provides the defined database types for Vela. // diff --git a/database/encryption.go b/database/encryption.go index 358cef12..7bf20433 100644 --- a/database/encryption.go +++ b/database/encryption.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/database/encryption_test.go b/database/encryption_test.go index e7c703af..3e2786d6 100644 --- a/database/encryption_test.go +++ b/database/encryption_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/database/hook.go b/database/hook.go index d737d090..6a10f5d1 100644 --- a/database/hook.go +++ b/database/hook.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/database/hook_test.go b/database/hook_test.go index f5b9f6e7..1ec31a6d 100644 --- a/database/hook_test.go +++ b/database/hook_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/database/log.go b/database/log.go index e35d696c..9afa1350 100644 --- a/database/log.go +++ b/database/log.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/database/log_test.go b/database/log_test.go index b30d51ef..c45fdc61 100644 --- a/database/log_test.go +++ b/database/log_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/database/pipeline.go b/database/pipeline.go index 292b9c2c..21936294 100644 --- a/database/pipeline.go +++ b/database/pipeline.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/database/pipeline_test.go b/database/pipeline_test.go index 3d84e4e5..b6e3ab2f 100644 --- a/database/pipeline_test.go +++ b/database/pipeline_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/database/repo.go b/database/repo.go index 6b058d66..a0e12c35 100644 --- a/database/repo.go +++ b/database/repo.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/database/repo_test.go b/database/repo_test.go index 2a6d6f6f..de3613de 100644 --- a/database/repo_test.go +++ b/database/repo_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/database/sanitize.go b/database/sanitize.go index 8d4443b9..01bef23d 100644 --- a/database/sanitize.go +++ b/database/sanitize.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/database/sanitize_test.go b/database/sanitize_test.go index 4df009af..24d2f105 100644 --- a/database/sanitize_test.go +++ b/database/sanitize_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/database/schedule.go b/database/schedule.go index 44c880ab..4f26b278 100644 --- a/database/schedule.go +++ b/database/schedule.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/database/schedule_test.go b/database/schedule_test.go index 904960ba..d7ff78aa 100644 --- a/database/schedule_test.go +++ b/database/schedule_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/database/secret.go b/database/secret.go index 2816f99f..c955fd96 100644 --- a/database/secret.go +++ b/database/secret.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/database/secret_test.go b/database/secret_test.go index 2bff5c81..584faa80 100644 --- a/database/secret_test.go +++ b/database/secret_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/database/service.go b/database/service.go index ab38abc2..651aef30 100644 --- a/database/service.go +++ b/database/service.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/database/service_test.go b/database/service_test.go index 36d57b18..0f149d35 100644 --- a/database/service_test.go +++ b/database/service_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/database/step.go b/database/step.go index e09dc8f2..318407e1 100644 --- a/database/step.go +++ b/database/step.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/database/step_test.go b/database/step_test.go index fd254032..90d10a51 100644 --- a/database/step_test.go +++ b/database/step_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/database/user.go b/database/user.go index f8013f16..1e312755 100644 --- a/database/user.go +++ b/database/user.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/database/user_test.go b/database/user_test.go index 5c7c9cf5..fa3ae5d5 100644 --- a/database/user_test.go +++ b/database/user_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/database/worker.go b/database/worker.go index ae445c01..59c2f343 100644 --- a/database/worker.go +++ b/database/worker.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/database/worker_test.go b/database/worker_test.go index a6aec4ce..7f48699a 100644 --- a/database/worker_test.go +++ b/database/worker_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/errors.go b/errors.go index 40e9a6a0..a3c7b919 100644 --- a/errors.go +++ b/errors.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package types diff --git a/errors_test.go b/errors_test.go index fcf3bf25..4c1c7b3d 100644 --- a/errors_test.go +++ b/errors_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package types diff --git a/item.go b/item.go index ca68b0b0..55f8ad0b 100644 --- a/item.go +++ b/item.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package types diff --git a/item_test.go b/item_test.go index f921325d..846463de 100644 --- a/item_test.go +++ b/item_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package types diff --git a/library/build.go b/library/build.go index 254c1d16..34edee9d 100644 --- a/library/build.go +++ b/library/build.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package library diff --git a/library/build_executable.go b/library/build_executable.go index dedc8e05..a2e0cff4 100644 --- a/library/build_executable.go +++ b/library/build_executable.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package library diff --git a/library/build_executable_test.go b/library/build_executable_test.go index e02c011a..9f9be60f 100644 --- a/library/build_executable_test.go +++ b/library/build_executable_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package library diff --git a/library/build_queue.go b/library/build_queue.go index d63e0aaa..64ab0587 100644 --- a/library/build_queue.go +++ b/library/build_queue.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 //nolint:dupl // ignore false positive with template.go package library diff --git a/library/build_queue_test.go b/library/build_queue_test.go index 6d7735f2..fc96d987 100644 --- a/library/build_queue_test.go +++ b/library/build_queue_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package library diff --git a/library/build_test.go b/library/build_test.go index d87de4df..b2d5b8c4 100644 --- a/library/build_test.go +++ b/library/build_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package library diff --git a/library/context.go b/library/context.go index e9925a84..f981bc63 100644 --- a/library/context.go +++ b/library/context.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package library diff --git a/library/context_test.go b/library/context_test.go index 5a1f83ce..c3efdeff 100644 --- a/library/context_test.go +++ b/library/context_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package library diff --git a/library/deployment.go b/library/deployment.go index 4879854c..a620a9e8 100644 --- a/library/deployment.go +++ b/library/deployment.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package library diff --git a/library/deployment_test.go b/library/deployment_test.go index 62c5c4e6..10661ff9 100644 --- a/library/deployment_test.go +++ b/library/deployment_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package library diff --git a/library/doc.go b/library/doc.go index 5b9a1761..06cc4475 100644 --- a/library/doc.go +++ b/library/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package library provides the defined library types for Vela. // diff --git a/library/executor.go b/library/executor.go index 33e43c1c..62200230 100644 --- a/library/executor.go +++ b/library/executor.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package library diff --git a/library/executor_test.go b/library/executor_test.go index 929fb0ca..4955ae5e 100644 --- a/library/executor_test.go +++ b/library/executor_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package library diff --git a/library/hook.go b/library/hook.go index 3f1e5070..f9d6b5e5 100644 --- a/library/hook.go +++ b/library/hook.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package library diff --git a/library/hook_test.go b/library/hook_test.go index e558b746..cc13e8b0 100644 --- a/library/hook_test.go +++ b/library/hook_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package library diff --git a/library/log.go b/library/log.go index a3966bf3..cd7d39f9 100644 --- a/library/log.go +++ b/library/log.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package library diff --git a/library/log_test.go b/library/log_test.go index 30e8e783..c3f796c8 100644 --- a/library/log_test.go +++ b/library/log_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package library diff --git a/library/pipeline.go b/library/pipeline.go index 16325d22..1a706604 100644 --- a/library/pipeline.go +++ b/library/pipeline.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package library diff --git a/library/pipeline_test.go b/library/pipeline_test.go index b467e95c..fe10e64e 100644 --- a/library/pipeline_test.go +++ b/library/pipeline_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package library diff --git a/library/queue_info.go b/library/queue_info.go index f79be30f..687c2c02 100644 --- a/library/queue_info.go +++ b/library/queue_info.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package library diff --git a/library/queue_info_test.go b/library/queue_info_test.go index 0b4a2dc0..f7375557 100644 --- a/library/queue_info_test.go +++ b/library/queue_info_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package library diff --git a/library/repo.go b/library/repo.go index b12e9bc7..57a3b74e 100644 --- a/library/repo.go +++ b/library/repo.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package library diff --git a/library/repo_test.go b/library/repo_test.go index f8e1f010..7296ab3c 100644 --- a/library/repo_test.go +++ b/library/repo_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package library diff --git a/library/schedule.go b/library/schedule.go index 947c2f45..b9511e98 100644 --- a/library/schedule.go +++ b/library/schedule.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package library diff --git a/library/schedule_test.go b/library/schedule_test.go index bf953e4b..b2f8db54 100644 --- a/library/schedule_test.go +++ b/library/schedule_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package library diff --git a/library/secret.go b/library/secret.go index 3d7846ba..62dd5e43 100644 --- a/library/secret.go +++ b/library/secret.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package library diff --git a/library/secret_test.go b/library/secret_test.go index 069ebe12..4fe2986f 100644 --- a/library/secret_test.go +++ b/library/secret_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package library diff --git a/library/service.go b/library/service.go index 97d9b193..b5ed543b 100644 --- a/library/service.go +++ b/library/service.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package library diff --git a/library/service_test.go b/library/service_test.go index dbc9ee57..9af18490 100644 --- a/library/service_test.go +++ b/library/service_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package library diff --git a/library/step.go b/library/step.go index d35ab3e8..5dfa8aee 100644 --- a/library/step.go +++ b/library/step.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package library diff --git a/library/step_test.go b/library/step_test.go index 5df44029..60446d4e 100644 --- a/library/step_test.go +++ b/library/step_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package library diff --git a/library/string.go b/library/string.go index 0e92d2d3..79dac91d 100644 --- a/library/string.go +++ b/library/string.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package library diff --git a/library/string_test.go b/library/string_test.go index faa83352..7447674b 100644 --- a/library/string_test.go +++ b/library/string_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package library diff --git a/library/template.go b/library/template.go index 79bc8d36..6a4e58cb 100644 --- a/library/template.go +++ b/library/template.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 //nolint:dupl // ignore false positive with build_queue.go package library diff --git a/library/template_test.go b/library/template_test.go index 5c723abd..4ea3cc4a 100644 --- a/library/template_test.go +++ b/library/template_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package library diff --git a/library/token.go b/library/token.go index e6f93bfc..06f626b2 100644 --- a/library/token.go +++ b/library/token.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package library diff --git a/library/token_test.go b/library/token_test.go index d0375a95..7950c7fd 100644 --- a/library/token_test.go +++ b/library/token_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package library diff --git a/library/user.go b/library/user.go index 34b25b2e..3e2deb8e 100644 --- a/library/user.go +++ b/library/user.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package library diff --git a/library/user_test.go b/library/user_test.go index d613c40e..76657373 100644 --- a/library/user_test.go +++ b/library/user_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package library diff --git a/library/worker.go b/library/worker.go index a11075c9..a454190a 100644 --- a/library/worker.go +++ b/library/worker.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package library diff --git a/library/worker_test.go b/library/worker_test.go index 580cc73d..0bc68e43 100644 --- a/library/worker_test.go +++ b/library/worker_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package library diff --git a/metadata.go b/metadata.go index f0b81152..1c9acf2f 100644 --- a/metadata.go +++ b/metadata.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package types diff --git a/pipeline/build.go b/pipeline/build.go index 61fc127e..1bd5d122 100644 --- a/pipeline/build.go +++ b/pipeline/build.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/pipeline/build_test.go b/pipeline/build_test.go index a6e5d2e6..70fabcac 100644 --- a/pipeline/build_test.go +++ b/pipeline/build_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/pipeline/container.go b/pipeline/container.go index d10849c3..82867548 100644 --- a/pipeline/container.go +++ b/pipeline/container.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/pipeline/container_test.go b/pipeline/container_test.go index fe474fbe..971f0743 100644 --- a/pipeline/container_test.go +++ b/pipeline/container_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/pipeline/context.go b/pipeline/context.go index 35d82148..7eae49b1 100644 --- a/pipeline/context.go +++ b/pipeline/context.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/pipeline/context_test.go b/pipeline/context_test.go index ee126446..899c7b92 100644 --- a/pipeline/context_test.go +++ b/pipeline/context_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/pipeline/doc.go b/pipeline/doc.go index 707ade9b..ccce0822 100644 --- a/pipeline/doc.go +++ b/pipeline/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package pipeline provides the defined pipeline types for Vela. // diff --git a/pipeline/metadata.go b/pipeline/metadata.go index 4617ebaa..f9dcb1b7 100644 --- a/pipeline/metadata.go +++ b/pipeline/metadata.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/pipeline/port.go b/pipeline/port.go index 80163fe6..6ce572b5 100644 --- a/pipeline/port.go +++ b/pipeline/port.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/pipeline/ruleset.go b/pipeline/ruleset.go index 4d8f4b4b..d1b6c5b3 100644 --- a/pipeline/ruleset.go +++ b/pipeline/ruleset.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/pipeline/ruleset_test.go b/pipeline/ruleset_test.go index 64ad3679..9ee268d5 100644 --- a/pipeline/ruleset_test.go +++ b/pipeline/ruleset_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/pipeline/secret.go b/pipeline/secret.go index 6f1f6f0d..6e51f941 100644 --- a/pipeline/secret.go +++ b/pipeline/secret.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/pipeline/secret_test.go b/pipeline/secret_test.go index febd2767..e59f8f40 100644 --- a/pipeline/secret_test.go +++ b/pipeline/secret_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/pipeline/stage.go b/pipeline/stage.go index e1c9d449..29966677 100644 --- a/pipeline/stage.go +++ b/pipeline/stage.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/pipeline/stage_test.go b/pipeline/stage_test.go index c21e7ad3..2b96cfaf 100644 --- a/pipeline/stage_test.go +++ b/pipeline/stage_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/pipeline/ulimit.go b/pipeline/ulimit.go index fac7c355..a32b6c90 100644 --- a/pipeline/ulimit.go +++ b/pipeline/ulimit.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/pipeline/volume.go b/pipeline/volume.go index 91cd5200..c99342f5 100644 --- a/pipeline/volume.go +++ b/pipeline/volume.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/pipeline/worker.go b/pipeline/worker.go index 765c3d73..1c667bfc 100644 --- a/pipeline/worker.go +++ b/pipeline/worker.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/pipeline/worker_test.go b/pipeline/worker_test.go index 6ddf4e95..a026d4aa 100644 --- a/pipeline/worker_test.go +++ b/pipeline/worker_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/raw/doc.go b/raw/doc.go index 56e1d2da..7321b7f3 100644 --- a/raw/doc.go +++ b/raw/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package raw provides the defined raw types for Vela. // diff --git a/raw/map.go b/raw/map.go index 1e134cb8..ed8fff42 100644 --- a/raw/map.go +++ b/raw/map.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package raw diff --git a/raw/map_test.go b/raw/map_test.go index a53728cd..aec603f4 100644 --- a/raw/map_test.go +++ b/raw/map_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package raw diff --git a/raw/slice.go b/raw/slice.go index f07565ef..11746363 100644 --- a/raw/slice.go +++ b/raw/slice.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package raw diff --git a/raw/slice_test.go b/raw/slice_test.go index 96156ea8..7a32bd3d 100644 --- a/raw/slice_test.go +++ b/raw/slice_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package raw diff --git a/version/doc.go b/version/doc.go index ed85332e..603a2379 100644 --- a/version/doc.go +++ b/version/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package version provides the defined version types for Vela. // diff --git a/version/metadata.go b/version/metadata.go index 9e8a9a8d..3cb7fcfb 100644 --- a/version/metadata.go +++ b/version/metadata.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package version diff --git a/version/metadata_test.go b/version/metadata_test.go index e2ce617f..831e2c32 100644 --- a/version/metadata_test.go +++ b/version/metadata_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package version diff --git a/version/version.go b/version/version.go index d9522fac..148f9499 100644 --- a/version/version.go +++ b/version/version.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package version diff --git a/version/version_test.go b/version/version_test.go index 48b58982..620ad526 100644 --- a/version/version_test.go +++ b/version/version_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package version diff --git a/webhook.go b/webhook.go index 32398ae9..838adca9 100644 --- a/webhook.go +++ b/webhook.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package types diff --git a/webhook_test.go b/webhook_test.go index 6a04e133..061ad8a4 100644 --- a/webhook_test.go +++ b/webhook_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package types diff --git a/yaml/build.go b/yaml/build.go index 5c2719e0..4c28986f 100644 --- a/yaml/build.go +++ b/yaml/build.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package yaml diff --git a/yaml/build_test.go b/yaml/build_test.go index adb9ed63..7600ba1e 100644 --- a/yaml/build_test.go +++ b/yaml/build_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package yaml diff --git a/yaml/doc.go b/yaml/doc.go index ffe11f1f..88753d51 100644 --- a/yaml/doc.go +++ b/yaml/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package yaml provides the defined yaml types for Vela. // diff --git a/yaml/metadata.go b/yaml/metadata.go index c927f0a7..279fabed 100644 --- a/yaml/metadata.go +++ b/yaml/metadata.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package yaml diff --git a/yaml/metadata_test.go b/yaml/metadata_test.go index 9219f6cb..ed5297ea 100644 --- a/yaml/metadata_test.go +++ b/yaml/metadata_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package yaml diff --git a/yaml/ruleset.go b/yaml/ruleset.go index 664cdd4b..0d29b0b1 100644 --- a/yaml/ruleset.go +++ b/yaml/ruleset.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package yaml diff --git a/yaml/ruleset_test.go b/yaml/ruleset_test.go index 6f0363bc..f4b721e6 100644 --- a/yaml/ruleset_test.go +++ b/yaml/ruleset_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package yaml diff --git a/yaml/secret.go b/yaml/secret.go index 453341cf..a211a245 100644 --- a/yaml/secret.go +++ b/yaml/secret.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package yaml diff --git a/yaml/secret_test.go b/yaml/secret_test.go index 2c238f02..9cb4dae6 100644 --- a/yaml/secret_test.go +++ b/yaml/secret_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package yaml diff --git a/yaml/service.go b/yaml/service.go index bd2ba468..4fa41277 100644 --- a/yaml/service.go +++ b/yaml/service.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package yaml diff --git a/yaml/service_test.go b/yaml/service_test.go index a422f02e..d0404eef 100644 --- a/yaml/service_test.go +++ b/yaml/service_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package yaml diff --git a/yaml/stage.go b/yaml/stage.go index 8a4bc5d6..bfc0dffb 100644 --- a/yaml/stage.go +++ b/yaml/stage.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package yaml diff --git a/yaml/stage_test.go b/yaml/stage_test.go index 88c23a29..98d3d197 100644 --- a/yaml/stage_test.go +++ b/yaml/stage_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package yaml diff --git a/yaml/step.go b/yaml/step.go index da7ad43e..82232143 100644 --- a/yaml/step.go +++ b/yaml/step.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package yaml diff --git a/yaml/step_test.go b/yaml/step_test.go index 5fb82323..4d9c6f0d 100644 --- a/yaml/step_test.go +++ b/yaml/step_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package yaml diff --git a/yaml/template.go b/yaml/template.go index 3e1ba38c..623a60db 100644 --- a/yaml/template.go +++ b/yaml/template.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package yaml diff --git a/yaml/template_test.go b/yaml/template_test.go index 606277a5..39827760 100644 --- a/yaml/template_test.go +++ b/yaml/template_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package yaml diff --git a/yaml/ulimit.go b/yaml/ulimit.go index acca9409..aa282212 100644 --- a/yaml/ulimit.go +++ b/yaml/ulimit.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package yaml diff --git a/yaml/ulimit_test.go b/yaml/ulimit_test.go index 1e412943..46d28bde 100644 --- a/yaml/ulimit_test.go +++ b/yaml/ulimit_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package yaml diff --git a/yaml/volume.go b/yaml/volume.go index 0d77c5a3..8370ee5c 100644 --- a/yaml/volume.go +++ b/yaml/volume.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package yaml diff --git a/yaml/volume_test.go b/yaml/volume_test.go index 1aaec73d..dc7d9513 100644 --- a/yaml/volume_test.go +++ b/yaml/volume_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package yaml diff --git a/yaml/worker.go b/yaml/worker.go index 8bdd3e84..0f7a3f8b 100644 --- a/yaml/worker.go +++ b/yaml/worker.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package yaml diff --git a/yaml/worker_test.go b/yaml/worker_test.go index 4dc12f43..5bafd0c2 100644 --- a/yaml/worker_test.go +++ b/yaml/worker_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package yaml