Skip to content

Conversation

@Eleven7825
Copy link
Collaborator

  • Add LICENSE.txt with BSD-3-Clause license to repository root
  • Replace lengthy 29-line license headers with clean 2-line SPDX format
  • Update 196 source files (.cpp, .h, .c) with SPDX headers
  • Update .github/workflows/copyright.yml to check for SPDX headers
  • Update Copyright-SimVascular.txt to reference SPDX format
  • Add update_license_headers.py script for future maintenance

All source files now use standardized SPDX identifiers:
// SPDX-FileCopyrightText: Copyright (c) Stanford University, The Regents of the University of California, and others.
// SPDX-License-Identifier: BSD-3-Clause

Fixes #451

🤖 Generated with Claude Code

Eleven7825 and others added 3 commits October 13, 2025 19:53
- Add LICENSE.txt with BSD-3-Clause license to repository root
- Replace lengthy 29-line license headers with clean 2-line SPDX format
- Update 196 source files (.cpp, .h, .c) with SPDX headers
- Update .github/workflows/copyright.yml to check for SPDX headers
- Update Copyright-SimVascular.txt to reference SPDX format
- Add update_license_headers.py script for future maintenance

All source files now use standardized SPDX identifiers:
  // SPDX-FileCopyrightText: Copyright (c) Stanford University, The Regents of the University of California, and others.
  // SPDX-License-Identifier: BSD-3-Clause

Fixes SimVascular#451

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
- Update update_license_headers.py to handle /** Javadoc-style comments
- Merge latest changes from upstream main
- Add SPDX headers to newly added BoundaryCondition files
- Fix SPDX header in Tensor4.cpp (was using /** style)

Files updated:
- Code/Source/solver/BoundaryCondition.cpp
- Code/Source/solver/BoundaryCondition.h
- Code/Source/solver/RobinBoundaryCondition.cpp
- Code/Source/solver/RobinBoundaryCondition.h
- Code/Source/solver/Tensor4.cpp

All 205 source files now pass SPDX license header check.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
Copy link
Member

@mrp089 mrp089 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Eleven7825! See comments

@codecov
Copy link

codecov bot commented Oct 13, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 67.45%. Comparing base (0305596) to head (fa0fb9f).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #452   +/-   ##
=======================================
  Coverage   67.45%   67.45%           
=======================================
  Files         170      170           
  Lines       34173    34173           
  Branches     5736     5736           
=======================================
  Hits        23050    23050           
  Misses      10985    10985           
  Partials      138      138           

☔ View full report in Codecov by Sentry.
📢 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.

Per reviewer feedback on PR SimVascular#452:

1. Update .licenserc.json to check for SPDX headers instead of old format
2. Update copyright.yml to use [email protected] (from v1.0.6)
3. Remove update_license_headers.py from commit (kept locally for reference)
4. Update LICENSE.txt to match svZeroDSolver exactly (Copyright 2016-2025)
5. Remove Copyright-SimVascular.txt (replaced by LICENSE.txt)

The .licenserc.json now checks for:
- C/C++ files: SPDX-FileCopyrightText and SPDX-License-Identifier
- Python files: Same SPDX format with # comments
- Maintains same ignore patterns for third-party code
The kt3k/license_checker action is archived (max v1.0.6).
Use the deno_license_checker v3.3.1 with Deno runtime instead.

This runs: deno run --allow-read jsr:@kt3k/[email protected]
which uses the .licenserc.json configuration.
- Remove .c from copyright.yml comment (no .c files in Code/)
- Remove *.py section from .licenserc.json (no .py files in Code/)
- Remove update_license_headers.py from .gitignore per reviewer request
@Eleven7825
Copy link
Collaborator Author

@mrp089 I've addressed all the inline review comments in commit fa0fb9f:

  • Removed .c from copyright.yml comment
  • Removed *.py section from .licenserc.json
  • Removed update_license_headers.py from .gitignore

@mrp089 mrp089 merged commit 00f8a41 into SimVascular:main Oct 15, 2025
8 checks passed
kko27 pushed a commit to kko27/svMultiPhysics that referenced this pull request Dec 17, 2025
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.

Change license header

2 participants