ogma-cli: Make cFS backend accept spec as input. Refs #252.#253
Merged
ivanperez-keera merged 5 commits intonasa:developfrom Feb 10, 2025
Merged
ogma-cli: Make cFS backend accept spec as input. Refs #252.#253ivanperez-keera merged 5 commits intonasa:developfrom
ogma-cli: Make cFS backend accept spec as input. Refs #252.#253ivanperez-keera merged 5 commits intonasa:developfrom
Conversation
The cFS backend is lacking in features when compared with other backends like ROS and F'. In particular, it doesn't accept a specification as input, which means that the user must take an additional step of extracting the variable names and handlers from the spec before using the cfs command. This commit modifies the cFS backend to accepts a spec as input if provided, uses it to determine the variables and handlers to use in the cFS application, accepts selecting the format for the file and the properties, and can filter properties via an external pre-filter.
…nasa#252. The cFS backend is lacking in features when compared with other backends like ROS and F'. In particular, it doesn't accept a specification as input, which means that the user must take an additional step of extracting the variable names and handlers from the spec before using the cfs command. A prior commit has extended the cFS backend to accept an additional argument filename containing an input specification, as well as arguments indicating the format of the input file, the format of the properties, and a pre-processor for properties. This commit exposes the arguments to the user in the command-line via additional CLI flags. With this change, a variables file is no longer mandatory, so its default value in the CLI is removed to prevent the backend from always trying to use that file.
. The cFS backend is lacking in features when compared with other backends like ROS and F'. In particular, it doesn't accept a specification as input, which means that the user must take an additional step of extracting the variable names and handlers from the spec before using the cfs command. Prior commits have extended the cFS backend to accept an additional argument filename containing an input specification, as well as arguments indicating the format of the input file, the format of the properties, and a pre-processor for properties. This commit documents the new arguments to the `cfs` command in the README.
0a93091 to
5796b8a
Compare
Member
Author
|
Change Manager: Verified that:
|
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.
Extend the cFS backend to accept an additional argument filename containing an input specification, as well as arguments indicating the formats of the file and the properties, as well as a pre-processor, as prescribed in the solution proposed for #252.