Skip to content

docs: Standardize copyright headers in krm-functions-catalog#1220

Merged
CsatariGergely merged 5 commits intokptdev:mainfrom
SurbhiAgarwal1:fix/copyright-headers
Apr 16, 2026
Merged

docs: Standardize copyright headers in krm-functions-catalog#1220
CsatariGergely merged 5 commits intokptdev:mainfrom
SurbhiAgarwal1:fix/copyright-headers

Conversation

@SurbhiAgarwal1
Copy link
Copy Markdown
Contributor

Description

This PR standardizes copyright headers across the krm-functions-catalog repository to use "The kpt Authors" consistently.

Changes

  • Updated 16 files with Google LLC headers to "The kpt Authors" (preserved original years 2019-2022)
  • Removed "Modifications Copyright (C) 2025 OpenInfra Foundation Europe" lines
  • Added copyright headers to 61 files that were missing them (using year 2026)
  • Skipped 31 generated files (files with // Code generated comment)

Files Modified

Google LLC → The kpt Authors (16 files)

  • apply-replacements: run.go, run_js.go
  • gatekeeper: main.go, validate.go
  • render-helm-chart: main.go, helmfn/helmchartprocessor.go
  • set-labels: main.go, run.go, run_js.go
  • set-namespace: main.go, run.go, run_js.go, transformer/consts.go, transformer/namespace.go
  • starlark: run.go, run_js.go

Added Headers (61 files)

  • apply-replacements, apply-setters, create-setters, ensure-name-substring
  • gatekeeper, generate-kpt-pkg-docs, kubeconform, list-setters
  • remove-local-config-resources, render-helm-chart, search-replace
  • set-annotations, set-enforcement-action, set-image, set-namespace
  • sleep, starlark, upsert-resource

Testing

All changes are header-only modifications. No functional code changes.

Fixes kptdev/kpt#4395

- Replace 'Google LLC' with 'The kpt Authors' in 16 files (keeping original years 2019-2022)
- Remove 'OpenInfra Foundation Europe' modification lines
- Add copyright headers to 61 files missing them (using year 2026)
- Skip 31 generated files

Fixes #4395

Signed-off-by: Surbhi <agarwalsurbhi1807@gmail.com>
Copilot AI review requested due to automatic review settings February 26, 2026 11:13
@netlify
Copy link
Copy Markdown

netlify bot commented Feb 26, 2026

Deploy Preview for krm-function-catalog canceled.

Name Link
🔨 Latest commit ce6b606
🔍 Latest deploy log https://app.netlify.com/projects/krm-function-catalog/deploys/69a9962357734a0008c0ea06

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Copy link
Copy Markdown
Collaborator

@liamfallon liamfallon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some small things I noticed.

Comment thread functions/go/apply-replacements/run.go
Comment thread functions/go/apply-replacements/run_js.go
Comment thread functions/go/kubeconform/main.go Outdated
Comment thread functions/go/kubeconform/kubeconform.go
Comment thread functions/go/kubeconform/kubeconform.go Outdated
Comment thread functions/go/kubeconform/kubeconform_test.go
Comment thread functions/go/render-helm-chart/helmfn/helmchartprocessor.go
Comment thread functions/go/render-helm-chart/main.go
Comment thread functions/go/starlark/run.go
Comment thread functions/go/starlark/run_js.go
Copy link
Copy Markdown
Collaborator

@liamfallon liamfallon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are just one or two tiny changes left to do on this one.

Comment thread functions/go/kubeconform/kubeconform.go Outdated
Signed-off-by: Surbhi <agarwalsurbhi1807@gmail.com>
@SurbhiAgarwal1 SurbhiAgarwal1 force-pushed the fix/copyright-headers branch from e7a9816 to 0f35140 Compare March 5, 2026 13:24
@SurbhiAgarwal1
Copy link
Copy Markdown
Contributor Author

Hi @liamfallon, I've removed the duplicate copyright header from kubeconform.go. Please let me know if there are any other changes needed.

Comment thread functions/go/kubeconform/main.go Outdated
Comment thread functions/go/kubeconform/main.go Outdated
Updated copyright year from 2026 to 2025-2026 in the license header.
@liamfallon
Copy link
Copy Markdown
Collaborator

Apologies @SurbhiAgarwal1 , I made a muck of "functions/go/kubeconform/main.go" and I had to clean it up.

Copy link
Copy Markdown
Collaborator

@liamfallon liamfallon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks very much for all the hard work on this one.

@CsatariGergely CsatariGergely merged commit 19c3573 into kptdev:main Apr 16, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inconsistent copyright headers in function catalog

5 participants