Skip to content

Commit

Permalink
Merge pull request #369 from prashantrewar/update-copyright-header
Browse files Browse the repository at this point in the history
Update copyright headers
  • Loading branch information
joaopapereira authored Mar 25, 2024
2 parents bd6adce + 4cf9128 commit 9fa4c21
Show file tree
Hide file tree
Showing 87 changed files with 90 additions and 88 deletions.
2 changes: 1 addition & 1 deletion cmd/vendir/vendir.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package main
Expand Down
2 changes: 1 addition & 1 deletion code-header-template.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Copyright {{copyright-year}} VMware, Inc.
Copyright {{copyright-year}} The Carvel Authors.
SPDX-License-Identifier: Apache-2.0
2 changes: 1 addition & 1 deletion hack/tools.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

// +build tools
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/cmd/sort_semver.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package cmd
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/cmd/sync.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package cmd
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/cmd/tools.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package cmd
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/cmd/ui_flags.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package cmd
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/cmd/vendir.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package cmd
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/cmd/version.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package cmd
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/config/config.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package config
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/config/config_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package config_test
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/config/data.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package config
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/config/directory.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package config
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/config/doc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

// Package config contains logic for parsing config.
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/config/dockerconfigjson.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package config
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/config/dockerconfigjson_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package config_test
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/config/lock_config.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package config
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/config/lock_config_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package config_test
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/config/lock_directory.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package config
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/config/resources.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package config
Expand Down
3 changes: 2 additions & 1 deletion pkg/vendir/directory/directory.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package directory
Expand All @@ -9,6 +9,7 @@ import (
"fmt"
"os"
"path/filepath"

"sigs.k8s.io/yaml"

ctlconf "carvel.dev/vendir/pkg/vendir/config"
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/directory/file_filter.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package directory
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/directory/info_log.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package directory
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/directory/named_ref_fetcher.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package directory
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/directory/staging_dir.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package directory
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/directory/sub_path.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package directory
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/directory/symlink.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package directory
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/directory/symlink_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package directory
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/archive.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package fetch
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/cache/cache.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package cache
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/cache/cache_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package cache_test
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/cache/resources/amount.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package resources
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/cache/resources/math.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package resources
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/cache/resources/quantity.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package resources
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/cache/resources/scale_int.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package resources
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/cache/resources/suffix.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package resources
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/git/git.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package git
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/git/git_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package git_test
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/git/line_section_reader.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package git
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/git/sync.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package git
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/git/verification.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package git
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/githubrelease/release_notes_checksums.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package githubrelease
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package githubrelease_test
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/githubrelease/sync.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package githubrelease
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/helmchart/http_source.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package helmchart
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/helmchart/oci_source.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package helmchart
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/helmchart/sync.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package helmchart
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/hg/hg.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package hg
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/hg/sync.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package hg
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/http/sync.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package http
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/image/guessed_ref.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package image
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/image/guessed_ref_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package image_test
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/image/imgpkg.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package image
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/image/imgpkg_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package image_test
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/image/sync.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package image
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/imgpkgbundle/sync.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0
package imgpkgbundle

Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/inline/sync.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package inline
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/move.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package fetch
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/move_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package fetch_test
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/ref_fetcher.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package fetch
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/temp_area.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package fetch
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/openpgparmor/armor.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package openpgparmor
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/version/version.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package version
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/versions/selector.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package versions
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/versions/semvers.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package versions
Expand Down
Loading

0 comments on commit 9fa4c21

Please sign in to comment.