Skip to content

enh: Add IDM version to template - #44

Merged
tilenkavcic merged 1 commit into
mainfrom
tilenk/include-idm-version
Jul 30, 2025
Merged

enh: Add IDM version to template#44
tilenkavcic merged 1 commit into
mainfrom
tilenk/include-idm-version

Conversation

@tilenkavcic

@tilenkavcic tilenkavcic commented Jul 29, 2025

Copy link
Copy Markdown
Contributor

Description

This introduces the new IDM versioning system.
After this is merged I will release chef-cli 0.8.0, which will support this format but will assume v0.1.0 if no version is provided. Template repo should default the users to the latest version.

DevRev issue

https://app.devrev.ai/devrev/works/ISS-188976

Documentation PR

I'll document this in the GitHub release as well as announcement, documentation PR will come later.

Copilot AI review requested due to automatic review settings July 29, 2025 13:01

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a versioning system to the Initial Domain Mapping (IDM) by adding a format_version field set to "v0.2.0". This change enables the chef-cli tool to understand different IDM format versions and handle backwards compatibility appropriately.

  • Adds format_version field with value "v0.2.0" to the IDM JSON structure
  • Fixes JSON syntax by adding missing comma after the closing brace
Comments suppressed due to low confidence (1)

code/src/functions/external-system/initial_domain_mapping.json:153

  • The comma after the closing brace appears to be fixing a JSON syntax error from the previous structure, but this suggests the original JSON was malformed. Ensure the entire JSON structure is valid after this change.
    },

@tilenkavcic tilenkavcic changed the title enh: Add IDM version to enh: Add IDM version to template Jul 29, 2025
@tilenkavcic
tilenkavcic merged commit 049ddbc into main Jul 30, 2025
2 checks passed
@tilenkavcic
tilenkavcic deleted the tilenk/include-idm-version branch July 30, 2025 07:20
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.

3 participants