Skip to content

Use the SPDX identifier Apache-2.0 in license declarations - #397

Merged
mjcarroll merged 1 commit into
rollingfrom
spdx-apache-license
Sep 25, 2026
Merged

mjcarroll merged 1 commit into
rollingfrom
spdx-apache-license

Conversation

@mjcarroll

Copy link
Copy Markdown
Member

Spells the license as its SPDX identifier: Apache-2.0 in package.xml <license> tags and setup.py license= fields (3 files). Text only -- the license itself is unchanged, and nothing else is touched.

One of ~60 mechanical PRs across the ROS 2 core so license declarations can be checked automatically. Same change as ament/ament_package#168.

Did you use Generative AI?

Yes. Assisted-by: Claude Code:claude-opus-5 [git, gh]

The <license> tags in package.xml and the license= fields in setup.py
spelled the license as prose ("Apache License 2.0", "Apache License,
Version 2.0", "Apache 2.0"). Use the SPDX identifier instead so the
declaration can be matched mechanically. The license itself does not
change.

Assisted-by: Claude Code:claude-opus-5 [git, gh]
Signed-off-by: Michael Carroll <mjcarroll.oss@gmail.com>
@codecov

codecov Bot commented Sep 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.18%. Comparing base (51cedf6) to head (f773c5e).

Additional details and impacted files
@@           Coverage Diff            @@
##           rolling     #397   +/-   ##
========================================
  Coverage    88.18%   88.18%           
========================================
  Files           18       18           
  Lines          601      601           
  Branches        53       53           
========================================
  Hits           530      530           
  Misses          52       52           
  Partials        19       19           
Flag Coverage Δ
unittests 88.18% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@asymingt asymingt self-assigned this Sep 25, 2026
@mjcarroll
mjcarroll merged commit e92087a into rolling Sep 25, 2026
6 checks passed
@mjcarroll
mjcarroll deleted the spdx-apache-license branch September 25, 2026 15:12
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.

2 participants