Skip to content

DIMA converter: increment galaxy version and run jq_all_the_things#1219

Merged
adulau merged 1 commit into
mainfrom
codex/fix-dima-converter-for-version-and-jq_all_the_things
May 26, 2026
Merged

DIMA converter: increment galaxy version and run jq_all_the_things#1219
adulau merged 1 commit into
mainfrom
codex/fix-dima-converter-for-version-and-jq_all_the_things

Conversation

@adulau
Copy link
Copy Markdown
Member

@adulau adulau commented May 26, 2026

Motivation

  • Ensure the generated DIMA galaxy records a proper version that increments on each regeneration instead of being hard-coded, and make sure formatting/normalization (jq_all_the_things) is executed automatically after generation.

Description

  • Update tools/gen_dima.py so build_galaxy accepts a version parameter and the generator reads the existing galaxies/dima-techniques.json version (if present) and writes current_version + 1.
  • Add an automatic call to ./jq_all_the_things.sh at the end of the generator to apply formatting/normalization.
  • Regenerated outputs: galaxies/dima-techniques.json and clusters/dima-techniques.json were updated to reflect the new version and formatting.

Testing

  • Ran python3 -m py_compile tools/gen_dima.py which succeeded without syntax errors.
  • Ran python3 tools/gen_dima.py which completed successfully and executed ./jq_all_the_things.sh (formatting/validation ran as part of the run) with no errors reported.

Codex Task

@adulau adulau merged commit 879cd76 into main May 26, 2026
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant