refactor: Update copyright headers and license information across the…#1
Open
shackmann wants to merge 1 commit into
Open
refactor: Update copyright headers and license information across the…#1shackmann wants to merge 1 commit into
shackmann wants to merge 1 commit into
Conversation
… codebase - Changed copyright notice to include "and its affiliates" for consistency. - Updated license text in all relevant files to reflect the Apache License, Version 2.0. - Removed the deprecated `insert_license.py` script and added a new `insert_license_notebooks.py` script to handle license insertion in Jupyter notebooks. - Adjusted kernel specifications in Jupyter notebooks to reflect the correct versioning format. - Removed flake8-copyright configuration from `pyproject.toml` as it is no longer needed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
… codebase
insert_license.pyscript and added a newinsert_license_notebooks.pyscript to handle license insertion in Jupyter notebooks.pyproject.tomlas it is no longer needed.Note
Medium Risk
Wide mechanical header and tooling changes plus a new Docker dependency for pre-commit and CI license-check; no SDK runtime behavior changes, but contributors and pipelines must have Docker available.
Overview
Replaces the two-line SPDX stamp with the full Apache License 2.0 notice (copyright now “DataRobot, Inc. and its affiliates”) across Python sources, scripts, tests, and example notebooks.
License enforcement moves from
scripts/insert_license.py+.license-header.txtand RuffCPY001to Apache skywalking-eyes via.licenserc.yaml. Theinsert-licensepre-commit hook andtask license-checknow run theapache/skywalking-eyes:0.8.0Docker image (header fix/header check). Notebooks are handled separately by newscripts/insert_license_notebooks.py(insert-license-notebookshook), which reads header text from.licenserc.yamlso Python and notebooks stay aligned. Ruff’sflake8-copyrightblock is removed frompyproject.toml.Contributor docs in README are updated to describe Docker as a prerequisite for license stamping and checking. Notebook diffs are mostly license cells plus minor kernelspec display-name tweaks.
Reviewed by Cursor Bugbot for commit a37ce54. Bugbot is set up for automated code reviews on this repo. Configure here.