Skip to content

Commit

Permalink
chore(license): update source code headers + copyright year (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
wass3rw3rk authored Oct 11, 2023
1 parent 290af6c commit 189bfe9
Show file tree
Hide file tree
Showing 16 changed files with 19 additions and 47 deletions.
4 changes: 2 additions & 2 deletions .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Please see our [support](SUPPORT.md) documentation for further instructions.
## Copyright and License

```
Copyright (c) 2022 Target Brands, Inc.
Copyright 2022 Target Brands, Inc.
```

[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)
[Apache License, Version 2.0](../LICENSE)
4 changes: 1 addition & 3 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 1 addition & 3 deletions Dockerfile.scp
Original file line number Diff line number Diff line change
@@ -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-scp:local . ##
Expand Down
4 changes: 1 addition & 3 deletions Dockerfile.ssh
Original file line number Diff line number Diff line change
@@ -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-ssh:local . ##
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ Apache License
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.
Expand Down
4 changes: 1 addition & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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

# Versions installed for OpenSSH and SSHPass binaries.
# This is the ONLY place these hardcoded versions are set.
Expand Down
6 changes: 2 additions & 4 deletions cmd/vela-scp/main.go
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -20,7 +18,7 @@ func main() {
app := &cli.App{
Name: "vela-scp",
Usage: "Vela plugin wrapping the scp binary.",
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",
Expand Down
6 changes: 2 additions & 4 deletions cmd/vela-ssh/main.go
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -20,7 +18,7 @@ func main() {
app := &cli.App{
Name: "vela-ssh",
Usage: "Vela plugin wrapping the ssh binary.",
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",
Expand Down
4 changes: 1 addition & 3 deletions internal/openssh/openssh.go
Original file line number Diff line number Diff line change
@@ -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 openssh

Expand Down
4 changes: 1 addition & 3 deletions internal/scp/scp.go
Original file line number Diff line number Diff line change
@@ -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

// This package wraps the scp portion of the OpenSSH binaries to allow
// for copying files to/from remote and local file systems.
Expand Down
4 changes: 1 addition & 3 deletions internal/scp/scp_test.go
Original file line number Diff line number Diff line change
@@ -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 scp

Expand Down
4 changes: 1 addition & 3 deletions internal/ssh/ssh.go
Original file line number Diff line number Diff line change
@@ -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

// This package wraps the ssh portion of the OpenSSH binaries to allow
// for executing scripts and commands on remote systems.
Expand Down
4 changes: 1 addition & 3 deletions internal/ssh/ssh_test.go
Original file line number Diff line number Diff line change
@@ -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 ssh

Expand Down
4 changes: 1 addition & 3 deletions internal/testutils/testutils.go
Original file line number Diff line number Diff line change
@@ -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 testutils

Expand Down
4 changes: 1 addition & 3 deletions pkg/binarywrapper/binarywrapper.go
Original file line number Diff line number Diff line change
@@ -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 binarywrapper is a utility package that makes wrapping binaries a little easier
// as it aims to provide a common structure to use for converting binaries
Expand Down
4 changes: 1 addition & 3 deletions pkg/binarywrapper/binarywrapper_test.go
Original file line number Diff line number Diff line change
@@ -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

// binarywrapper_test was chosen to be blackbox testing of the wrapper
// to try and better understand the behavior that end consumers of the wrapper
Expand Down

0 comments on commit 189bfe9

Please sign in to comment.