Skip to content

docs: add third-party notices for climatedatastore-derived code - #60

Merged
ehennestad merged 7 commits into
mainfrom
add-third-party-notices
Jul 16, 2026
Merged

docs: add third-party notices for climatedatastore-derived code#60
ehennestad merged 7 commits into
mainfrom
add-third-party-notices

Conversation

@ehennestad

@ehennestad ehennestad commented Jul 16, 2026

Copy link
Copy Markdown
Owner

Summary

Several MatBox functions and the release workflow were adapted from mathworks/climatedatastore. Its license (BSD-2-style with a MathWorks-products-only clause) requires that redistributed source retain the copyright notice, conditions, and disclaimer, and that derivatives remain under its terms rather than being relicensed. This PR brings MatBox into compliance and makes the attribution consistent:

  • THIRD_PARTY_NOTICES.md: lists the seven adapted files (mapping each to its climatedatastore source file) and reproduces the climatedatastore license verbatim, including a note on the MathWorks-products-only clause (naturally satisfied, since MatBox is used exclusively with MATLAB)
  • LICENSE: one line scoping the MIT grant to exclude the adapted portions, pointing at the notices file
  • Per-file headers: normalized existing Adapted from:/CREDIT: lines to name the specific source file and reference THIRD_PARTY_NOTICES.md; added headers to codecheckToolbox.m and testToolbox.m, which are also derived (shared structure, comments, and version-check logic) but previously carried no attribution
  • tools/MLToolboxInfo.json: lists LICENSE and THIRD_PARTY_NOTICES.md in RootFilesToPackage (the mechanism from feat: include project root files in packaged toolbox #61) so both files ship inside packaged .mltbx releases, covering the license's binary-redistribution condition

Derivation was verified by direct comparison with the climatedatastore sources.

🤖 Generated with Claude Code

Several task and utility functions plus the release workflow were
adapted from mathworks/climatedatastore, whose license requires
retaining the copyright notice, conditions, and disclaimer with
redistributed source, and keeps derivatives under its own terms
rather than MIT.

- Add THIRD_PARTY_NOTICES.md listing the adapted files and
  reproducing the climatedatastore license verbatim
- Scope the MIT grant in LICENSE to exclude the adapted portions
- Normalize per-file attribution headers to name the specific source
  file and point at THIRD_PARTY_NOTICES.md, adding headers to
  codecheckToolbox.m and testToolbox.m which lacked them

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Test Results

23 tests   23 ✅  19s ⏱️
 5 suites   0 💤
 1 files     0 ❌

Results for commit 1f6d1eb.

♻️ This comment has been updated with latest results.

@codecov

codecov Bot commented Jul 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 43.16%. Comparing base (2519f3d) to head (79b853f).
⚠️ Report is 10 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #60      +/-   ##
==========================================
+ Coverage   42.02%   43.16%   +1.13%     
==========================================
  Files          59       61       +2     
  Lines        1468     1522      +54     
==========================================
+ Hits          617      657      +40     
- Misses        851      865      +14     

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

ehennestad and others added 6 commits July 16, 2026 21:48
Uses the RootFilesToPackage mechanism from #61 so the license and
third-party notices ship inside packaged toolbox releases, covering
the binary-redistribution condition of the climatedatastore license.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
'Repository root' is wrong for users who installed the .mltbx, where
THIRD_PARTY_NOTICES.md sits at the installed toolbox root instead.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@ehennestad
ehennestad merged commit 33eb00a into main Jul 16, 2026
2 checks passed
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