diff --git a/.github/README.md b/.github/README.md index dbf1ef4..8683665 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) 2022 Target Brands, Inc. +Copyright 2021 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 97b6d15..44382f6 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 815f8a5..3205bb7 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 --no-cache --target certs -t vela-build-summary:certs . ## diff --git a/LICENSE b/LICENSE index 3abdb03..e935fac 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 2021 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 f4fda29..9a380dc 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,4 @@ -# Copyright (c) 2022 Target Brands, Inc. All rights reserved. -# -# Use of this source code is governed by the LICENSE file in this repository. +# SPDX-License-Identifier: Apache-2.0 # capture the current date we build the application from BUILD_DATE = $(shell date +%Y-%m-%dT%H:%M:%SZ) diff --git a/cmd/vela-build-summary/build.go b/cmd/vela-build-summary/build.go index bff6d03..8475d8a 100644 --- a/cmd/vela-build-summary/build.go +++ b/cmd/vela-build-summary/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 main diff --git a/cmd/vela-build-summary/config.go b/cmd/vela-build-summary/config.go index 0ebe444..2311ffd 100644 --- a/cmd/vela-build-summary/config.go +++ b/cmd/vela-build-summary/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 main diff --git a/cmd/vela-build-summary/main.go b/cmd/vela-build-summary/main.go index 250814b..2923064 100644 --- a/cmd/vela-build-summary/main.go +++ b/cmd/vela-build-summary/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 @@ -40,7 +38,7 @@ func main() { app.Name = "vela-build-summary" app.HelpName = "vela-build-summary" app.Usage = "Vela Build Summary plugin for capturing a summary of a build" - app.Copyright = "Copyright (c) 2022 Target Brands, Inc. All rights reserved." + app.Copyright = "Copyright 2021 Target Brands, Inc. All rights reserved." app.Authors = []*cli.Author{ { Name: "Vela Admins", diff --git a/cmd/vela-build-summary/plugin.go b/cmd/vela-build-summary/plugin.go index bad80c7..38c1723 100644 --- a/cmd/vela-build-summary/plugin.go +++ b/cmd/vela-build-summary/plugin.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. 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-build-summary/repo.go b/cmd/vela-build-summary/repo.go index b03132c..d9d886b 100644 --- a/cmd/vela-build-summary/repo.go +++ b/cmd/vela-build-summary/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 main diff --git a/cmd/vela-build-summary/service.go b/cmd/vela-build-summary/service.go index aea270f..d86dbc8 100644 --- a/cmd/vela-build-summary/service.go +++ b/cmd/vela-build-summary/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 // nolint: dupl // ignore similar code with step package main diff --git a/cmd/vela-build-summary/step.go b/cmd/vela-build-summary/step.go index a450343..afe8ed2 100644 --- a/cmd/vela-build-summary/step.go +++ b/cmd/vela-build-summary/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 // nolint: dupl // ignore similar code with service package main diff --git a/cmd/vela-build-summary/table.go b/cmd/vela-build-summary/table.go index 0b6dc93..f35b1d7 100644 --- a/cmd/vela-build-summary/table.go +++ b/cmd/vela-build-summary/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 main diff --git a/version/version.go b/version/version.go index acd7f6e..192ceab 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