Skip to content

Add codemeta generation flag#72

Merged
Anas-Elhounsri merged 3 commits intoSoftwareUnderstanding:mainfrom
francoto:add_codemeta_generation
Apr 20, 2026
Merged

Add codemeta generation flag#72
Anas-Elhounsri merged 3 commits intoSoftwareUnderstanding:mainfrom
francoto:add_codemeta_generation

Conversation

@francoto
Copy link
Copy Markdown
Contributor

Context

sw-metada-bot may have to ask somef to generate the codemeta.json file.

As this package is using rsmetacheck directly but not somef I preferred adding this flag in your package to expose the "-c codemeta.json" from somef.

This would avoid me having to call somef as a new dependancy and run it again to generate the codemeta.json file.

Changes

I added a -c/--generate-codemeta flag to generate codemeta.json file when running somef.
I added a change in the detect_pitfalls_main to filter out the generated codemeta files.
I added a simple mock unit test to make sure that the rsmetacheck wrapper on somef is correct.

@francoto
Copy link
Copy Markdown
Contributor Author

test action did not passed but I am pretty sure this is not due to my changes

@francoto
Copy link
Copy Markdown
Contributor Author

This PR is linked with sw-metadata-bot issue #93

@Anas-Elhounsri Anas-Elhounsri merged commit 19778e3 into SoftwareUnderstanding:main Apr 20, 2026
1 check failed
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