diff --git a/.github/README.md b/.github/README.md index 87093f13..e361ad20 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 97b6d15a..44382f6f 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/client9/misspell misspell: diff --git a/Dockerfile b/Dockerfile index ffd4705c..3a4c0e8a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 ################################################# # docker build -t target/vela-cli:latest . # 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 c1e1585e..979732df 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,5 @@ -# 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 # capture the current date we build the application from BUILD_DATE = $(shell date +%Y-%m-%dT%H:%M:%SZ) diff --git a/action/build/build.go b/action/build/build.go index d42a4bba..ded015ff 100644 --- a/action/build/build.go +++ b/action/build/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 build diff --git a/action/build/cancel.go b/action/build/cancel.go index 1cc5baaf..fd4520b7 100644 --- a/action/build/cancel.go +++ b/action/build/cancel.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 similar code among actions package build diff --git a/action/build/cancel_test.go b/action/build/cancel_test.go index 96c43573..53e8eb5f 100644 --- a/action/build/cancel_test.go +++ b/action/build/cancel_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 build diff --git a/action/build/doc.go b/action/build/doc.go index a0fb7e18..c4c9bcdb 100644 --- a/action/build/doc.go +++ b/action/build/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 build provides the defined CLI build actions for Vela. // diff --git a/action/build/get.go b/action/build/get.go index d648e55a..acbccc55 100644 --- a/action/build/get.go +++ b/action/build/get.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 build diff --git a/action/build/get_test.go b/action/build/get_test.go index 75bb170d..1961b783 100644 --- a/action/build/get_test.go +++ b/action/build/get_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 build diff --git a/action/build/restart.go b/action/build/restart.go index efb9f0f8..b3cc1204 100644 --- a/action/build/restart.go +++ b/action/build/restart.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 similar code among actions package build diff --git a/action/build/restart_test.go b/action/build/restart_test.go index efb12997..371e1043 100644 --- a/action/build/restart_test.go +++ b/action/build/restart_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 build diff --git a/action/build/table.go b/action/build/table.go index 419ea830..dc05f9c4 100644 --- a/action/build/table.go +++ b/action/build/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 build diff --git a/action/build/table_test.go b/action/build/table_test.go index 7a17e633..6abe15c0 100644 --- a/action/build/table_test.go +++ b/action/build/table_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 build diff --git a/action/build/validate.go b/action/build/validate.go index 4fc286f8..09bad0b9 100644 --- a/action/build/validate.go +++ b/action/build/validate.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 build diff --git a/action/build/validate_test.go b/action/build/validate_test.go index a3dbee06..cd2ce2c2 100644 --- a/action/build/validate_test.go +++ b/action/build/validate_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 build diff --git a/action/build/view.go b/action/build/view.go index 82d1e607..e83e9ca9 100644 --- a/action/build/view.go +++ b/action/build/view.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 similar code among actions package build diff --git a/action/build/view_test.go b/action/build/view_test.go index 7ad1b58b..71f94a27 100644 --- a/action/build/view_test.go +++ b/action/build/view_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 build diff --git a/action/completion/bash.go b/action/completion/bash.go index 1033d517..93d5f2d3 100644 --- a/action/completion/bash.go +++ b/action/completion/bash.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 completion diff --git a/action/completion/completion.go b/action/completion/completion.go index 8e852b45..5551f0c8 100644 --- a/action/completion/completion.go +++ b/action/completion/completion.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 completion diff --git a/action/completion/doc.go b/action/completion/doc.go index 5e7c573c..321d7d85 100644 --- a/action/completion/doc.go +++ b/action/completion/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 completion provides the defined CLI completion actions for Vela. // diff --git a/action/completion/generate.go b/action/completion/generate.go index 17fc6adc..fb700850 100644 --- a/action/completion/generate.go +++ b/action/completion/generate.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 completion diff --git a/action/completion/generate_test.go b/action/completion/generate_test.go index da1d75aa..59983ac7 100644 --- a/action/completion/generate_test.go +++ b/action/completion/generate_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 completion diff --git a/action/completion/validate.go b/action/completion/validate.go index 22134d8f..c875c09c 100644 --- a/action/completion/validate.go +++ b/action/completion/validate.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 completion diff --git a/action/completion/validate_test.go b/action/completion/validate_test.go index 400e51b9..24515cce 100644 --- a/action/completion/validate_test.go +++ b/action/completion/validate_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 completion diff --git a/action/completion/zsh.go b/action/completion/zsh.go index ebfcea1d..4775a777 100644 --- a/action/completion/zsh.go +++ b/action/completion/zsh.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 completion diff --git a/action/config/config.go b/action/config/config.go index dd4ef757..30fff997 100644 --- a/action/config/config.go +++ b/action/config/config.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 config diff --git a/action/config/doc.go b/action/config/doc.go index 4276e804..7c311958 100644 --- a/action/config/doc.go +++ b/action/config/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 config provides the defined CLI config actions for Vela. // diff --git a/action/config/empty.go b/action/config/empty.go index fb6d024e..b9d2c8f8 100644 --- a/action/config/empty.go +++ b/action/config/empty.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 config diff --git a/action/config/empty_test.go b/action/config/empty_test.go index 2f9410bd..f61b32d5 100644 --- a/action/config/empty_test.go +++ b/action/config/empty_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 config diff --git a/action/config/file.go b/action/config/file.go index 506f576d..d24f3adb 100644 --- a/action/config/file.go +++ b/action/config/file.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 config diff --git a/action/config/generate.go b/action/config/generate.go index 314f681a..dc22cb1a 100644 --- a/action/config/generate.go +++ b/action/config/generate.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 config diff --git a/action/config/generate_test.go b/action/config/generate_test.go index 75803fcd..0ae59406 100644 --- a/action/config/generate_test.go +++ b/action/config/generate_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 config diff --git a/action/config/load.go b/action/config/load.go index da7af6c9..a5cd1780 100644 --- a/action/config/load.go +++ b/action/config/load.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 config diff --git a/action/config/load_test.go b/action/config/load_test.go index aa5c25c2..0b03f56b 100644 --- a/action/config/load_test.go +++ b/action/config/load_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 config diff --git a/action/config/remove.go b/action/config/remove.go index 063145af..906ac0da 100644 --- a/action/config/remove.go +++ b/action/config/remove.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 config diff --git a/action/config/remove_test.go b/action/config/remove_test.go index dd639fad..4116107a 100644 --- a/action/config/remove_test.go +++ b/action/config/remove_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 config diff --git a/action/config/update.go b/action/config/update.go index 5b9bcf38..4a865107 100644 --- a/action/config/update.go +++ b/action/config/update.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 config diff --git a/action/config/update_test.go b/action/config/update_test.go index 0f09f692..d53d4be1 100644 --- a/action/config/update_test.go +++ b/action/config/update_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 config diff --git a/action/config/validate.go b/action/config/validate.go index 9a1315cc..0df5dbdf 100644 --- a/action/config/validate.go +++ b/action/config/validate.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 config diff --git a/action/config/validate_test.go b/action/config/validate_test.go index 374e2322..8aceb1f2 100644 --- a/action/config/validate_test.go +++ b/action/config/validate_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 config diff --git a/action/config/view.go b/action/config/view.go index 6c901f18..4edae0fe 100644 --- a/action/config/view.go +++ b/action/config/view.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 config diff --git a/action/config/view_test.go b/action/config/view_test.go index ab5641e8..5852d68f 100644 --- a/action/config/view_test.go +++ b/action/config/view_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 config diff --git a/action/deployment/add.go b/action/deployment/add.go index 665741cb..ea9f5e79 100644 --- a/action/deployment/add.go +++ b/action/deployment/add.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 deployment diff --git a/action/deployment/add_test.go b/action/deployment/add_test.go index 71ab5243..df959545 100644 --- a/action/deployment/add_test.go +++ b/action/deployment/add_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 deployment diff --git a/action/deployment/deployment.go b/action/deployment/deployment.go index e76b328a..33db5a8e 100644 --- a/action/deployment/deployment.go +++ b/action/deployment/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 deployment diff --git a/action/deployment/doc.go b/action/deployment/doc.go index a5938ff2..fb80c8ae 100644 --- a/action/deployment/doc.go +++ b/action/deployment/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 deployment provides the defined CLI deployment actions for Vela. // diff --git a/action/deployment/get.go b/action/deployment/get.go index ac123b9e..9a5c4e34 100644 --- a/action/deployment/get.go +++ b/action/deployment/get.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 deployment diff --git a/action/deployment/get_test.go b/action/deployment/get_test.go index 3ebee5a2..9c5144cd 100644 --- a/action/deployment/get_test.go +++ b/action/deployment/get_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 deployment diff --git a/action/deployment/table.go b/action/deployment/table.go index 1efc4a5d..fd3592af 100644 --- a/action/deployment/table.go +++ b/action/deployment/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 deployment diff --git a/action/deployment/table_test.go b/action/deployment/table_test.go index 63550c6f..62971350 100644 --- a/action/deployment/table_test.go +++ b/action/deployment/table_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 deployment diff --git a/action/deployment/validate.go b/action/deployment/validate.go index f76864a8..3ef86a25 100644 --- a/action/deployment/validate.go +++ b/action/deployment/validate.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 deployment diff --git a/action/deployment/validate_test.go b/action/deployment/validate_test.go index b3d8974f..527bbc47 100644 --- a/action/deployment/validate_test.go +++ b/action/deployment/validate_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 deployment diff --git a/action/deployment/view.go b/action/deployment/view.go index 82a15c23..fb71b903 100644 --- a/action/deployment/view.go +++ b/action/deployment/view.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 deployment diff --git a/action/deployment/view_test.go b/action/deployment/view_test.go index 373985dc..50e172ee 100644 --- a/action/deployment/view_test.go +++ b/action/deployment/view_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 deployment diff --git a/action/doc.go b/action/doc.go index 17dddaaf..2f86ba26 100644 --- a/action/doc.go +++ b/action/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 action provides the defined CLI actions for Vela. // diff --git a/action/docs/doc.go b/action/docs/doc.go index 4860029a..7d3fff2c 100644 --- a/action/docs/doc.go +++ b/action/docs/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 docs provides the defined CLI docs actions for Vela. // diff --git a/action/docs/docs.go b/action/docs/docs.go index 3b2d372a..a48c11cc 100644 --- a/action/docs/docs.go +++ b/action/docs/docs.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 docs diff --git a/action/docs/generate.go b/action/docs/generate.go index 550f5bd2..1783bf26 100644 --- a/action/docs/generate.go +++ b/action/docs/generate.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 docs diff --git a/action/docs/generate_test.go b/action/docs/generate_test.go index 9346c989..6a38d2c4 100644 --- a/action/docs/generate_test.go +++ b/action/docs/generate_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 docs diff --git a/action/docs/validate.go b/action/docs/validate.go index 719b419e..551991ee 100644 --- a/action/docs/validate.go +++ b/action/docs/validate.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 docs diff --git a/action/docs/validate_test.go b/action/docs/validate_test.go index 7f807703..8e0e20ae 100644 --- a/action/docs/validate_test.go +++ b/action/docs/validate_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 docs diff --git a/action/hook/doc.go b/action/hook/doc.go index 9cd9d919..c2af29e9 100644 --- a/action/hook/doc.go +++ b/action/hook/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 hook provides the defined CLI hook actions for Vela. // diff --git a/action/hook/get.go b/action/hook/get.go index 23c3879f..6d48bb7c 100644 --- a/action/hook/get.go +++ b/action/hook/get.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 hook diff --git a/action/hook/get_test.go b/action/hook/get_test.go index d450ad27..7e92e288 100644 --- a/action/hook/get_test.go +++ b/action/hook/get_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 hook diff --git a/action/hook/hook.go b/action/hook/hook.go index 249e002d..416873bd 100644 --- a/action/hook/hook.go +++ b/action/hook/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 hook diff --git a/action/hook/table.go b/action/hook/table.go index 76588f3b..163467a3 100644 --- a/action/hook/table.go +++ b/action/hook/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 hook diff --git a/action/hook/table_test.go b/action/hook/table_test.go index af3f0851..e70ade0d 100644 --- a/action/hook/table_test.go +++ b/action/hook/table_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 hook diff --git a/action/hook/validate.go b/action/hook/validate.go index 0e97ffd0..e634cff9 100644 --- a/action/hook/validate.go +++ b/action/hook/validate.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 hook diff --git a/action/hook/validate_test.go b/action/hook/validate_test.go index 2236ffce..037ed327 100644 --- a/action/hook/validate_test.go +++ b/action/hook/validate_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 hook diff --git a/action/hook/view.go b/action/hook/view.go index fab21792..74915db7 100644 --- a/action/hook/view.go +++ b/action/hook/view.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 hook diff --git a/action/hook/view_test.go b/action/hook/view_test.go index 167a11bf..779d324c 100644 --- a/action/hook/view_test.go +++ b/action/hook/view_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 hook diff --git a/action/load.go b/action/load.go index 1798438a..284a8f49 100644 --- a/action/load.go +++ b/action/load.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 action diff --git a/action/load_test.go b/action/load_test.go index ea1d25ba..5308ff38 100644 --- a/action/load_test.go +++ b/action/load_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 action diff --git a/action/log/doc.go b/action/log/doc.go index 74d7e6b2..0fdd32bc 100644 --- a/action/log/doc.go +++ b/action/log/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 log provides the defined CLI log actions for Vela. // diff --git a/action/log/get.go b/action/log/get.go index 7a2bb901..80d02e4f 100644 --- a/action/log/get.go +++ b/action/log/get.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 log diff --git a/action/log/get_test.go b/action/log/get_test.go index 74409641..14f0f99e 100644 --- a/action/log/get_test.go +++ b/action/log/get_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 log diff --git a/action/log/log.go b/action/log/log.go index 99a69b20..4c2cac87 100644 --- a/action/log/log.go +++ b/action/log/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 log diff --git a/action/log/validate.go b/action/log/validate.go index edac2482..d98cdb80 100644 --- a/action/log/validate.go +++ b/action/log/validate.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 log diff --git a/action/log/validate_test.go b/action/log/validate_test.go index 05784343..f3fe4bbd 100644 --- a/action/log/validate_test.go +++ b/action/log/validate_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 log diff --git a/action/log/view.go b/action/log/view.go index 56cdc1ef..a89ea0e0 100644 --- a/action/log/view.go +++ b/action/log/view.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 log diff --git a/action/log/view_test.go b/action/log/view_test.go index c9b22014..9c017a16 100644 --- a/action/log/view_test.go +++ b/action/log/view_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 log diff --git a/action/login/doc.go b/action/login/doc.go index acbee8a8..ccb94eba 100644 --- a/action/login/doc.go +++ b/action/login/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 login provides the defined CLI login actions for Vela. // diff --git a/action/login/local_server.go b/action/login/local_server.go index e732e2fb..52bbadf7 100644 --- a/action/login/local_server.go +++ b/action/login/local_server.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 // mostly taken from https://github.com/cli/oauth/tree/v0.8.0/webapp diff --git a/action/login/local_server_test.go b/action/login/local_server_test.go index 2113a57b..7ad9dd5d 100644 --- a/action/login/local_server_test.go +++ b/action/login/local_server_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 // mostly taken from https://github.com/cli/oauth/tree/v0.8.0/webapp diff --git a/action/login/login.go b/action/login/login.go index 574d2a2f..44b8f96d 100644 --- a/action/login/login.go +++ b/action/login/login.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 login diff --git a/action/login/prompt.go b/action/login/prompt.go index f5618f58..4da80e67 100644 --- a/action/login/prompt.go +++ b/action/login/prompt.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 login diff --git a/action/login/prompt_test.go b/action/login/prompt_test.go index cdd5a006..370a282a 100644 --- a/action/login/prompt_test.go +++ b/action/login/prompt_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 //go:build !race diff --git a/action/login/success_page.go b/action/login/success_page.go index d3897b69..846b6da9 100644 --- a/action/login/success_page.go +++ b/action/login/success_page.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 login diff --git a/action/pipeline/compile.go b/action/pipeline/compile.go index a1bec6fa..29373219 100644 --- a/action/pipeline/compile.go +++ b/action/pipeline/compile.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 similar code among actions package pipeline diff --git a/action/pipeline/compile_test.go b/action/pipeline/compile_test.go index e0b83453..5d755bd6 100644 --- a/action/pipeline/compile_test.go +++ b/action/pipeline/compile_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/action/pipeline/doc.go b/action/pipeline/doc.go index 4e9b9dc0..a531d975 100644 --- a/action/pipeline/doc.go +++ b/action/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 CLI pipeline actions for Vela. // diff --git a/action/pipeline/exec.go b/action/pipeline/exec.go index a6d009ac..e36c5c99 100644 --- a/action/pipeline/exec.go +++ b/action/pipeline/exec.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/action/pipeline/expand.go b/action/pipeline/expand.go index 15babc6e..bbf7a6e2 100644 --- a/action/pipeline/expand.go +++ b/action/pipeline/expand.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 similar code among actions package pipeline diff --git a/action/pipeline/expand_test.go b/action/pipeline/expand_test.go index a2d64093..9f4a6014 100644 --- a/action/pipeline/expand_test.go +++ b/action/pipeline/expand_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/action/pipeline/generate.go b/action/pipeline/generate.go index f39e13d0..a68d946c 100644 --- a/action/pipeline/generate.go +++ b/action/pipeline/generate.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/action/pipeline/generate_test.go b/action/pipeline/generate_test.go index ee1fe8fb..f18dcea7 100644 --- a/action/pipeline/generate_test.go +++ b/action/pipeline/generate_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/action/pipeline/get.go b/action/pipeline/get.go index aa547c06..19669061 100644 --- a/action/pipeline/get.go +++ b/action/pipeline/get.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/action/pipeline/get_test.go b/action/pipeline/get_test.go index c56d9fed..91b27ae0 100644 --- a/action/pipeline/get_test.go +++ b/action/pipeline/get_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/action/pipeline/pipeline.go b/action/pipeline/pipeline.go index 4741d14d..709e9586 100644 --- a/action/pipeline/pipeline.go +++ b/action/pipeline/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 pipeline diff --git a/action/pipeline/stage.go b/action/pipeline/stage.go index 426d0b5a..f963c8b2 100644 --- a/action/pipeline/stage.go +++ b/action/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/action/pipeline/stage_test.go b/action/pipeline/stage_test.go index 658d7613..96f34896 100644 --- a/action/pipeline/stage_test.go +++ b/action/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/action/pipeline/step.go b/action/pipeline/step.go index 5dd178e4..3e0de5a3 100644 --- a/action/pipeline/step.go +++ b/action/pipeline/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 pipeline diff --git a/action/pipeline/step_test.go b/action/pipeline/step_test.go index d0c2a3d1..933ee502 100644 --- a/action/pipeline/step_test.go +++ b/action/pipeline/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 pipeline diff --git a/action/pipeline/table.go b/action/pipeline/table.go index 423de9c4..7cb27d9c 100644 --- a/action/pipeline/table.go +++ b/action/pipeline/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 pipeline diff --git a/action/pipeline/table_test.go b/action/pipeline/table_test.go index db005d92..842d4e4e 100644 --- a/action/pipeline/table_test.go +++ b/action/pipeline/table_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/action/pipeline/validate.go b/action/pipeline/validate.go index 641fdc65..7d2c4d6b 100644 --- a/action/pipeline/validate.go +++ b/action/pipeline/validate.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/action/pipeline/validate_test.go b/action/pipeline/validate_test.go index 74c4c1f1..0b363cdf 100644 --- a/action/pipeline/validate_test.go +++ b/action/pipeline/validate_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/action/pipeline/view.go b/action/pipeline/view.go index 4155f505..b197af36 100644 --- a/action/pipeline/view.go +++ b/action/pipeline/view.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/action/pipeline/view_test.go b/action/pipeline/view_test.go index 09b4dee3..ed1f5c11 100644 --- a/action/pipeline/view_test.go +++ b/action/pipeline/view_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/action/repo/add.go b/action/repo/add.go index dda7e4cf..641a5782 100644 --- a/action/repo/add.go +++ b/action/repo/add.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 similar code among actions package repo diff --git a/action/repo/add_test.go b/action/repo/add_test.go index 65bf98f5..44fa8590 100644 --- a/action/repo/add_test.go +++ b/action/repo/add_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 repo diff --git a/action/repo/chown.go b/action/repo/chown.go index 0ffec191..bc4cecd5 100644 --- a/action/repo/chown.go +++ b/action/repo/chown.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 similar code among actions package repo diff --git a/action/repo/chown_test.go b/action/repo/chown_test.go index 102d91c2..63e4face 100644 --- a/action/repo/chown_test.go +++ b/action/repo/chown_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 repo diff --git a/action/repo/doc.go b/action/repo/doc.go index d8b8593b..b9f2c80d 100644 --- a/action/repo/doc.go +++ b/action/repo/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 repo provides the defined CLI repository actions for Vela. // diff --git a/action/repo/get.go b/action/repo/get.go index dec0cb14..7e53a3c2 100644 --- a/action/repo/get.go +++ b/action/repo/get.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 repo diff --git a/action/repo/get_test.go b/action/repo/get_test.go index d85887fe..1e38735d 100644 --- a/action/repo/get_test.go +++ b/action/repo/get_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 repo diff --git a/action/repo/remove.go b/action/repo/remove.go index bffcf67d..3ae448a5 100644 --- a/action/repo/remove.go +++ b/action/repo/remove.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 similar code among actions package repo diff --git a/action/repo/remove_test.go b/action/repo/remove_test.go index 2e4cd05a..c702ab16 100644 --- a/action/repo/remove_test.go +++ b/action/repo/remove_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 repo diff --git a/action/repo/repair.go b/action/repo/repair.go index 35d28b70..2eeafa3a 100644 --- a/action/repo/repair.go +++ b/action/repo/repair.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 similar code among actions package repo diff --git a/action/repo/repair_test.go b/action/repo/repair_test.go index 44af3102..05f851ad 100644 --- a/action/repo/repair_test.go +++ b/action/repo/repair_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 repo diff --git a/action/repo/repo.go b/action/repo/repo.go index 3efebbd3..f4421048 100644 --- a/action/repo/repo.go +++ b/action/repo/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 repo diff --git a/action/repo/sync.go b/action/repo/sync.go index 55c406ed..ad18661f 100644 --- a/action/repo/sync.go +++ b/action/repo/sync.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 repo import ( diff --git a/action/repo/sync_test.go b/action/repo/sync_test.go index 89eb59dc..879ca69f 100644 --- a/action/repo/sync_test.go +++ b/action/repo/sync_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 repo diff --git a/action/repo/table.go b/action/repo/table.go index 3bff3372..79fdc683 100644 --- a/action/repo/table.go +++ b/action/repo/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 repo diff --git a/action/repo/table_test.go b/action/repo/table_test.go index 8ab6852f..217bb458 100644 --- a/action/repo/table_test.go +++ b/action/repo/table_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 repo diff --git a/action/repo/update.go b/action/repo/update.go index 47e887eb..9dac98c3 100644 --- a/action/repo/update.go +++ b/action/repo/update.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 similar code among actions package repo diff --git a/action/repo/update_test.go b/action/repo/update_test.go index 52f6985e..5b9c2cd2 100644 --- a/action/repo/update_test.go +++ b/action/repo/update_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 repo diff --git a/action/repo/validate.go b/action/repo/validate.go index 01cef1d9..0096f0f5 100644 --- a/action/repo/validate.go +++ b/action/repo/validate.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 repo diff --git a/action/repo/validate_test.go b/action/repo/validate_test.go index e09aa7f9..6481413e 100644 --- a/action/repo/validate_test.go +++ b/action/repo/validate_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 repo diff --git a/action/repo/view.go b/action/repo/view.go index 72e42c69..446343aa 100644 --- a/action/repo/view.go +++ b/action/repo/view.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 repo diff --git a/action/repo/view_test.go b/action/repo/view_test.go index 51bcaaa7..a3b06491 100644 --- a/action/repo/view_test.go +++ b/action/repo/view_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 repo diff --git a/action/schedule/add.go b/action/schedule/add.go index 6efb4e1b..27d8b958 100644 --- a/action/schedule/add.go +++ b/action/schedule/add.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 //nolint:dupl // ignore similar code among actions package schedule diff --git a/action/schedule/add_test.go b/action/schedule/add_test.go index 55fb0282..c11b9eeb 100644 --- a/action/schedule/add_test.go +++ b/action/schedule/add_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 schedule diff --git a/action/schedule/doc.go b/action/schedule/doc.go index 6f008baa..82d0ff04 100644 --- a/action/schedule/doc.go +++ b/action/schedule/doc.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 schedule provides the defined CLI schedule actions for Vela. // diff --git a/action/schedule/get.go b/action/schedule/get.go index 538ba968..8baa3c59 100644 --- a/action/schedule/get.go +++ b/action/schedule/get.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 schedule diff --git a/action/schedule/get_test.go b/action/schedule/get_test.go index f60c7587..e9b696da 100644 --- a/action/schedule/get_test.go +++ b/action/schedule/get_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 schedule diff --git a/action/schedule/remove.go b/action/schedule/remove.go index 4843793c..6fc30a5d 100644 --- a/action/schedule/remove.go +++ b/action/schedule/remove.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 schedule diff --git a/action/schedule/remove_test.go b/action/schedule/remove_test.go index 89e9a18f..ee3447d9 100644 --- a/action/schedule/remove_test.go +++ b/action/schedule/remove_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 schedule diff --git a/action/schedule/schedule.go b/action/schedule/schedule.go index 54e63da1..420e53e8 100644 --- a/action/schedule/schedule.go +++ b/action/schedule/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 schedule diff --git a/action/schedule/table.go b/action/schedule/table.go index afdec842..a3ff6a5d 100644 --- a/action/schedule/table.go +++ b/action/schedule/table.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 schedule diff --git a/action/schedule/table_test.go b/action/schedule/table_test.go index 5e331034..8a033202 100644 --- a/action/schedule/table_test.go +++ b/action/schedule/table_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 schedule diff --git a/action/schedule/update.go b/action/schedule/update.go index e18b9324..7748bb62 100644 --- a/action/schedule/update.go +++ b/action/schedule/update.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 //nolint:dupl // ignore similar code among actions package schedule diff --git a/action/schedule/update_test.go b/action/schedule/update_test.go index 32556703..c8a404d8 100644 --- a/action/schedule/update_test.go +++ b/action/schedule/update_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 schedule diff --git a/action/schedule/validate.go b/action/schedule/validate.go index 420be2d6..037039df 100644 --- a/action/schedule/validate.go +++ b/action/schedule/validate.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 schedule diff --git a/action/schedule/validate_test.go b/action/schedule/validate_test.go index 179b7895..11e9a0fa 100644 --- a/action/schedule/validate_test.go +++ b/action/schedule/validate_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 schedule diff --git a/action/schedule/view.go b/action/schedule/view.go index c3249d73..379b5750 100644 --- a/action/schedule/view.go +++ b/action/schedule/view.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 schedule diff --git a/action/schedule/view_test.go b/action/schedule/view_test.go index e0d14f8c..234cfce6 100644 --- a/action/schedule/view_test.go +++ b/action/schedule/view_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 schedule diff --git a/action/secret/add.go b/action/secret/add.go index c27393c7..6eec19c4 100644 --- a/action/secret/add.go +++ b/action/secret/add.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 similar code among actions package secret diff --git a/action/secret/add_test.go b/action/secret/add_test.go index 66fb4aa2..04acff84 100644 --- a/action/secret/add_test.go +++ b/action/secret/add_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 secret diff --git a/action/secret/doc.go b/action/secret/doc.go index dd0bafb8..d441b03a 100644 --- a/action/secret/doc.go +++ b/action/secret/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 secret provides the defined CLI secret actions for Vela. // diff --git a/action/secret/file.go b/action/secret/file.go index c929021a..f3618bbd 100644 --- a/action/secret/file.go +++ b/action/secret/file.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 secret diff --git a/action/secret/get.go b/action/secret/get.go index 2a8bbce5..39ccf7a6 100644 --- a/action/secret/get.go +++ b/action/secret/get.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 secret diff --git a/action/secret/get_test.go b/action/secret/get_test.go index eedff0d7..d236ce7e 100644 --- a/action/secret/get_test.go +++ b/action/secret/get_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 secret diff --git a/action/secret/remove.go b/action/secret/remove.go index 69f9c7d0..cadde930 100644 --- a/action/secret/remove.go +++ b/action/secret/remove.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 secret diff --git a/action/secret/remove_test.go b/action/secret/remove_test.go index a1e3222e..7cb94627 100644 --- a/action/secret/remove_test.go +++ b/action/secret/remove_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 secret diff --git a/action/secret/secret.go b/action/secret/secret.go index 331b6ef0..daba4d74 100644 --- a/action/secret/secret.go +++ b/action/secret/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 secret diff --git a/action/secret/table.go b/action/secret/table.go index bb8b41a1..9bf47f0b 100644 --- a/action/secret/table.go +++ b/action/secret/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 secret diff --git a/action/secret/table_test.go b/action/secret/table_test.go index 03c624ca..821a501b 100644 --- a/action/secret/table_test.go +++ b/action/secret/table_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 secret diff --git a/action/secret/update.go b/action/secret/update.go index 610b0515..9bba7827 100644 --- a/action/secret/update.go +++ b/action/secret/update.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 similar code among actions package secret diff --git a/action/secret/update_test.go b/action/secret/update_test.go index 835c2347..9326c095 100644 --- a/action/secret/update_test.go +++ b/action/secret/update_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 secret diff --git a/action/secret/validate.go b/action/secret/validate.go index 206bfebe..caac79df 100644 --- a/action/secret/validate.go +++ b/action/secret/validate.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 secret diff --git a/action/secret/validate_test.go b/action/secret/validate_test.go index 3179ce64..37c4f7f6 100644 --- a/action/secret/validate_test.go +++ b/action/secret/validate_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 secret diff --git a/action/secret/view.go b/action/secret/view.go index 6e6fafa4..043a9836 100644 --- a/action/secret/view.go +++ b/action/secret/view.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 secret diff --git a/action/secret/view_test.go b/action/secret/view_test.go index 9cf561f7..9cfbbd4b 100644 --- a/action/secret/view_test.go +++ b/action/secret/view_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 secret diff --git a/action/service/doc.go b/action/service/doc.go index f11fafb5..4d9f2d26 100644 --- a/action/service/doc.go +++ b/action/service/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 service provides the defined CLI service actions for Vela. // diff --git a/action/service/get.go b/action/service/get.go index 5fafc355..45392ce8 100644 --- a/action/service/get.go +++ b/action/service/get.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 service diff --git a/action/service/get_test.go b/action/service/get_test.go index 84605543..47f6d994 100644 --- a/action/service/get_test.go +++ b/action/service/get_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 service diff --git a/action/service/service.go b/action/service/service.go index 46383e09..5e335f30 100644 --- a/action/service/service.go +++ b/action/service/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 service diff --git a/action/service/table.go b/action/service/table.go index c437c1d7..9cbebb61 100644 --- a/action/service/table.go +++ b/action/service/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 service diff --git a/action/service/table_test.go b/action/service/table_test.go index 6bea6da6..29ebf43b 100644 --- a/action/service/table_test.go +++ b/action/service/table_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 service diff --git a/action/service/validate.go b/action/service/validate.go index 0dbf7331..c325034c 100644 --- a/action/service/validate.go +++ b/action/service/validate.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 service diff --git a/action/service/validate_test.go b/action/service/validate_test.go index 408d6e16..a37ff32a 100644 --- a/action/service/validate_test.go +++ b/action/service/validate_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 service diff --git a/action/service/view.go b/action/service/view.go index 4a6b3cc0..03f8de63 100644 --- a/action/service/view.go +++ b/action/service/view.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 service diff --git a/action/service/view_test.go b/action/service/view_test.go index f8c15e3d..5cdf8b40 100644 --- a/action/service/view_test.go +++ b/action/service/view_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 service diff --git a/action/step/doc.go b/action/step/doc.go index 515baebc..a0359a06 100644 --- a/action/step/doc.go +++ b/action/step/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 step provides the defined CLI step actions for Vela. // diff --git a/action/step/get.go b/action/step/get.go index 9a4bf19f..c91d343c 100644 --- a/action/step/get.go +++ b/action/step/get.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 step diff --git a/action/step/get_test.go b/action/step/get_test.go index a4afd0de..14ad2ec9 100644 --- a/action/step/get_test.go +++ b/action/step/get_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 step diff --git a/action/step/step.go b/action/step/step.go index 155a10bd..3d8abd39 100644 --- a/action/step/step.go +++ b/action/step/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 step diff --git a/action/step/table.go b/action/step/table.go index 259b6cab..dbfaafbd 100644 --- a/action/step/table.go +++ b/action/step/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 step diff --git a/action/step/table_test.go b/action/step/table_test.go index b1f638e5..882929ac 100644 --- a/action/step/table_test.go +++ b/action/step/table_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 step diff --git a/action/step/validate.go b/action/step/validate.go index 0a096d55..71ca45e0 100644 --- a/action/step/validate.go +++ b/action/step/validate.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 step diff --git a/action/step/validate_test.go b/action/step/validate_test.go index 18474968..f75ef86a 100644 --- a/action/step/validate_test.go +++ b/action/step/validate_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 step diff --git a/action/step/view.go b/action/step/view.go index 79d08189..2dbc91fe 100644 --- a/action/step/view.go +++ b/action/step/view.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 step diff --git a/action/step/view_test.go b/action/step/view_test.go index 06f199ba..6eb9ead8 100644 --- a/action/step/view_test.go +++ b/action/step/view_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 step diff --git a/action/worker/add.go b/action/worker/add.go index 97db3602..c0e713bb 100644 --- a/action/worker/add.go +++ b/action/worker/add.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 worker diff --git a/action/worker/add_test.go b/action/worker/add_test.go index c46a5c03..021a7f77 100644 --- a/action/worker/add_test.go +++ b/action/worker/add_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 worker diff --git a/action/worker/doc.go b/action/worker/doc.go index d19588c8..5b7f8597 100644 --- a/action/worker/doc.go +++ b/action/worker/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 worker provides the defined CLI worker actions for Vela. // diff --git a/action/worker/get.go b/action/worker/get.go index a4ce55a2..769da67b 100644 --- a/action/worker/get.go +++ b/action/worker/get.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 worker diff --git a/action/worker/get_test.go b/action/worker/get_test.go index 8c33104d..f3e160cf 100644 --- a/action/worker/get_test.go +++ b/action/worker/get_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 worker diff --git a/action/worker/table.go b/action/worker/table.go index f40d49b1..c1be4d20 100644 --- a/action/worker/table.go +++ b/action/worker/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 worker diff --git a/action/worker/table_test.go b/action/worker/table_test.go index f68df362..71ad7f44 100644 --- a/action/worker/table_test.go +++ b/action/worker/table_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 worker diff --git a/action/worker/update.go b/action/worker/update.go index 5bd0d27e..9a91f02e 100644 --- a/action/worker/update.go +++ b/action/worker/update.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 worker diff --git a/action/worker/update_test.go b/action/worker/update_test.go index cf7cd672..4d5cbf0c 100644 --- a/action/worker/update_test.go +++ b/action/worker/update_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 worker diff --git a/action/worker/validate.go b/action/worker/validate.go index a9c8c3a4..eae4896d 100644 --- a/action/worker/validate.go +++ b/action/worker/validate.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 worker diff --git a/action/worker/validate_test.go b/action/worker/validate_test.go index c3ebf93c..bfe3a403 100644 --- a/action/worker/validate_test.go +++ b/action/worker/validate_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 worker diff --git a/action/worker/view.go b/action/worker/view.go index aa2c00c5..2e625e36 100644 --- a/action/worker/view.go +++ b/action/worker/view.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 worker diff --git a/action/worker/view_test.go b/action/worker/view_test.go index d8df2b03..d27e0394 100644 --- a/action/worker/view_test.go +++ b/action/worker/view_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 worker diff --git a/action/worker/worker.go b/action/worker/worker.go index f2794efd..30afc520 100644 --- a/action/worker/worker.go +++ b/action/worker/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 worker diff --git a/cmd/vela-cli/add.go b/cmd/vela-cli/add.go index bf7afcc0..ea6a893f 100644 --- a/cmd/vela-cli/add.go +++ b/cmd/vela-cli/add.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 main diff --git a/cmd/vela-cli/cancel.go b/cmd/vela-cli/cancel.go index 10787a41..5cb5f61d 100644 --- a/cmd/vela-cli/cancel.go +++ b/cmd/vela-cli/cancel.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 main diff --git a/cmd/vela-cli/chown.go b/cmd/vela-cli/chown.go index 04efb6a0..0f7dba32 100644 --- a/cmd/vela-cli/chown.go +++ b/cmd/vela-cli/chown.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 main diff --git a/cmd/vela-cli/compile.go b/cmd/vela-cli/compile.go index 2ad66759..09b79fb3 100644 --- a/cmd/vela-cli/compile.go +++ b/cmd/vela-cli/compile.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 main diff --git a/cmd/vela-cli/exec.go b/cmd/vela-cli/exec.go index b9b01cff..b71de1d2 100644 --- a/cmd/vela-cli/exec.go +++ b/cmd/vela-cli/exec.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 main diff --git a/cmd/vela-cli/expand.go b/cmd/vela-cli/expand.go index 92ccd2e1..9b6d40e3 100644 --- a/cmd/vela-cli/expand.go +++ b/cmd/vela-cli/expand.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 main diff --git a/cmd/vela-cli/generate.go b/cmd/vela-cli/generate.go index ba2f9277..1bed4dfd 100644 --- a/cmd/vela-cli/generate.go +++ b/cmd/vela-cli/generate.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 main diff --git a/cmd/vela-cli/get.go b/cmd/vela-cli/get.go index d302fe04..36a9b0a1 100644 --- a/cmd/vela-cli/get.go +++ b/cmd/vela-cli/get.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 main diff --git a/cmd/vela-cli/load.go b/cmd/vela-cli/load.go index 9c6bd470..5c844efc 100644 --- a/cmd/vela-cli/load.go +++ b/cmd/vela-cli/load.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 main diff --git a/cmd/vela-cli/main.go b/cmd/vela-cli/main.go index 55afdd92..3174ba2a 100644 --- a/cmd/vela-cli/main.go +++ b/cmd/vela-cli/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 package main @@ -27,7 +25,7 @@ func main() { app.Name = "vela" app.HelpName = "vela" app.Usage = "CLI for interacting with Vela and managing resources" - app.Copyright = "Copyright (c) 2022 Target Brands, Inc. All rights reserved." + app.Copyright = "Copyright 2019 Target Brands, Inc. All rights reserved." app.Authors = []*cli.Author{ { Name: "Vela Admins", diff --git a/cmd/vela-cli/remove.go b/cmd/vela-cli/remove.go index d370c95f..0585b5ec 100644 --- a/cmd/vela-cli/remove.go +++ b/cmd/vela-cli/remove.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 main diff --git a/cmd/vela-cli/repair.go b/cmd/vela-cli/repair.go index 1ce747f7..ca08f976 100644 --- a/cmd/vela-cli/repair.go +++ b/cmd/vela-cli/repair.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 main diff --git a/cmd/vela-cli/restart.go b/cmd/vela-cli/restart.go index e8471424..0150071f 100644 --- a/cmd/vela-cli/restart.go +++ b/cmd/vela-cli/restart.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 main diff --git a/cmd/vela-cli/sync.go b/cmd/vela-cli/sync.go index 96e8058a..381fdca6 100644 --- a/cmd/vela-cli/sync.go +++ b/cmd/vela-cli/sync.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 main diff --git a/cmd/vela-cli/update.go b/cmd/vela-cli/update.go index 0cb63091..71ff021b 100644 --- a/cmd/vela-cli/update.go +++ b/cmd/vela-cli/update.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 main diff --git a/cmd/vela-cli/validate.go b/cmd/vela-cli/validate.go index 63437515..1e63d2f9 100644 --- a/cmd/vela-cli/validate.go +++ b/cmd/vela-cli/validate.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 main diff --git a/cmd/vela-cli/view.go b/cmd/vela-cli/view.go index 2fea3e46..71210323 100644 --- a/cmd/vela-cli/view.go +++ b/cmd/vela-cli/view.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 main diff --git a/command/build/cancel.go b/command/build/cancel.go index 04402792..03c4a435 100644 --- a/command/build/cancel.go +++ b/command/build/cancel.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 similar code with restart package build diff --git a/command/build/cancel_test.go b/command/build/cancel_test.go index cad160fd..f8406c9b 100644 --- a/command/build/cancel_test.go +++ b/command/build/cancel_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 build diff --git a/command/build/doc.go b/command/build/doc.go index e68573d1..e15b6cc8 100644 --- a/command/build/doc.go +++ b/command/build/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 build provides the defined build CLI commands for Vela. // diff --git a/command/build/get.go b/command/build/get.go index 2046dc1e..f6f518db 100644 --- a/command/build/get.go +++ b/command/build/get.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 build diff --git a/command/build/get_test.go b/command/build/get_test.go index 64e0460f..5a8ec1d1 100644 --- a/command/build/get_test.go +++ b/command/build/get_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 build diff --git a/command/build/restart.go b/command/build/restart.go index 16519285..1f8a99c6 100644 --- a/command/build/restart.go +++ b/command/build/restart.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 similar code with cancel package build diff --git a/command/build/restart_test.go b/command/build/restart_test.go index 953141c2..c5a65259 100644 --- a/command/build/restart_test.go +++ b/command/build/restart_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 build diff --git a/command/build/view.go b/command/build/view.go index bcf58a6d..3ed188fd 100644 --- a/command/build/view.go +++ b/command/build/view.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 build diff --git a/command/build/view_test.go b/command/build/view_test.go index c30931a1..43ad28af 100644 --- a/command/build/view_test.go +++ b/command/build/view_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 build diff --git a/command/command.go b/command/command.go index d9190ed9..f7c45b5e 100644 --- a/command/command.go +++ b/command/command.go @@ -1,5 +1,3 @@ -// 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 command diff --git a/command/completion/doc.go b/command/completion/doc.go index 58e15396..32062c50 100644 --- a/command/completion/doc.go +++ b/command/completion/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 completion provides the defined completion CLI commands for Vela. // diff --git a/command/completion/generate.go b/command/completion/generate.go index 17aa1d7e..4fd98250 100644 --- a/command/completion/generate.go +++ b/command/completion/generate.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 completion diff --git a/command/completion/generate_test.go b/command/completion/generate_test.go index e91ed2c5..68034624 100644 --- a/command/completion/generate_test.go +++ b/command/completion/generate_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 completion diff --git a/command/config/doc.go b/command/config/doc.go index c2041592..c9ebd8f0 100644 --- a/command/config/doc.go +++ b/command/config/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 config provides the defined config CLI commands for Vela. // diff --git a/command/config/generate.go b/command/config/generate.go index 211f67f0..d4ec94d7 100644 --- a/command/config/generate.go +++ b/command/config/generate.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 config diff --git a/command/config/generate_test.go b/command/config/generate_test.go index fd7d4718..f46aa111 100644 --- a/command/config/generate_test.go +++ b/command/config/generate_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 config diff --git a/command/config/remove.go b/command/config/remove.go index 2940faef..a1cfba7b 100644 --- a/command/config/remove.go +++ b/command/config/remove.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 config diff --git a/command/config/remove_test.go b/command/config/remove_test.go index f0408ddb..8ca28b4c 100644 --- a/command/config/remove_test.go +++ b/command/config/remove_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 config diff --git a/command/config/update.go b/command/config/update.go index f70b823a..f5a1eb18 100644 --- a/command/config/update.go +++ b/command/config/update.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 config diff --git a/command/config/update_test.go b/command/config/update_test.go index dd325bec..cf4c22d0 100644 --- a/command/config/update_test.go +++ b/command/config/update_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 config diff --git a/command/config/view.go b/command/config/view.go index 48a4b6aa..f64cf634 100644 --- a/command/config/view.go +++ b/command/config/view.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 config diff --git a/command/config/view_test.go b/command/config/view_test.go index 4f76f1af..9a326773 100644 --- a/command/config/view_test.go +++ b/command/config/view_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 config diff --git a/command/deployment/add.go b/command/deployment/add.go index fb9a8a10..5070977e 100644 --- a/command/deployment/add.go +++ b/command/deployment/add.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 deployment diff --git a/command/deployment/add_test.go b/command/deployment/add_test.go index 83aec17a..edf6e133 100644 --- a/command/deployment/add_test.go +++ b/command/deployment/add_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 deployment diff --git a/command/deployment/doc.go b/command/deployment/doc.go index 0ff80d04..752bd8a2 100644 --- a/command/deployment/doc.go +++ b/command/deployment/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 deployment provides the defined deployment CLI commands for Vela. // diff --git a/command/deployment/get.go b/command/deployment/get.go index da57eb66..ce5002e7 100644 --- a/command/deployment/get.go +++ b/command/deployment/get.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 deployment diff --git a/command/deployment/get_test.go b/command/deployment/get_test.go index 75bae654..1e9408e0 100644 --- a/command/deployment/get_test.go +++ b/command/deployment/get_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 deployment diff --git a/command/deployment/view.go b/command/deployment/view.go index 86cf6f6b..936741ff 100644 --- a/command/deployment/view.go +++ b/command/deployment/view.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 deployment diff --git a/command/deployment/view_test.go b/command/deployment/view_test.go index 29685f5d..8e5d51de 100644 --- a/command/deployment/view_test.go +++ b/command/deployment/view_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 deployment diff --git a/command/doc.go b/command/doc.go index a90fe4d6..61fb0a01 100644 --- a/command/doc.go +++ b/command/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 command provides the defined CLI commands for Vela. // diff --git a/command/docs/doc.go b/command/docs/doc.go index b7500235..d0892006 100644 --- a/command/docs/doc.go +++ b/command/docs/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 docs provides the defined docs CLI commands for Vela. // diff --git a/command/docs/generate.go b/command/docs/generate.go index 6d9c866a..95dabf55 100644 --- a/command/docs/generate.go +++ b/command/docs/generate.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 docs diff --git a/command/docs/generate_test.go b/command/docs/generate_test.go index c96e7588..b1d71b9e 100644 --- a/command/docs/generate_test.go +++ b/command/docs/generate_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 docs diff --git a/command/hook/doc.go b/command/hook/doc.go index 6497a261..3c4f6f42 100644 --- a/command/hook/doc.go +++ b/command/hook/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 hook provides the defined hook CLI commands for Vela. // diff --git a/command/hook/get.go b/command/hook/get.go index 7039804b..fb99a348 100644 --- a/command/hook/get.go +++ b/command/hook/get.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 hook diff --git a/command/hook/get_test.go b/command/hook/get_test.go index f57c351a..7899391d 100644 --- a/command/hook/get_test.go +++ b/command/hook/get_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 hook diff --git a/command/hook/view.go b/command/hook/view.go index bcf95a1b..3af39755 100644 --- a/command/hook/view.go +++ b/command/hook/view.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 hook diff --git a/command/hook/view_test.go b/command/hook/view_test.go index 809339b5..a4d281d2 100644 --- a/command/hook/view_test.go +++ b/command/hook/view_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 hook diff --git a/command/log/doc.go b/command/log/doc.go index f082a997..d22ac755 100644 --- a/command/log/doc.go +++ b/command/log/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 log provides the defined log CLI commands for Vela. // diff --git a/command/log/get.go b/command/log/get.go index 6350172c..518856ef 100644 --- a/command/log/get.go +++ b/command/log/get.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 log diff --git a/command/log/get_test.go b/command/log/get_test.go index 3a81c3bd..6f8c8682 100644 --- a/command/log/get_test.go +++ b/command/log/get_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 log diff --git a/command/log/view.go b/command/log/view.go index 889ff9b8..be24ab67 100644 --- a/command/log/view.go +++ b/command/log/view.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 log diff --git a/command/log/view_test.go b/command/log/view_test.go index 9d522109..e0dfca34 100644 --- a/command/log/view_test.go +++ b/command/log/view_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 log diff --git a/command/login/doc.go b/command/login/doc.go index 16211eac..25f0b749 100644 --- a/command/login/doc.go +++ b/command/login/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 login provides the defined login CLI command for Vela. // diff --git a/command/login/login.go b/command/login/login.go index c72c2e78..14559497 100644 --- a/command/login/login.go +++ b/command/login/login.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 login diff --git a/command/pipeline/compile.go b/command/pipeline/compile.go index c63a6ae5..22020b7a 100644 --- a/command/pipeline/compile.go +++ b/command/pipeline/compile.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 similar code with expand and view package pipeline diff --git a/command/pipeline/compile_test.go b/command/pipeline/compile_test.go index 08bd1926..759aafc4 100644 --- a/command/pipeline/compile_test.go +++ b/command/pipeline/compile_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/command/pipeline/doc.go b/command/pipeline/doc.go index 02d2be82..f5f8f5eb 100644 --- a/command/pipeline/doc.go +++ b/command/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 CLI commands for Vela. // diff --git a/command/pipeline/exec.go b/command/pipeline/exec.go index 4cd5daee..9406223c 100644 --- a/command/pipeline/exec.go +++ b/command/pipeline/exec.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/command/pipeline/expand.go b/command/pipeline/expand.go index 0516cbb7..23d6392a 100644 --- a/command/pipeline/expand.go +++ b/command/pipeline/expand.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 similar code with compile and view package pipeline diff --git a/command/pipeline/expand_test.go b/command/pipeline/expand_test.go index fc4ddec5..540cbbca 100644 --- a/command/pipeline/expand_test.go +++ b/command/pipeline/expand_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/command/pipeline/generate.go b/command/pipeline/generate.go index c44e4720..71e3ab78 100644 --- a/command/pipeline/generate.go +++ b/command/pipeline/generate.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/command/pipeline/generate_test.go b/command/pipeline/generate_test.go index 0cbc5b09..98e2e258 100644 --- a/command/pipeline/generate_test.go +++ b/command/pipeline/generate_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/command/pipeline/get.go b/command/pipeline/get.go index 499e389e..21802536 100644 --- a/command/pipeline/get.go +++ b/command/pipeline/get.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/command/pipeline/get_test.go b/command/pipeline/get_test.go index 6c33a505..d2c21f8b 100644 --- a/command/pipeline/get_test.go +++ b/command/pipeline/get_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/command/pipeline/validate.go b/command/pipeline/validate.go index 40a16468..8c7163cb 100644 --- a/command/pipeline/validate.go +++ b/command/pipeline/validate.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/command/pipeline/validate_test.go b/command/pipeline/validate_test.go index 0b87f9a1..2dd889f3 100644 --- a/command/pipeline/validate_test.go +++ b/command/pipeline/validate_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/command/pipeline/view.go b/command/pipeline/view.go index 9ef94d5d..e7728e81 100644 --- a/command/pipeline/view.go +++ b/command/pipeline/view.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 similar code with compile and expand package pipeline diff --git a/command/pipeline/view_test.go b/command/pipeline/view_test.go index 59b3e301..7e6b7d30 100644 --- a/command/pipeline/view_test.go +++ b/command/pipeline/view_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/command/repo/add.go b/command/repo/add.go index 6dc7ca68..3d0b6fe0 100644 --- a/command/repo/add.go +++ b/command/repo/add.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 similar code with update package repo diff --git a/command/repo/add_test.go b/command/repo/add_test.go index 9b3f7adb..48eeeab2 100644 --- a/command/repo/add_test.go +++ b/command/repo/add_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 repo diff --git a/command/repo/chown.go b/command/repo/chown.go index 4102a3f3..b8d147a2 100644 --- a/command/repo/chown.go +++ b/command/repo/chown.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 similar code with remove and repair package repo diff --git a/command/repo/chown_test.go b/command/repo/chown_test.go index 755495b8..2cfa89a4 100644 --- a/command/repo/chown_test.go +++ b/command/repo/chown_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 repo diff --git a/command/repo/doc.go b/command/repo/doc.go index c749099c..9b21f9ab 100644 --- a/command/repo/doc.go +++ b/command/repo/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 repo provides the defined repo CLI command for Vela. // diff --git a/command/repo/get.go b/command/repo/get.go index 24475fed..96611b96 100644 --- a/command/repo/get.go +++ b/command/repo/get.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 repo diff --git a/command/repo/get_test.go b/command/repo/get_test.go index 4f77be91..c0c0bfd3 100644 --- a/command/repo/get_test.go +++ b/command/repo/get_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 repo diff --git a/command/repo/remove.go b/command/repo/remove.go index 283bb60a..ce99574a 100644 --- a/command/repo/remove.go +++ b/command/repo/remove.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 similar code with chown and repair package repo diff --git a/command/repo/remove_test.go b/command/repo/remove_test.go index 4dca9afe..d7e7537f 100644 --- a/command/repo/remove_test.go +++ b/command/repo/remove_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 repo diff --git a/command/repo/repair.go b/command/repo/repair.go index 0d2cbd2b..5398b037 100644 --- a/command/repo/repair.go +++ b/command/repo/repair.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 similar code with chown and remove package repo diff --git a/command/repo/repair_test.go b/command/repo/repair_test.go index 5ccfa5c9..2c2ba797 100644 --- a/command/repo/repair_test.go +++ b/command/repo/repair_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 repo diff --git a/command/repo/sync.go b/command/repo/sync.go index ea967648..1ab9b397 100644 --- a/command/repo/sync.go +++ b/command/repo/sync.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 repo diff --git a/command/repo/sync_test.go b/command/repo/sync_test.go index 66ba357e..6f94b115 100644 --- a/command/repo/sync_test.go +++ b/command/repo/sync_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 repo diff --git a/command/repo/update.go b/command/repo/update.go index 648e9058..3251bd02 100644 --- a/command/repo/update.go +++ b/command/repo/update.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 similar code with add package repo diff --git a/command/repo/update_test.go b/command/repo/update_test.go index 4b69aeab..4205ca70 100644 --- a/command/repo/update_test.go +++ b/command/repo/update_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 repo diff --git a/command/repo/view.go b/command/repo/view.go index 35cde835..926ea513 100644 --- a/command/repo/view.go +++ b/command/repo/view.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 repo diff --git a/command/repo/view_test.go b/command/repo/view_test.go index 835c9f29..cf25e74a 100644 --- a/command/repo/view_test.go +++ b/command/repo/view_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 repo diff --git a/command/schedule/add.go b/command/schedule/add.go index c6e46129..ff4c5514 100644 --- a/command/schedule/add.go +++ b/command/schedule/add.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 //nolint:dupl // ignore similar code with update package schedule diff --git a/command/schedule/add_test.go b/command/schedule/add_test.go index baf8dfff..b60d5e96 100644 --- a/command/schedule/add_test.go +++ b/command/schedule/add_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 schedule diff --git a/command/schedule/doc.go b/command/schedule/doc.go index bfbe5abc..db6be059 100644 --- a/command/schedule/doc.go +++ b/command/schedule/doc.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 schedule provides the defined schedule CLI command for Vela. // diff --git a/command/schedule/get.go b/command/schedule/get.go index d552c9c1..e8c3029e 100644 --- a/command/schedule/get.go +++ b/command/schedule/get.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 schedule diff --git a/command/schedule/get_test.go b/command/schedule/get_test.go index 8c78be37..610401b5 100644 --- a/command/schedule/get_test.go +++ b/command/schedule/get_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 schedule diff --git a/command/schedule/remove.go b/command/schedule/remove.go index 7fdd8c9e..827ff518 100644 --- a/command/schedule/remove.go +++ b/command/schedule/remove.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 //nolint:dupl // ignore similar code with chown and repair package schedule diff --git a/command/schedule/remove_test.go b/command/schedule/remove_test.go index 77d2ba1d..63d0e4b8 100644 --- a/command/schedule/remove_test.go +++ b/command/schedule/remove_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 schedule diff --git a/command/schedule/update.go b/command/schedule/update.go index 043c7f41..9eda9c42 100644 --- a/command/schedule/update.go +++ b/command/schedule/update.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 //nolint:dupl // ignore similar code with add package schedule diff --git a/command/schedule/update_test.go b/command/schedule/update_test.go index 3b58559e..1bc1a2c2 100644 --- a/command/schedule/update_test.go +++ b/command/schedule/update_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 schedule diff --git a/command/schedule/view.go b/command/schedule/view.go index bbb3626d..10f4877f 100644 --- a/command/schedule/view.go +++ b/command/schedule/view.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 //nolint:dupl // ignore similar code among actions package schedule diff --git a/command/schedule/view_test.go b/command/schedule/view_test.go index 16459ad4..62c320ed 100644 --- a/command/schedule/view_test.go +++ b/command/schedule/view_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 schedule diff --git a/command/secret/add.go b/command/secret/add.go index 1289a616..a4666746 100644 --- a/command/secret/add.go +++ b/command/secret/add.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 secret diff --git a/command/secret/add_test.go b/command/secret/add_test.go index 9a41aef0..fdf96361 100644 --- a/command/secret/add_test.go +++ b/command/secret/add_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 secret diff --git a/command/secret/doc.go b/command/secret/doc.go index cb9f2249..5a563a97 100644 --- a/command/secret/doc.go +++ b/command/secret/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 secret provides the defined secret CLI commands for Vela. // diff --git a/command/secret/get.go b/command/secret/get.go index 96d74dfb..19b87e29 100644 --- a/command/secret/get.go +++ b/command/secret/get.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 secret diff --git a/command/secret/get_test.go b/command/secret/get_test.go index e4c14e83..fa0d8e65 100644 --- a/command/secret/get_test.go +++ b/command/secret/get_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 secret diff --git a/command/secret/remove.go b/command/secret/remove.go index 18d24f3b..7e4e27c8 100644 --- a/command/secret/remove.go +++ b/command/secret/remove.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 similar code among actions package secret diff --git a/command/secret/remove_test.go b/command/secret/remove_test.go index e619d0b1..dfbe6470 100644 --- a/command/secret/remove_test.go +++ b/command/secret/remove_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 secret diff --git a/command/secret/update.go b/command/secret/update.go index 97215c00..b83f3224 100644 --- a/command/secret/update.go +++ b/command/secret/update.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 secret diff --git a/command/secret/update_test.go b/command/secret/update_test.go index ef541d41..fca99765 100644 --- a/command/secret/update_test.go +++ b/command/secret/update_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 secret diff --git a/command/secret/view.go b/command/secret/view.go index f8dbbad6..aa0e7b29 100644 --- a/command/secret/view.go +++ b/command/secret/view.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 similar code among actions package secret diff --git a/command/secret/view_test.go b/command/secret/view_test.go index 80df4e48..5e479a8c 100644 --- a/command/secret/view_test.go +++ b/command/secret/view_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 secret diff --git a/command/service/doc.go b/command/service/doc.go index 6bb9df23..2b1455a1 100644 --- a/command/service/doc.go +++ b/command/service/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 service provides the defined service CLI commands for Vela. // diff --git a/command/service/get.go b/command/service/get.go index 740b6fa1..36a7fcff 100644 --- a/command/service/get.go +++ b/command/service/get.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 service diff --git a/command/service/get_test.go b/command/service/get_test.go index cd60f72f..d5e0b37f 100644 --- a/command/service/get_test.go +++ b/command/service/get_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 service diff --git a/command/service/view.go b/command/service/view.go index ec94407f..698b5730 100644 --- a/command/service/view.go +++ b/command/service/view.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 service diff --git a/command/service/view_test.go b/command/service/view_test.go index e0dcf320..b5ff95fe 100644 --- a/command/service/view_test.go +++ b/command/service/view_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 service diff --git a/command/step/doc.go b/command/step/doc.go index e36e566e..b9db1c83 100644 --- a/command/step/doc.go +++ b/command/step/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 step provides the defined step CLI commands for Vela. // diff --git a/command/step/get.go b/command/step/get.go index 2b7b5ffb..c1efa631 100644 --- a/command/step/get.go +++ b/command/step/get.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 step diff --git a/command/step/get_test.go b/command/step/get_test.go index 0f1f8d39..63b0ad0e 100644 --- a/command/step/get_test.go +++ b/command/step/get_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 step diff --git a/command/step/view.go b/command/step/view.go index 9bd50ed9..e06029a2 100644 --- a/command/step/view.go +++ b/command/step/view.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 step diff --git a/command/step/view_test.go b/command/step/view_test.go index e5b836b4..7ee84677 100644 --- a/command/step/view_test.go +++ b/command/step/view_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 step diff --git a/command/version/doc.go b/command/version/doc.go index ef5e1ac2..a49f5198 100644 --- a/command/version/doc.go +++ b/command/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 CLI commands for Vela. // diff --git a/command/version/version.go b/command/version/version.go index 968f986e..67037c0c 100644 --- a/command/version/version.go +++ b/command/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/command/version/version_test.go b/command/version/version_test.go index 8c352eaf..ce94bdf5 100644 --- a/command/version/version_test.go +++ b/command/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/command/worker/add.go b/command/worker/add.go index c37ce663..c572aae3 100644 --- a/command/worker/add.go +++ b/command/worker/add.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 similar code with update package worker diff --git a/command/worker/add_test.go b/command/worker/add_test.go index 8e42b3dc..736e3d14 100644 --- a/command/worker/add_test.go +++ b/command/worker/add_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 worker diff --git a/command/worker/doc.go b/command/worker/doc.go index 65a53a28..2befdb52 100644 --- a/command/worker/doc.go +++ b/command/worker/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 worker provides the defined worker CLI command for Vela. // diff --git a/command/worker/get.go b/command/worker/get.go index d9126cc7..dafbb811 100644 --- a/command/worker/get.go +++ b/command/worker/get.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 worker diff --git a/command/worker/get_test.go b/command/worker/get_test.go index 10620fb4..91d19ac3 100644 --- a/command/worker/get_test.go +++ b/command/worker/get_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 worker diff --git a/command/worker/update.go b/command/worker/update.go index f7ae2980..91639ab5 100644 --- a/command/worker/update.go +++ b/command/worker/update.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 worker diff --git a/command/worker/update_test.go b/command/worker/update_test.go index 97629d0f..9d0bf436 100644 --- a/command/worker/update_test.go +++ b/command/worker/update_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 worker diff --git a/command/worker/view.go b/command/worker/view.go index b63ceeba..eccd56e7 100644 --- a/command/worker/view.go +++ b/command/worker/view.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 worker diff --git a/command/worker/view_test.go b/command/worker/view_test.go index 198a6f76..237200c9 100644 --- a/command/worker/view_test.go +++ b/command/worker/view_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 worker diff --git a/internal/args.go b/internal/args.go index a85aa76e..bfc79348 100644 --- a/internal/args.go +++ b/internal/args.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 internal diff --git a/internal/client/client.go b/internal/client/client.go index f2599ca3..c1ce0aa1 100644 --- a/internal/client/client.go +++ b/internal/client/client.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 client diff --git a/internal/client/client_test.go b/internal/client/client_test.go index 8aac39be..d26da310 100644 --- a/internal/client/client_test.go +++ b/internal/client/client_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 client diff --git a/internal/client/doc.go b/internal/client/doc.go index d61d11f6..1d8aa4b8 100644 --- a/internal/client/doc.go +++ b/internal/client/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 client provides the ability for Vela to parse // and manage the client rendered for a CLI action. diff --git a/internal/client/validate.go b/internal/client/validate.go index fe1cbcc1..cb84c6f1 100644 --- a/internal/client/validate.go +++ b/internal/client/validate.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 client diff --git a/internal/client/validate_test.go b/internal/client/validate_test.go index 3ed42e0e..83d0ec56 100644 --- a/internal/client/validate_test.go +++ b/internal/client/validate_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 client diff --git a/internal/doc.go b/internal/doc.go index 1e9fd222..77c40bfd 100644 --- a/internal/doc.go +++ b/internal/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 internal provides a collection of internal // packages used for the Vela CLI actions. diff --git a/internal/git.go b/internal/git.go index 6ee2502a..0e0550b4 100644 --- a/internal/git.go +++ b/internal/git.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 internal diff --git a/internal/git_test.go b/internal/git_test.go index 23b383e1..28a25896 100644 --- a/internal/git_test.go +++ b/internal/git_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 internal diff --git a/internal/internal.go b/internal/internal.go index 0b5a69aa..00c4002a 100644 --- a/internal/internal.go +++ b/internal/internal.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 internal diff --git a/internal/output/doc.go b/internal/output/doc.go index e2cd1d35..687ec25f 100644 --- a/internal/output/doc.go +++ b/internal/output/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 output provides the ability for Vela to manage // and manipulate the output rendered for a CLI action. diff --git a/internal/output/driver.go b/internal/output/driver.go index dd915dac..8a98d426 100644 --- a/internal/output/driver.go +++ b/internal/output/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 output diff --git a/internal/output/dump.go b/internal/output/dump.go index c3d4fccf..662cdfc2 100644 --- a/internal/output/dump.go +++ b/internal/output/dump.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 output diff --git a/internal/output/dump_test.go b/internal/output/dump_test.go index b9469391..71a8c192 100644 --- a/internal/output/dump_test.go +++ b/internal/output/dump_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 output diff --git a/internal/output/json.go b/internal/output/json.go index 03fbcf6f..4c53bc97 100644 --- a/internal/output/json.go +++ b/internal/output/json.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 output diff --git a/internal/output/json_test.go b/internal/output/json_test.go index 172e8d8d..3f7aa8e4 100644 --- a/internal/output/json_test.go +++ b/internal/output/json_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 output diff --git a/internal/output/rawjson.go b/internal/output/rawjson.go index be856f56..f51a597c 100644 --- a/internal/output/rawjson.go +++ b/internal/output/rawjson.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 output diff --git a/internal/output/rawjson_test.go b/internal/output/rawjson_test.go index 4b3c4f42..b5f8cc7c 100644 --- a/internal/output/rawjson_test.go +++ b/internal/output/rawjson_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 output diff --git a/internal/output/spew.go b/internal/output/spew.go index 666b046e..e8fe893b 100644 --- a/internal/output/spew.go +++ b/internal/output/spew.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 output diff --git a/internal/output/spew_test.go b/internal/output/spew_test.go index 1e2166e4..711c67d9 100644 --- a/internal/output/spew_test.go +++ b/internal/output/spew_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 output diff --git a/internal/output/stderr.go b/internal/output/stderr.go index 4864f32a..bf672636 100644 --- a/internal/output/stderr.go +++ b/internal/output/stderr.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 output diff --git a/internal/output/stderr_test.go b/internal/output/stderr_test.go index 1ef8d3a0..60f9ce7b 100644 --- a/internal/output/stderr_test.go +++ b/internal/output/stderr_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 output diff --git a/internal/output/stdout.go b/internal/output/stdout.go index 1fe944ef..c5fc5d00 100644 --- a/internal/output/stdout.go +++ b/internal/output/stdout.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 output diff --git a/internal/output/stdout_test.go b/internal/output/stdout_test.go index 1f23f053..663f1052 100644 --- a/internal/output/stdout_test.go +++ b/internal/output/stdout_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 output diff --git a/internal/output/validate.go b/internal/output/validate.go index e25fb58d..37143b97 100644 --- a/internal/output/validate.go +++ b/internal/output/validate.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 output diff --git a/internal/output/validate_test.go b/internal/output/validate_test.go index 542d32db..e852001f 100644 --- a/internal/output/validate_test.go +++ b/internal/output/validate_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 output diff --git a/internal/output/yaml.go b/internal/output/yaml.go index d9fd9159..7074df4f 100644 --- a/internal/output/yaml.go +++ b/internal/output/yaml.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 output diff --git a/internal/output/yaml_test.go b/internal/output/yaml_test.go index 94ffe280..ed45d9d2 100644 --- a/internal/output/yaml_test.go +++ b/internal/output/yaml_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 output diff --git a/release.sh b/release.sh index 27da8df3..6a091dd6 100755 --- a/release.sh +++ b/release.sh @@ -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 #!/bin/sh diff --git a/test/helpers.go b/test/helpers.go index 2db3c4bd..314a2803 100644 --- a/test/helpers.go +++ b/test/helpers.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 test diff --git a/version/version.go b/version/version.go index 30312ee2..f6dfde32 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