This repository was archived by the owner on Aug 29, 2023. It is now read-only.
Enhancement to Generalize config.yaml settings #86
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.
Idea: Treat "Installation files" like Cattle
Enhanced the config.yaml file to centralize the initial configuration settings onto one file and avoid having to manually update the installation files. Added and relocated functions to functions.sh. Corresponding updates to
setup.sh, andsetup.jswere made to correctly process the config.yaml.Benefits:
jkto systematically generate the footloose.yaml and machine.yaml files.The
parse_yaml()function, reads the whole config.yaml file and assigns each value to variables created using the yaml keys (e.g. "config_" + key1 + key1.1 + key1.2...). Credit forparse_yaml()to Stefan Farestam via Stack Overflow.Updated software release versions in the config.yaml to the latest supported versions where older releases where no longer supported. To ensure that stale data doesn't hang around, added
rm -f machines.yaml footloose.yamltocleanup.sh