Skip to content

Add FRE_VERSION to the model yaml and enforce it #737

@laurenchilutti

Description

@laurenchilutti

Is your feature request related to a problem? Please describe.

Bronx XMLs contain a property "FRE_VERSION" that defines the version of bronx that the xml is compatible with. This would be an ideal feature to include for fre-cli as well. If a user tries a fre bronx command with any version that is not the defined FRE VERSION, bronx issues a clear error message.

Describe the solution you'd like
Add a "fre_version" key inside of the model yaml that defines the version of fre-cli this yaml is compatible with:

  • requires changes to the schema
  • requires changes to the code to read in that key: value pair and do something with it
    I would recommend that we modify code in fre-cli when combining/parsing the yaml (first step) that checks the version of fre-cli installed on the system (not sure how yet) and compares it to the version specified in the yaml; and if different, give a clear error message to the user.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions