Skip to content
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

Use new variables #2502

Merged
merged 4 commits into from
Mar 28, 2023
Merged

Use new variables #2502

merged 4 commits into from
Mar 28, 2023

Conversation

EricClaeys
Copy link
Collaborator

  • /opt/allsky is now ALLSKY_MODULE_LOCATION in variables.sh, so use it instead of hard-coding the paths in the .py files.
  • Use ALLSKY_SCRIPTS instead of ALLSKY_HOME/scripts.
  • Centralized checking for variables - code was in two places.

* Use ALLSKY_MODULE_LOCATION.
* Use ALLSKY_SCRIPTS instead of ALLSKY_HOME/scripts
* Centralize code to get ALLSKY_TMP, ALLSKY_IMAGES, and SETTINGS_FILE.
* Moved check for ALLSKY_MODULES to before it's first used.
* Use ALLSKY_MODULE_LOCATION instead of hard-coding path.
* Use ALLSKY_SCRIPTS instead of ALLSKY_HOME/scripts.
@EricClaeys EricClaeys changed the base branch from master to dev March 28, 2023 05:41
@Alex-developer Alex-developer merged commit cd6e0be into dev Mar 28, 2023
@EricClaeys EricClaeys deleted the Use-new-variables branch March 28, 2023 21:56
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.

2 participants