diff --git a/.github/README.md b/.github/README.md index bc17977..d659bb4 100644 --- a/.github/README.md +++ b/.github/README.md @@ -28,5 +28,5 @@ Please see our [support](SUPPORT.md) documentation for further instructions. ## Copyright and License ``` -Copyright (c) 2022 Target Brands, Inc. +Copyright 2022 Target Brands, Inc. ``` diff --git a/.golangci.yml b/.golangci.yml index e8a62d6..99eb052 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 b7056c7..853eb06 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 -t vela-npm:local . ## diff --git a/LICENSE b/LICENSE index 407584b..e50f1f3 100644 --- a/LICENSE +++ b/LICENSE @@ -186,7 +186,7 @@ file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. -Copyright (c) 2022 Target Brands, Inc. +Copyright 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 c11c9b9..2b9a0d6 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-npm/main.go b/cmd/vela-npm/main.go index bcf6328..b942ca7 100644 --- a/cmd/vela-npm/main.go +++ b/cmd/vela-npm/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 @@ -34,7 +32,7 @@ func main() { Usage: "Vela npm plugin for publishing NodeJS packages", Version: v.Semantic(), HelpName: "vela-npm", - Copyright: "Copyright (c) 2022 Target Brands, Inc. All rights reserved.", + Copyright: "Copyright 2022 Target Brands, Inc. All rights reserved.", Authors: []*cli.Author{ { Name: "Vela Admins", diff --git a/internal/npm/config.go b/internal/npm/config.go index 667ea55..a6aa615 100644 --- a/internal/npm/config.go +++ b/internal/npm/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 npm diff --git a/internal/npm/config_test.go b/internal/npm/config_test.go index de8dacf..57b366e 100644 --- a/internal/npm/config_test.go +++ b/internal/npm/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 npm import "testing" diff --git a/internal/npm/package.go b/internal/npm/package.go index 77c4ddc..224ec90 100644 --- a/internal/npm/package.go +++ b/internal/npm/package.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package npm import ( diff --git a/internal/npm/package_test.go b/internal/npm/package_test.go index 4619416..2e64701 100644 --- a/internal/npm/package_test.go +++ b/internal/npm/package_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 npm import ( diff --git a/internal/npm/plugin.go b/internal/npm/plugin.go index d547c9e..abb5881 100644 --- a/internal/npm/plugin.go +++ b/internal/npm/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 npm import ( diff --git a/internal/npm/plugin_test.go b/internal/npm/plugin_test.go index fa66d7a..c08ce63 100644 --- a/internal/npm/plugin_test.go +++ b/internal/npm/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 npm import ( diff --git a/internal/shell/os_context.go b/internal/shell/os_context.go index cd20b2e..95db753 100644 --- a/internal/shell/os_context.go +++ b/internal/shell/os_context.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package shell diff --git a/test/os_context_mock.go b/test/os_context_mock.go index 0467333..7481733 100644 --- a/test/os_context_mock.go +++ b/test/os_context_mock.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Code generated by MockGen. DO NOT EDIT. // Source: cmd/npm/os_context.go diff --git a/version/version.go b/version/version.go index 40b66f9..3777217 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