mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 22:30:54 +01:00
[PR #871] [MERGED] Update license year #778
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/apple/pkl/pull/871
Author: @bioball
Created: 1/2/2025
Status: ✅ Merged
Merged: 1/7/2025
Merged by: @bioball
Base:
main← Head:license-year-update📝 Commits (1)
a150917Update license year📊 Changes
5 files changed (+12 additions, -4 deletions)
View changed files
📝
DEVELOPMENT.adoc(+4 -0)📝
NOTICE.txt(+1 -1)📝
buildSrc/src/main/kotlin/pklAllProjects.gradle.kts(+5 -1)📝
buildSrc/src/main/resources/license-header.line-comment.txt(+1 -1)📝
buildSrc/src/main/resources/license-header.star-block.txt(+1 -1)📄 Description
Happy new year!
This adds logic to update the license header year only when source code files change.
For new files, they will receive the current year as the license year.
For existing files, they will receive a range from the initial year to the current year (e.g. 2024-2025 for the set of files currently in the repo).
For those like me that call apple/pkl something other than "origin", set the env var
PKL_ORIGINAL_REMOTE_NAMEwhen developing locally. Personally, I have setPKL_ORIGINAL_REMOTE_NAME=upstream.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.