From f62a8f77a781f5f5623eb8e26673ac7e9a0125ac Mon Sep 17 00:00:00 2001 From: Kayla McKay Date: Tue, 18 Jan 2022 13:46:17 -0600 Subject: [PATCH 1/2] chore: update copyright year to 2022 --- .github/README.md | 2 +- .vela/template.yml | 20 ++++++++++---------- Dockerfile | 2 +- LICENSE | 2 +- Makefile | 2 +- cmd/vela-git/build.go | 2 +- cmd/vela-git/build_test.go | 2 +- cmd/vela-git/command.go | 2 +- cmd/vela-git/command_test.go | 2 +- cmd/vela-git/main.go | 4 ++-- cmd/vela-git/netrc.go | 2 +- cmd/vela-git/netrc_test.go | 2 +- cmd/vela-git/plugin.go | 2 +- cmd/vela-git/plugin_test.go | 2 +- cmd/vela-git/repo.go | 2 +- cmd/vela-git/repo_test.go | 2 +- version/version.go | 2 +- 17 files changed, 27 insertions(+), 27 deletions(-) diff --git a/.github/README.md b/.github/README.md index 918f29d..70967ed 100644 --- a/.github/README.md +++ b/.github/README.md @@ -28,7 +28,7 @@ Please see our [support](SUPPORT.md) documentation for further instructions. ## Copyright and License ``` -Copyright (c) 2021 Target Brands, Inc. +Copyright (c) 2022 Target Brands, Inc. ``` [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0) diff --git a/.vela/template.yml b/.vela/template.yml index d78137c..303aba4 100644 --- a/.vela/template.yml +++ b/.vela/template.yml @@ -1,4 +1,4 @@ -# Copyright (c) 2021 Target Brands, Inc. All rights reserved. +# Copyright (c) 2022 Target Brands, Inc. All rights reserved. # # Use of this source code is governed by the LICENSE file in this repository. @@ -18,13 +18,13 @@ metadata: steps: - name: git_plugin_template - image: {{ default "target/vela-git:latest" .image }} - pull: {{ default "true" .pull }} + image: { { default "target/vela-git:latest" .image } } + pull: { { default "true" .pull } } parameters: - log_level: {{ default "info" .log_level }} - path: {{ default "" .path }} - ref: {{ default "refs/heads/master" .ref }} - sha: {{ default "" .sha }} - remote: {{ default "" .sha }} - submodules: {{ default "false" .submodules }} - tags: {{ default "false" .tags }} + log_level: { { default "info" .log_level } } + path: { { default "" .path } } + ref: { { default "refs/heads/master" .ref } } + sha: { { default "" .sha } } + remote: { { default "" .sha } } + submodules: { { default "false" .submodules } } + tags: { { default "false" .tags } } diff --git a/Dockerfile b/Dockerfile index 734d788..013ad8d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -# Copyright (c) 2021 Target Brands, Inc. All rights reserved. +# Copyright (c) 2022 Target Brands, Inc. All rights reserved. # # Use of this source code is governed by the LICENSE file in this repository. diff --git a/LICENSE b/LICENSE index 026db73..3abdb03 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) 2021 Target Brands, Inc. + Copyright (c) 2022 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 2abe1c4..f4a07d4 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# Copyright (c) 2021 Target Brands, Inc. All rights reserved. +# Copyright (c) 2022 Target Brands, Inc. All rights reserved. # # Use of this source code is governed by the LICENSE file in this repository. diff --git a/cmd/vela-git/build.go b/cmd/vela-git/build.go index 78d1d03..2ca0a03 100644 --- a/cmd/vela-git/build.go +++ b/cmd/vela-git/build.go @@ -1,4 +1,4 @@ -// Copyright (c) 2021 Target Brands, Inc. All rights reserved. +// Copyright (c) 2022 Target Brands, Inc. All rights reserved. // // Use of this source code is governed by the LICENSE file in this repository. diff --git a/cmd/vela-git/build_test.go b/cmd/vela-git/build_test.go index 5fdf895..c8b7b07 100644 --- a/cmd/vela-git/build_test.go +++ b/cmd/vela-git/build_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2021 Target Brands, Inc. All rights reserved. +// Copyright (c) 2022 Target Brands, Inc. All rights reserved. // // Use of this source code is governed by the LICENSE file in this repository. diff --git a/cmd/vela-git/command.go b/cmd/vela-git/command.go index 2bdba6c..c0ca0e6 100644 --- a/cmd/vela-git/command.go +++ b/cmd/vela-git/command.go @@ -1,4 +1,4 @@ -// Copyright (c) 2021 Target Brands, Inc. All rights reserved. +// Copyright (c) 2022 Target Brands, Inc. All rights reserved. // // Use of this source code is governed by the LICENSE file in this repository. diff --git a/cmd/vela-git/command_test.go b/cmd/vela-git/command_test.go index ad267a3..96a2619 100644 --- a/cmd/vela-git/command_test.go +++ b/cmd/vela-git/command_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2021 Target Brands, Inc. All rights reserved. +// Copyright (c) 2022 Target Brands, Inc. All rights reserved. // // Use of this source code is governed by the LICENSE file in this repository. diff --git a/cmd/vela-git/main.go b/cmd/vela-git/main.go index e8f63e5..9235a2f 100644 --- a/cmd/vela-git/main.go +++ b/cmd/vela-git/main.go @@ -1,4 +1,4 @@ -// Copyright (c) 2021 Target Brands, Inc. All rights reserved. +// Copyright (c) 2022 Target Brands, Inc. All rights reserved. // // Use of this source code is governed by the LICENSE file in this repository. @@ -40,7 +40,7 @@ func main() { app.Name = "vela-git" app.HelpName = "vela-git" app.Usage = "Vela Git plugin for cloning repositories" - app.Copyright = "Copyright (c) 2021 Target Brands, Inc. All rights reserved." + app.Copyright = "Copyright (c) 2022 Target Brands, Inc. All rights reserved." app.Authors = []*cli.Author{ { Name: "Vela Admins", diff --git a/cmd/vela-git/netrc.go b/cmd/vela-git/netrc.go index f30cf5f..6b5e663 100644 --- a/cmd/vela-git/netrc.go +++ b/cmd/vela-git/netrc.go @@ -1,4 +1,4 @@ -// Copyright (c) 2021 Target Brands, Inc. All rights reserved. +// Copyright (c) 2022 Target Brands, Inc. All rights reserved. // // Use of this source code is governed by the LICENSE file in this repository. diff --git a/cmd/vela-git/netrc_test.go b/cmd/vela-git/netrc_test.go index 0da16ba..0e34f90 100644 --- a/cmd/vela-git/netrc_test.go +++ b/cmd/vela-git/netrc_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2021 Target Brands, Inc. All rights reserved. +// Copyright (c) 2022 Target Brands, Inc. All rights reserved. // // Use of this source code is governed by the LICENSE file in this repository. diff --git a/cmd/vela-git/plugin.go b/cmd/vela-git/plugin.go index 8f5dd91..43a3036 100644 --- a/cmd/vela-git/plugin.go +++ b/cmd/vela-git/plugin.go @@ -1,4 +1,4 @@ -// Copyright (c) 2021 Target Brands, Inc. All rights reserved. +// Copyright (c) 2022 Target Brands, Inc. All rights reserved. // // Use of this source code is governed by the LICENSE file in this repository. diff --git a/cmd/vela-git/plugin_test.go b/cmd/vela-git/plugin_test.go index 84f62db..478ad65 100644 --- a/cmd/vela-git/plugin_test.go +++ b/cmd/vela-git/plugin_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2021 Target Brands, Inc. All rights reserved. +// Copyright (c) 2022 Target Brands, Inc. All rights reserved. // // Use of this source code is governed by the LICENSE file in this repository. diff --git a/cmd/vela-git/repo.go b/cmd/vela-git/repo.go index 609b7da..57e4650 100644 --- a/cmd/vela-git/repo.go +++ b/cmd/vela-git/repo.go @@ -1,4 +1,4 @@ -// Copyright (c) 2021 Target Brands, Inc. All rights reserved. +// Copyright (c) 2022 Target Brands, Inc. All rights reserved. // // Use of this source code is governed by the LICENSE file in this repository. diff --git a/cmd/vela-git/repo_test.go b/cmd/vela-git/repo_test.go index 47c194c..155d9da 100644 --- a/cmd/vela-git/repo_test.go +++ b/cmd/vela-git/repo_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2021 Target Brands, Inc. All rights reserved. +// Copyright (c) 2022 Target Brands, Inc. All rights reserved. // // Use of this source code is governed by the LICENSE file in this repository. diff --git a/version/version.go b/version/version.go index d57d518..9a20fee 100644 --- a/version/version.go +++ b/version/version.go @@ -1,4 +1,4 @@ -// Copyright (c) 2021 Target Brands, Inc. All rights reserved. +// Copyright (c) 2022 Target Brands, Inc. All rights reserved. // // Use of this source code is governed by the LICENSE file in this repository. From 0f875479b96fc978b4dd99c2a71ce9ba7bf85ccf Mon Sep 17 00:00:00 2001 From: Kayla McKay Date: Tue, 18 Jan 2022 15:31:29 -0600 Subject: [PATCH 2/2] fix formatitng switch --- .vela/template.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.vela/template.yml b/.vela/template.yml index 303aba4..0ba574f 100644 --- a/.vela/template.yml +++ b/.vela/template.yml @@ -18,13 +18,13 @@ metadata: steps: - name: git_plugin_template - image: { { default "target/vela-git:latest" .image } } - pull: { { default "true" .pull } } + image: {{ default "target/vela-git:latest" .image }} + pull: {{ default "true" .pull }} parameters: - log_level: { { default "info" .log_level } } - path: { { default "" .path } } - ref: { { default "refs/heads/master" .ref } } - sha: { { default "" .sha } } - remote: { { default "" .sha } } - submodules: { { default "false" .submodules } } - tags: { { default "false" .tags } } + log_level: {{ default "info" .log_level }} + path: {{ default "" .path }} + ref: {{ default "refs/heads/master" .ref }} + sha: {{ default "" .sha }} + remote: {{ default "" .sha }} + submodules: {{ default "false" .submodules }} + tags: {{ default "false" .tags }} \ No newline at end of file