Repository navigation
chore(scripts): read ops/nova.settings.ps1 - #7
Merged
Merged
Conversation
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.
This pull request updates both the development and production Windows scripts, as well as a related tool, to use the newer
nova.settings.ps1configuration file instead of the oldernova.config.ps1. The changes improve configuration file discovery, support backward compatibility, and update documentation and error messages to reference the new settings file.Configuration File Handling Improvements:
scripts/dev_windows.ps1andscripts/prod_windows.ps1now look fornova.settings.ps1first, but will fall back tonova.config.ps1ornova.settings.example.ps1if needed, improving flexibility and easing migration to the new format. ([[1]](https://github.com/UTATRocketry/novaOps-back/pull/7/files#diff-111b449dd42a479b4e7cf27d2d48417eea740e53b352c290f0138995518eb2e5L34-R56),[[2]](https://github.com/UTATRocketry/novaOps-back/pull/7/files#diff-942b250a5d0e44f7ce14ec39f3124f76b96ae1fb3a6d64890ccfa925712d9280L43-R78))[[1]](https://github.com/UTATRocketry/novaOps-back/pull/7/files#diff-111b449dd42a479b4e7cf27d2d48417eea740e53b352c290f0138995518eb2e5L34-R56),[[2]](https://github.com/UTATRocketry/novaOps-back/pull/7/files#diff-942b250a5d0e44f7ce14ec39f3124f76b96ae1fb3a6d64890ccfa925712d9280L43-R78))$NovaSettingsand (for backward compatibility)$NovaConfigvariables, ensuring older files still work. ([[1]](https://github.com/UTATRocketry/novaOps-back/pull/7/files#diff-111b449dd42a479b4e7cf27d2d48417eea740e53b352c290f0138995518eb2e5L34-R56),[[2]](https://github.com/UTATRocketry/novaOps-back/pull/7/files#diff-942b250a5d0e44f7ce14ec39f3124f76b96ae1fb3a6d64890ccfa925712d9280L43-R78))Documentation and Messaging Updates:
nova.config.ps1tonova.settings.ps1to match the new configuration file. ([[1]](https://github.com/UTATRocketry/novaOps-back/pull/7/files#diff-111b449dd42a479b4e7cf27d2d48417eea740e53b352c290f0138995518eb2e5L13-R13),[[2]](https://github.com/UTATRocketry/novaOps-back/pull/7/files#diff-942b250a5d0e44f7ce14ec39f3124f76b96ae1fb3a6d64890ccfa925712d9280L8-R8),[[3]](https://github.com/UTATRocketry/novaOps-back/pull/7/files#diff-ef9e267344865ede457ebdedafb55edf1d88276c90fb6dad0061447e93aec9beL116-R116))tools/serial_probe.pynow directs users to check theFasBaudsetting innova.settings.ps1instead of the old config file. ([tools/serial_probe.pyL116-R116](https://github.com/UTATRocketry/novaOps-back/pull/7/files#diff-ef9e267344865ede457ebdedafb55edf1d88276c90fb6dad0061447e93aec9beL116-R116))