-
Notifications
You must be signed in to change notification settings - Fork 180
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
Remove legacy, pre-0.8.3 code #1016
Commits on Feb 12, 2022
-
Stop the allsky service on fatal errors since the next execution of allsky will also fail, getting us into an infinite loop. Exit with 100 on fatal errors for a future change where systemctl will not restart the service for error codes >= 100. Add color to some error messages
Configuration menu - View commit details
-
Copy full SHA for 4220bc9 - Browse repository at this point
Copy the full SHA 4220bc9View commit details -
Handle exit codes 98 and 99 from the capture programs (which will be added via a separate PR). Add initial code for trying to determine if the service is restarting, versus stopping. On a restart we can display a message "Allsky software is restarting" and skip the "Allsky software is not running" message that appears when the service stops. I'm pretty sure there's a way with systemctl that allows it to send a different signal on stop versus restart. allsky.sh and the capture programs could then check which signal was sent.
Configuration menu - View commit details
-
Copy full SHA for 2dbc536 - Browse repository at this point
Copy the full SHA 2dbc536View commit details -
allsky,sh: remove legacy code # 1
First pass at removing the legacy / compatibility code.
Configuration menu - View commit details
-
Copy full SHA for 2691b7a - Browse repository at this point
Copy the full SHA 2691b7aView commit details -
config.sh.repo: remove compatibility code
Assume this file is used with version 0.8.3 or later, so remove the code that made it compatible with older releases. Move the functionality of the scripts/filename.sh file here, since almost every time config.sh is sourced in, so is filename.sh.
Configuration menu - View commit details
-
Copy full SHA for 131a538 - Browse repository at this point
Copy the full SHA 131a538View commit details -
config.sh.repo: prepare for update code
In preparation for an Allsky update script, add a variable that will tell the script when to stop looking for user-settable variables. The script will use the new config.sh file but will copy the user's settings from the old config.sh to the new file, stopping at END_OF_USER_SETTINGS.
Configuration menu - View commit details
-
Copy full SHA for 3c1a8aa - Browse repository at this point
Copy the full SHA 3c1a8aaView commit details -
config.sh.repo: remove unneeded keogram stuff
--rotate 0 is the default
Configuration menu - View commit details
-
Copy full SHA for 19a4d53 - Browse repository at this point
Copy the full SHA 19a4d53View commit details -
Assume this version runs with 0.8.3 so there's no need for legacy code to handle CAMERA=auto or to check for obsolete variables. This simplifies the code somewhat. Remove duplicate check for reset_usb. The functionality of scripts/filename.sh was moved to config/config.sh so no need to source in filename.sh
Configuration menu - View commit details
-
Copy full SHA for 1097c08 - Browse repository at this point
Copy the full SHA 1097c08View commit details -
Configuration menu - View commit details
-
Copy full SHA for af361ca - Browse repository at this point
Copy the full SHA af361caView commit details -
Configuration menu - View commit details
-
Copy full SHA for 42fc438 - Browse repository at this point
Copy the full SHA 42fc438View commit details -
Configuration menu - View commit details
-
Copy full SHA for a830085 - Browse repository at this point
Copy the full SHA a830085View commit details -
Configuration menu - View commit details
-
Copy full SHA for 15675fc - Browse repository at this point
Copy the full SHA 15675fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1404afa - Browse repository at this point
Copy the full SHA 1404afaView commit details -
timelapse.sh: remove filename.sh
Also remove unneeded compatibility code
4Configuration menu - View commit details
-
Copy full SHA for 7fd6634 - Browse repository at this point
Copy the full SHA 7fd6634View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d43bb9 - Browse repository at this point
Copy the full SHA 7d43bb9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c1cc62 - Browse repository at this point
Copy the full SHA 2c1cc62View commit details -
Configuration menu - View commit details
-
Copy full SHA for c095e28 - Browse repository at this point
Copy the full SHA c095e28View commit details -
Configuration menu - View commit details
-
Copy full SHA for db30445 - Browse repository at this point
Copy the full SHA db30445View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae9fc33 - Browse repository at this point
Copy the full SHA ae9fc33View commit details