Conversation
Identified in #4214, many samples in this repo are missing licence headers according to the header-checker-lint check. This PR adds headers for run/ samples Note: more samples require headers, but many samples may not pass CI, so this PR is intentionally a partial fix. Added via command `go run github.com/google/addlicense@v1.2.0 run/.`
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request improves the repository's compliance by systematically adding the required Apache 2.0 license headers to various sample files located in the Highlights
Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request adds license headers to several files in the run/ directory. However, it appears the addlicense tool has incorrectly set the copyright year to 2026 in all the new headers. This is a future year and should be corrected. I've left a comment on one of the YAML files with a suggestion. Please apply the fix to all files changed in this PR, adapting the comment style for .js and .css files.
| @@ -1,3 +1,17 @@ | |||
| # Copyright 2026 Google LLC | |||
There was a problem hiding this comment.
The copyright year is set to 2026, which is a future year. This seems to be an error from the addlicense tool and affects all files in this PR. Please correct the year in all the new license headers. The year should typically be the year of creation or last significant modification.
# Copyright <YEAR> Google LLC
Identified in #4214, many samples in this repo are missing licence headers according to the header-checker-lint check.
This PR adds headers for run/ samples
Note: more samples require headers, but many samples may not pass CI, so this PR is intentionally a partial fix.
Added via command
go run github.com/google/addlicense@v1.2.0 run/.