diff --git a/.github/README.md b/.github/README.md index d7becb5..cabb1f3 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 b02770f..2dd2e7d 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-influx: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 b64a8ca..05a84af 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-influx/config.go b/cmd/vela-influx/config.go index a3ceb9a..7efd57d 100644 --- a/cmd/vela-influx/config.go +++ b/cmd/vela-influx/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-influx/config_test.go b/cmd/vela-influx/config_test.go index 0a82535..fb33b97 100644 --- a/cmd/vela-influx/config_test.go +++ b/cmd/vela-influx/config_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 main diff --git a/cmd/vela-influx/main.go b/cmd/vela-influx/main.go index 052f4ce..4b4cbc5 100644 --- a/cmd/vela-influx/main.go +++ b/cmd/vela-influx/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-influx" app.HelpName = "vela-influx" app.Usage = "Vela Influx plugin for for sending data to an InfluxDB" - 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-influx/plugin.go b/cmd/vela-influx/plugin.go index 962ff2a..a7a1b21 100644 --- a/cmd/vela-influx/plugin.go +++ b/cmd/vela-influx/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-influx/plugin_test.go b/cmd/vela-influx/plugin_test.go index 784bb17..1064a6e 100644 --- a/cmd/vela-influx/plugin_test.go +++ b/cmd/vela-influx/plugin_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 main diff --git a/cmd/vela-influx/write.go b/cmd/vela-influx/write.go index 8b19f1e..ba17fbe 100644 --- a/cmd/vela-influx/write.go +++ b/cmd/vela-influx/write.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. 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-influx/write_test.go b/cmd/vela-influx/write_test.go index 127fc58..8379822 100644 --- a/cmd/vela-influx/write_test.go +++ b/cmd/vela-influx/write_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 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