diff --git a/.github/README.md b/.github/README.md index b80f898..06178e7 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 2198b04..b4fd763 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 # set a global Docker argument for the default CLI version # 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 6f1e37c..1c68635 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-hugo/build.go b/cmd/vela-hugo/build.go index 7ab4630..742205c 100644 --- a/cmd/vela-hugo/build.go +++ b/cmd/vela-hugo/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-hugo/command.go b/cmd/vela-hugo/command.go index 97bbc78..836e546 100644 --- a/cmd/vela-hugo/command.go +++ b/cmd/vela-hugo/command.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. 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-hugo/command_test.go b/cmd/vela-hugo/command_test.go index dd2a987..9260457 100644 --- a/cmd/vela-hugo/command_test.go +++ b/cmd/vela-hugo/command_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-hugo/config.go b/cmd/vela-hugo/config.go index 21097d3..1b02cba 100644 --- a/cmd/vela-hugo/config.go +++ b/cmd/vela-hugo/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-hugo/config_test.go b/cmd/vela-hugo/config_test.go index 7d2071c..afcbe19 100644 --- a/cmd/vela-hugo/config_test.go +++ b/cmd/vela-hugo/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-hugo/hugo.go b/cmd/vela-hugo/hugo.go index ecf5ec1..dab4450 100644 --- a/cmd/vela-hugo/hugo.go +++ b/cmd/vela-hugo/hugo.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. 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-hugo/main.go b/cmd/vela-hugo/main.go index b67bbc3..a74c218 100644 --- a/cmd/vela-hugo/main.go +++ b/cmd/vela-hugo/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-hugo" app.HelpName = "vela-hugo" app.Usage = "Vela Hugo plugin for generating a static website" - 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-hugo/plugin.go b/cmd/vela-hugo/plugin.go index e8dbc30..300ceeb 100644 --- a/cmd/vela-hugo/plugin.go +++ b/cmd/vela-hugo/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-hugo/plugin_test.go b/cmd/vela-hugo/plugin_test.go index f0c86fe..7a24e72 100644 --- a/cmd/vela-hugo/plugin_test.go +++ b/cmd/vela-hugo/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-hugo/theme.go b/cmd/vela-hugo/theme.go index 8abfd6c..f23545f 100644 --- a/cmd/vela-hugo/theme.go +++ b/cmd/vela-hugo/theme.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. 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-hugo/theme_test.go b/cmd/vela-hugo/theme_test.go index b1157f7..b41d025 100644 --- a/cmd/vela-hugo/theme_test.go +++ b/cmd/vela-hugo/theme_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