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

Improvements to process locking #2764

Merged
merged 17 commits into from
Jun 10, 2023
Merged

Commits on Jun 10, 2023

  1. Configuration menu
    Copy the full SHA
    dfda9b0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0afdc0d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4438ca3 View commit details
    Browse the repository at this point in the history
  4. Update saveImage.sh: new arguments to one_instance() and timelapse.sh

    * Use new "--caused-by" argument to one_instance().
    * Specify the time to wait for one_instance() so it doesn't wait too long.
    * Set AS_TEMPERATURE_C if not already set and there's a temperature.txt file.
    * Only call darkCapture.sh if needed.
    * Use new arguments to timelapse.sh.
    EricClaeys authored Jun 10, 2023
    Configuration menu
    Copy the full SHA
    c9ad588 View commit details
    Browse the repository at this point in the history
  5. Update functions.sh: argument changes

    * Accept new "--caused-by" argument.
    * Don't bother checking that the process in the PID_FILE is the specified one.  --process-name is no longer needed.
    * Use new $ALLSKY_ABORTS_DIR.
    EricClaeys authored Jun 10, 2023
    Configuration menu
    Copy the full SHA
    e633b0d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9ed3253 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    bef3dc0 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    cebe8c4 View commit details
    Browse the repository at this point in the history
  9. Update darkCapture.sh: changes due to changes in saveImage.sh

    * We're only called if taking dark frames, so no need to check.  This changed indentation.
    * saveImage.sh updates AS_TEMPERATURE_C as needed so we don't need to.
    EricClaeys authored Jun 10, 2023
    Configuration menu
    Copy the full SHA
    d4e0b87 View commit details
    Browse the repository at this point in the history
  10. Update timelapse.sh: new arguments

    * Accept new --lock, --output, and --images argument.
    * Updated usage message.
    * Updated usage checks.
    * Only check for valid DATE and DATE_DIR is needed.
    EricClaeys authored Jun 10, 2023
    Configuration menu
    Copy the full SHA
    50687c3 View commit details
    Browse the repository at this point in the history
  11. Update timelapse.sh: new arguments

    * Accept new --lock, --output, and --images argument.
    * Updated usage message.
    * Updated usage checks.
    * Only check for valid DATE and DATE_DIR is needed.
    EricClaeys authored Jun 10, 2023
    Configuration menu
    Copy the full SHA
    a10fdbf View commit details
    Browse the repository at this point in the history
  12. Update timelapse.sh: Fix/improve determination of input and output di…

    …rectories.
    
    Also, make sure the PID_FILE is removed.
    EricClaeys authored Jun 10, 2023
    Configuration menu
    Copy the full SHA
    96f7624 View commit details
    Browse the repository at this point in the history
  13. Update timelapse.sh: redo main loop

    The prior way of creating the SEQUENCE_DIR files was to use gawk and a couple sub-shells.  The new way which is simpler (and hopefully faster) uses a "while read" loop.
    EricClaeys authored Jun 10, 2023
    Configuration menu
    Copy the full SHA
    a76ba1e View commit details
    Browse the repository at this point in the history
  14. Update generateForDay.sh: make_thumbnail() and others

    * Pass output timelapse file name to timelapse.sh.
    * Use global make_thumbnail() instead of our own version.
    * Show preferred "--" arguments instead of "-".
    * Change some indentation to make code easier to read.
    EricClaeys authored Jun 10, 2023
    Configuration menu
    Copy the full SHA
    87e715a View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    aba72a6 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    15f5f03 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    f7bf1eb View commit details
    Browse the repository at this point in the history