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

[Py] Add license header and SPDX-License-Identifier: Apache-2.0 to all source #1736

Closed
yesudeep opened this issue Jan 31, 2025 · 0 comments
Closed
Assignees
Milestone

Comments

@yesudeep
Copy link
Contributor

yesudeep commented Jan 31, 2025

Add the following to all source files and preferably automate it.

# Copyright 2025 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
@yesudeep yesudeep added this to the py-0.1.0 milestone Jan 31, 2025
@yesudeep yesudeep self-assigned this Jan 31, 2025
@yesudeep yesudeep changed the title [Py] Add # SPDX-License-Identifier: Apache-2.0 to all source [Py] Add license header and SPDX-License-Identifier: Apache-2.0 to all source Jan 31, 2025
yesudeep added a commit that referenced this issue Jan 31, 2025
Issue: #1736

The copyright headers in Python files have been updated to include SPDX license
identifier and change "Google Inc." to "Google LLC". Additionally, simplified
the pre-commit hook command for branch protection.

CHANGELOG:
- chore: update copyright header to use "Google LLC" instead of "Google Inc."
- chore: add SPDX-License-Identifier to copyright headers
- build: simplify no-commits-on-branches pre-commit hook command by removing 'py' argument
- feat: add check licenses script for later use
- chore: remove spurious .projectile file that would cause emacs to tighten scope
yesudeep added a commit that referenced this issue Jan 31, 2025
Issue: #1736

The copyright headers in Python files have been updated to include SPDX license
identifier and change "Google Inc." to "Google LLC". Additionally, simplified
the pre-commit hook command for branch protection.

CHANGELOG:
- chore: update copyright header to use "Google LLC" instead of "Google Inc."
- chore: add SPDX-License-Identifier to copyright headers
- build: simplify no-commits-on-branches pre-commit hook command by removing 'py' argument
- feat: add check licenses script for later use
- chore: remove spurious .projectile file that would cause emacs to tighten scope
- refactor: move PATH environment variable handling into its own
  function
- feat: add govulncheck to check for known vulnerabilities in
  dependencies
- feat: add cleanup temp files script
yesudeep added a commit that referenced this issue Jan 31, 2025
Issue: #1736

The copyright headers in Python files have been updated to include SPDX license
identifier and change "Google Inc." to "Google LLC". Additionally, simplified
the pre-commit hook command for branch protection.

CHANGELOG:
- chore: update copyright header to use "Google LLC" instead of "Google Inc."
- chore: add SPDX-License-Identifier to copyright headers
- build: simplify no-commits-on-branches pre-commit hook command by removing 'py' argument
- feat: add check licenses script for later use
- chore: remove spurious .projectile file that would cause emacs to tighten scope
- refactor: move PATH environment variable handling into its own
  function
- feat: add govulncheck to check for known vulnerabilities in
  dependencies
- feat: add cleanup temp files script
yesudeep added a commit that referenced this issue Jan 31, 2025
Issue: #1736

The copyright headers in Python files have been updated to include SPDX license
identifier and change "Google Inc." to "Google LLC". Additionally, simplified
the pre-commit hook command for branch protection.

CHANGELOG:
- chore: update copyright header to use "Google LLC" instead of "Google Inc."
- chore: add SPDX-License-Identifier to copyright headers
- build: simplify no-commits-on-branches pre-commit hook command by removing 'py' argument
- feat: add check licenses script for later use
- chore: remove spurious .projectile file that would cause emacs to tighten scope
- refactor: move PATH environment variable handling into its own
  function
- feat: add govulncheck to check for known vulnerabilities in
  dependencies
- feat: add cleanup temp files script
yesudeep added a commit that referenced this issue Jan 31, 2025
Issue: #1736

The copyright headers in Python files have been updated to include SPDX license
identifier and change "Google Inc." to "Google LLC". Additionally, simplified
the pre-commit hook command for branch protection.

CHANGELOG:
- chore: update copyright header to use "Google LLC" instead of "Google Inc."
- chore: add SPDX-License-Identifier to copyright headers
- build: simplify no-commits-on-branches pre-commit hook command by removing 'py' argument
- feat: add check licenses script for later use
- chore: remove spurious .projectile file that would cause emacs to tighten scope
- refactor: move PATH environment variable handling into its own
  function
- feat: add govulncheck to check for known vulnerabilities in
  dependencies
- feat: add cleanup temp files script
yesudeep added a commit that referenced this issue Jan 31, 2025
Issue: #1736

The copyright headers in Python files have been updated to include SPDX license
identifier and change "Google Inc." to "Google LLC". Additionally, simplified
the pre-commit hook command for branch protection.

CHANGELOG:
- chore: update copyright header to use "Google LLC" instead of "Google Inc."
- chore: add SPDX-License-Identifier to copyright headers
- build: simplify no-commits-on-branches pre-commit hook command by removing 'py' argument
- feat: add check licenses script for later use
- chore: remove spurious .projectile file that would cause emacs to tighten scope
- refactor: move PATH environment variable handling into its own
  function
- feat: add govulncheck to check for known vulnerabilities in
  dependencies
- feat: add cleanup temp files script
- chore: configure ci checks to run regardless of directory modified to
  catch cross-runtime errors
yesudeep added a commit that referenced this issue Jan 31, 2025
Issue: #1736

The copyright headers in Python files have been updated to include SPDX license
identifier and change "Google Inc." to "Google LLC". Additionally, simplified
the pre-commit hook command for branch protection.

CHANGELOG:
- chore: update copyright header to use "Google LLC" instead of "Google Inc."
- chore: add SPDX-License-Identifier to copyright headers
- build: simplify no-commits-on-branches pre-commit hook command by removing 'py' argument
- feat: add check licenses script for later use
- chore: remove spurious .projectile file that would cause emacs to tighten scope
- refactor: move PATH environment variable handling into its own
  function
- feat: add govulncheck to check for known vulnerabilities in
  dependencies
- feat: add cleanup temp files script
- chore: configure ci checks to run regardless of directory modified to
  catch cross-runtime errors
yesudeep added a commit that referenced this issue Feb 3, 2025
… config #1736

ISSUE: #1736

CHANGELOG:
- [ ] Update source files to use `SPDX-License-Identifier`
- [ ] Update ruff formatting configuration to be closer to Google style.
      https://google.github.io/styleguide/pyguide.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

1 participant