Fix Cimas Makefile template lutaml CLI for gem 0.10.18: https://github.com/metanorma/ci/issues/281#282
Open
opoudjis wants to merge 1 commit into
Open
Conversation
lutaml -t png -o $@ $< no longer works. The lutaml gem 0.10.18 reorganised into Thor subcommands; diagram generation moved to 'lutaml lml generate <input> -o <output>' (output format inferred from extension). Affected every metanorma/metanorma-model-* repo whose Makefile is Cimas-generated: bsi, csd, iso, itu, nist, ogc, standoc. Each was tactically patched direct to main as a stop-gap; this PR is the durable fix so the next Cimas regeneration doesn't reintroduce the broken CLI. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
This was referenced May 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #281.
Summary
Patches
cimas-config/gh-actions/model/Makefileline 21 to use the post-0.10.18lutamlCLI:The
lutamlgem 0.10.18 reorganised into Thor subcommands; diagram generation moved tolutaml lml generate <input> -o <output>, with the output format inferred from the extension (so-t pngis no longer needed).lutaml-wsd2umlat line 24 is unchanged — that binary still ships as a standalone.Affected repos
Every
metanorma/metanorma-model-*whose Makefile is Cimas-generated (verified by inspection of the# Auto-generated by Cimas: Do not edit it manually!header):metanorma/metanorma-model-iso— tactically patched in commit on its main branchmetanorma/metanorma-model-bsi— tactically patchedmetanorma/metanorma-model-csd— tactically patchedmetanorma/metanorma-model-itu— tactically patchedmetanorma/metanorma-model-nist— tactically patched (onmaster— its default branch)metanorma/metanorma-model-ogc— tactically patchedmetanorma/metanorma-model-standoc— tactically patchedThe tactical patches got CI green on each of those repos today. Without this template fix, the next Cimas regeneration would re-emit the broken Makefile line and reintroduce the failure. After this PR merges, regenerating any of the affected repos via Cimas re-emits the corrected line.
Test plan
🤖 Generated with Claude Code