-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support passing additional template variables to the cFS backend. Refs #106. #236
Merged
ivanperez-keera
merged 5 commits into
nasa:develop
from
ivanperez-keera:develop-cfs-extravars
Feb 4, 2025
Merged
Support passing additional template variables to the cFS backend. Refs #106. #236
ivanperez-keera
merged 5 commits into
nasa:develop
from
ivanperez-keera:develop-cfs-extravars
Feb 4, 2025
Conversation
This file contains 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
b144c42
to
b0a0d28
Compare
…efs nasa#106. The generated cFS application may need definitions that come from external files, such as message IDs from other applications, or structs defined elsewhere. Users may also want to customize additional aspects of the generated application without having to modify the template, such as passing additional variables to be expanded in the template. This commit extends the cFS backend to expect an additional argument denoting a JSON file with an object whose keys will be expanded as variables in the cFS template.
…asa#106. The generated cFS application may need definitions that come from external files, such as message IDs from other applications, or structs defined elsewhere. Users may also want to customize additional aspects of the generated application without having to modify the template, such as passing additional variables to be expanded in the template. A prior commit has extended the cFS backend to expect an additional argument filename containing a JSON object, whose keys are expanded as variables in the cFS template. This commit exposes the argument to the user in the command-line via an optional CLI argument.
b0a0d28
to
028ef36
Compare
…asa#106. The generated cFS application may need definitions that come from external files, such as message IDs from other applications, or structs defined elsewhere. Users may also want to customize additional aspects of the generated application without having to modify the template, such as passing additional variables to be expanded in the template. Prior commit have extended the `cfs` command to accept an optional argument with a filename containing a JSON object, whose keys are expanded as variables in the cFS template. This commit documents the new argument to the `cfs` command, and how variables are expanded in cFS application templates.
028ef36
to
08b63d2
Compare
Change Manager: Verified that:
|
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
cfs
command and the cFS backend to accept and use an optional JSON file containing additional variables to expand in the template, as prescribed in the solution proposed for #106.