Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump manifest headers to 2024 #1092

Merged

Conversation

sdowell
Copy link
Contributor

@sdowell sdowell commented Jan 2, 2024

The license headers for the manifests are generated as part of the presubmits, and need to be bumped for the new year.

The license headers for the manifests are generated as part of the
presubmits, and need to be bumped for the new year.
@sdowell
Copy link
Contributor Author

sdowell commented Jan 2, 2024

/assign @karlkfi

@karlkfi
Copy link
Contributor

karlkfi commented Jan 2, 2024

My understanding is that Google policy is to only update copyright years on file creation, not updates (go/copyright#the-year).

Is this change needed to satisfy validation? If so, it seems like maybe the tooling doesn't match the policy.

@sdowell
Copy link
Contributor Author

sdowell commented Jan 2, 2024

My understanding is that Google policy is to only update copyright years on file creation, not updates (go/copyright#the-year).

Is this change needed to satisfy validation? If so, it seems like maybe the tooling doesn't match the policy.

Yes, this is needed to satisfy the presubmit validation. Currently the CRDs are generated from code and headers are injected, and then the tooling checks if there is a git diff. So the validation now fails since the generated headers have the new year.

@karlkfi
Copy link
Contributor

karlkfi commented Jan 2, 2024

Can you log a bug to fix the automation to preserve the earliest copyright date, instead of always re-generating it?

@sdowell
Copy link
Contributor Author

sdowell commented Jan 2, 2024

Can you log a bug to fix the automation to preserve the earliest copyright date, instead of always re-generating it?

Created a bug

Copy link
Contributor

@karlkfi karlkfi left a comment

Choose a reason for hiding this comment

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

/lgtm

@google-oss-prow google-oss-prow bot added the lgtm label Jan 2, 2024
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: karlkfi

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-prow google-oss-prow bot merged commit 4dee981 into GoogleContainerTools:main Jan 2, 2024
6 checks passed
karlkfi pushed a commit to karlkfi/kpt-config-sync that referenced this pull request Jan 3, 2024
The license headers for the manifests are generated as part of the
presubmits, and need to be bumped for the new year.
google-oss-prow bot pushed a commit that referenced this pull request Jan 3, 2024
The license headers for the manifests are generated as part of the
presubmits, and need to be bumped for the new year.

Co-authored-by: Sam Dowell <sdowell@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants