Skip to content

feat: fill codemeta release notes and runtime platform per release - #197

Merged
ehennestad merged 2 commits into
mainfrom
codemeta-release-notes-url
Sep 14, 2026
Merged

ehennestad merged 2 commits into
mainfrom
codemeta-release-notes-url

Conversation

@ehennestad

@ehennestad ehennestad commented Sep 14, 2026 •

Copy link
Copy Markdown
Collaborator

The codemeta update task runs from the release workflow after a version is tagged. It wrote only version, downloadUrl and dateModified, so releaseNotes stayed a link to the full releases list, and the minimum MATLAB release was a hand-maintained copy that had drifted to R2022b while the packaging file, CI matrix and README all say R2022a.

The task now writes releaseNotes as a link to the GitHub releases page anchored on the released tag, for example releases#release-v0.12.0. It reads the minimum MATLAB release from tools/MLToolboxInfo.json and writes it to runtimePlatform, and asserts that no maximum release is set so the "or later" wording cannot become wrong silently. dateModified is still stamped with the release date. datePublished is the first release date and the task leaves it alone.

codemeta.json is updated by hand for v0.12.0 to match what the task now produces. It also gains url, readme, installUrl, keywords, maintainer, dateCreated and datePublished, and drops the incorrect softwareRequirements entry in favour of runtimePlatform.

🤖 Generated with Claude Code

The codemeta update task now writes releaseNotes as a link to the
GitHub releases page anchored on the released tag, reads the minimum
MATLAB release from the toolbox packaging file into runtimePlatform,
and stamps datePublished alongside dateModified.

codemeta.json is updated by hand for v0.12.0 to match. It corrects the
minimum release from R2022b to R2022a, replaces softwareRequirements
with runtimePlatform, and adds url, readme, installUrl, keywords,
maintainer and dateCreated.

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

github-actions Bot commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

Test Results (R2022a)

858 tests   - 262   854 ✅  - 248   4m 51s ⏱️ - 2m 44s
 27 suites ±  0     4 💤  -  14 
  1 files   ±  0     0 ❌ ±  0 

Results for commit 038de16. ± Comparison against base commit 81e60aa.

This pull request removes 262 tests.
RoundTripTest ‑ testJsonLdRoundTrip(MetadataType=AccessEligibilityType)
RoundTripTest ‑ testJsonLdRoundTrip(MetadataType=AccessForm)
RoundTripTest ‑ testJsonLdRoundTrip(MetadataType=AccessProcessType)
RoundTripTest ‑ testJsonLdRoundTrip(MetadataType=Accessibility)
RoundTripTest ‑ testJsonLdRoundTrip(MetadataType=AccountInformation)
RoundTripTest ‑ testJsonLdRoundTrip(MetadataType=ActionStatusType)
RoundTripTest ‑ testJsonLdRoundTrip(MetadataType=Affiliation)
RoundTripTest ‑ testJsonLdRoundTrip(MetadataType=AgeCategory)
RoundTripTest ‑ testJsonLdRoundTrip(MetadataType=AmountOfChemical)
RoundTripTest ‑ testJsonLdRoundTrip(MetadataType=AnalysisTechnique)
…

♻️ This comment has been updated with latest results.

datePublished is the first release date, which the CodeMeta generator
labels "First release date", so the update task no longer overwrites it
each release. codemeta.json pins it to 2023-09-26, when v0.9.0 was
published.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@ehennestad
ehennestad enabled auto-merge (squash) September 14, 2026 12:58
@github-actions

Copy link
Copy Markdown
Contributor

Test Results (R2026a)

858 tests   - 262   856 ✅  - 247   5m 35s ⏱️ - 3m 3s
 27 suites ±  0     2 💤  -  14 
  1 files   ±  0     0 ❌ ±  0 

Results for commit 038de16. ± Comparison against base commit 81e60aa.

This pull request removes 262 tests.
RoundTripTest ‑ testJsonLdRoundTrip(MetadataType=AccessEligibilityType)
RoundTripTest ‑ testJsonLdRoundTrip(MetadataType=AccessForm)
RoundTripTest ‑ testJsonLdRoundTrip(MetadataType=AccessProcessType)
RoundTripTest ‑ testJsonLdRoundTrip(MetadataType=Accessibility)
RoundTripTest ‑ testJsonLdRoundTrip(MetadataType=AccountInformation)
RoundTripTest ‑ testJsonLdRoundTrip(MetadataType=ActionStatusType)
RoundTripTest ‑ testJsonLdRoundTrip(MetadataType=Affiliation)
RoundTripTest ‑ testJsonLdRoundTrip(MetadataType=AgeCategory)
RoundTripTest ‑ testJsonLdRoundTrip(MetadataType=AmountOfChemical)
RoundTripTest ‑ testJsonLdRoundTrip(MetadataType=AnalysisTechnique)
…

@codecov

codecov Bot commented Sep 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.10%. Comparing base (9030b75) to head (038de16).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #197      +/-   ##
==========================================
- Coverage   80.37%   80.10%   -0.28%     
==========================================
  Files         424      424              
  Lines        4403     4423      +20     
==========================================
+ Hits         3539     3543       +4     
- Misses        864      880      +16     

☔ 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
ehennestad merged commit 6b8cfe7 into main Sep 14, 2026
8 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