Skip to content

chore(scripts): read ops/nova.settings.ps1 - #7

Merged
Awesome-Ace22 merged 1 commit into
devfrom
chore/nova-settings
Oct 20, 2026
Merged

Awesome-Ace22 merged 1 commit into
devfrom
chore/nova-settings

Conversation

@Awesome-Ace22

Copy link
Copy Markdown
Contributor

This pull request updates both the development and production Windows scripts, as well as a related tool, to use the newer nova.settings.ps1 configuration file instead of the older nova.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:

  • Both scripts/dev_windows.ps1 and scripts/prod_windows.ps1 now look for nova.settings.ps1 first, but will fall back to nova.config.ps1 or nova.settings.example.ps1 if 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))
  • The scripts now search in additional locations for the settings file, including the parent Nova repo directory, making them more robust to different setups. ([[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))
  • Both scripts now handle both $NovaSettings and (for backward compatibility) $NovaConfig variables, 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:

  • All references in comments, documentation, and user-facing messages have been updated from nova.config.ps1 to nova.settings.ps1 to 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))
  • The error message in tools/serial_probe.py now directs users to check the FasBaud setting in nova.settings.ps1 instead of the old config file. ([tools/serial_probe.pyL116-R116](https://github.com/UTATRocketry/novaOps-back/pull/7/files#diff-ef9e267344865ede457ebdedafb55edf1d88276c90fb6dad0061447e93aec9beL116-R116))

@Awesome-Ace22
Awesome-Ace22 merged commit 5a40c41 into dev Oct 20, 2026
1 of 2 checks passed
@Awesome-Ace22
Awesome-Ace22 deleted the chore/nova-settings branch October 20, 2026 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant