Skip to content

refactor: Update copyright headers and license information across the…#1

Open
shackmann wants to merge 1 commit into
mainfrom
stefan/skywalking
Open

refactor: Update copyright headers and license information across the…#1
shackmann wants to merge 1 commit into
mainfrom
stefan/skywalking

Conversation

@shackmann

@shackmann shackmann commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

… 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.

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.txt and Ruff CPY001 to Apache skywalking-eyes via .licenserc.yaml. The insert-license pre-commit hook and task license-check now run the apache/skywalking-eyes:0.8.0 Docker image (header fix / header check). Notebooks are handled separately by new scripts/insert_license_notebooks.py (insert-license-notebooks hook), which reads header text from .licenserc.yaml so Python and notebooks stay aligned. Ruff’s flake8-copyright block is removed from pyproject.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.

… 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant