Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix leaks in delivery_build_recipesfix-build-system | Joseph Hunkeler | 2024-10-04 | 1 | -9/+20 |
| | | | | * Fix unguarded pushd()/popd() calls | ||||
* | Rename argument --parallel-fail-fast to --fail-fastsplit-delivery-code | Joseph Hunkeler | 2024-10-02 | 1 | -3/+3 |
| | | | | * All tasks are executed by the same machinery under the hood. So have them all react the same way. | ||||
* | "Task started" is more accurate than "queued" when this is printed | Joseph Hunkeler | 2024-10-02 | 2 | -3/+3 |
| | |||||
* | Allow user to disable parallel mode (shortcut for --cpu-limit=1) | Joseph Hunkeler | 2024-10-02 | 3 | -3/+12 |
| | |||||
* | Allow user to define the time interval for "task is running" message | Joseph Hunkeler | 2024-10-02 | 1 | -5/+10 |
| | |||||
* | Allow user to define the time interval for "task is running" message | Joseph Hunkeler | 2024-10-02 | 3 | -0/+17 |
| | |||||
* | Free resources on error in delivery_index_wheel_artifacts | Joseph Hunkeler | 2024-10-02 | 1 | -0/+3 |
| | |||||
* | Use watcher_diff to see how many seconds have elapsed. | Joseph Hunkeler | 2024-10-01 | 1 | -2/+1 |
| | |||||
* | Add missing space to destdir to ensure its separate from the srcdir string | Joseph Hunkeler | 2024-10-01 | 1 | -2/+5 |
| | | | | * Fix leaks caused by css_filename path and the dirs array | ||||
* | Add comment about use of xtrace | Joseph Hunkeler | 2024-10-01 | 1 | -1/+3 |
| | |||||
* | shell: exit program when stream redirection fails | Joseph Hunkeler | 2024-10-01 | 1 | -1/+12 |
| | |||||
* | Replace strlcpy with strncpy (maybe later) | Joseph Hunkeler | 2024-09-30 | 2 | -3/+3 |
| | |||||
* | Replace strcpy with strlcpy | Joseph Hunkeler | 2024-09-30 | 1 | -2/+2 |
| | |||||
* | Replace sprintf with snprintf | Joseph Hunkeler | 2024-09-30 | 1 | -1/+1 |
| | |||||
* | Shorten comment | Joseph Hunkeler | 2024-09-30 | 1 | -2/+3 |
| | |||||
* | Allocate runner_cmd using asprintf | Joseph Hunkeler | 2024-09-30 | 1 | -5/+16 |
| | |||||
* | Fix leaking of basetemp_path and jxml_path on error | Joseph Hunkeler | 2024-09-30 | 1 | -0/+3 |
| | | | | * Reported by @kmacdonald-stsci | ||||
* | Fix leak | Joseph Hunkeler | 2024-09-27 | 2 | -1/+12 |
| | | | | | * When strdup fails and the temporary file handle is open, close the handle and die. * reported by @kmacdonald-stsci | ||||
* | Fix missing COMMAND string in the log header | Joseph Hunkeler | 2024-09-27 | 1 | -0/+10 |
| | |||||
* | mp_pool_init(): return NULL when ident argument is NULL | Joseph Hunkeler | 2024-09-27 | 1 | -1/+2 |
| | | | | * reported by @kmacdonald-stsci | ||||
* | Squelch git's detached HEAD message | Joseph Hunkeler | 2024-09-27 | 1 | -1/+1 |
| | |||||
* | Show "Task is running" every X seconds, instead of X iterations | Joseph Hunkeler | 2024-09-27 | 1 | -6/+7 |
| | |||||
* | Terminate everything when forking fails | Joseph Hunkeler | 2024-09-27 | 1 | -1/+1 |
| | |||||
* | Move log_file path assignment into the child | Joseph Hunkeler | 2024-09-27 | 1 | -2/+0 |
| | |||||
* | "Task started" message is redundant | Joseph Hunkeler | 2024-09-27 | 1 | -1/+2 |
| | |||||
* | Only show a summary if a pool ran a job | Joseph Hunkeler | 2024-09-27 | 1 | -1/+4 |
| | |||||
* | Add comments | Joseph Hunkeler | 2024-09-27 | 1 | -2/+22 |
| | |||||
* | Spacing | Joseph Hunkeler | 2024-09-26 | 1 | -0/+1 |
| | |||||
* | Do not fork immediately after a task is created | Joseph Hunkeler | 2024-09-26 | 1 | -4/+0 |
| | |||||
* | Zero log_file to avoid garbage output | Joseph Hunkeler | 2024-09-26 | 1 | -0/+1 |
| | |||||
* | Code size: Consolidate pools into an array | Joseph Hunkeler | 2024-09-26 | 1 | -31/+45 |
| | |||||
* | Implement cmd and working_dir | Joseph Hunkeler | 2024-09-26 | 1 | -16/+13 |
| | |||||
* | Remove usage of POSIX semaphores | Joseph Hunkeler | 2024-09-26 | 1 | -26/+9 |
| | |||||
* | Fix string op warnings | Joseph Hunkeler | 2024-09-20 | 5 | -11/+17 |
| | | | | * Fix unused-result warnings | ||||
* | Die if the current working directory cannot be determined | Joseph Hunkeler | 2024-09-20 | 1 | -2/+8 |
| | |||||
* | value can never be NULL here, and is initialized to zero. Use strcpy(). | Joseph Hunkeler | 2024-09-20 | 1 | -1/+1 |
| | |||||
* | Replace strncpy with a raw loops to populate the delim_* arrays | Joseph Hunkeler | 2024-09-20 | 1 | -5/+19 |
| | | | | * I wasn't able to finesse the nelem argument in a way that prevents the compiler(s) from throwing warnings | ||||
* | Refactor structure | Joseph Hunkeler | 2024-09-20 | 13 | -2017/+2059 |
| | | | | * Break delivery.c into smaller components | ||||
* | Export all variables when sourcing conda's profile scripts | Joseph Hunkeler | 2024-09-20 | 1 | -1/+1 |
| | | | | * This results in a fully activated environment; shell functions and all | ||||
* | Fix incorrect failure count | Joseph Hunkeler | 2024-09-18 | 1 | -1/+2 |
| | | | | * No longer adds the raw status value to the failure count. Just increment it instead. | ||||
* | Comment get_task_duration | Joseph Hunkeler | 2024-09-18 | 1 | -0/+2 |
| | |||||
* | Move process status checks outside of the if-statement | Joseph Hunkeler | 2024-09-18 | 1 | -10/+18 |
| | | | | | * Reverse the order of checks so signals actually get reported when they occur * Changed "Task finished" to "Task ended". "Finished" sounds more like "success" and might get confusing when an error occurs | ||||
* | mp_pool_kill marks PIDs as unused | Joseph Hunkeler | 2024-09-18 | 1 | -0/+2 |
| | |||||
* | Rename mp_task to mp_pool_task | Joseph Hunkeler | 2024-09-18 | 2 | -3/+3 |
| | |||||
* | Bugfix: log_show_contents() did not close FILE pointer | Joseph Hunkeler | 2024-09-18 | 1 | -0/+1 |
| | |||||
* | Remove short circuit test code | Joseph Hunkeler | 2024-09-18 | 2 | -35/+1 |
| | | | | * Remove exmain() and dead comments from main() | ||||
* | Fix test status expectation | Joseph Hunkeler | 2024-09-18 | 1 | -2/+1 |
| | | | | * Fix child not returning result of execvp(). task->status is for program status, not fork() status. | ||||
* | Fix format spacing | Joseph Hunkeler | 2024-09-18 | 1 | -1/+1 |
| | |||||
* | Implement mp_pool_show_summary | Joseph Hunkeler | 2024-09-18 | 1 | -3/+10 |
| | |||||
* | Add pool summary and elapsed time output | Joseph Hunkeler | 2024-09-18 | 1 | -0/+48 |
| | | | | | | | * Add get_task_duration() * Add get_pool_show_summary() * Add signaled_by member to MultiProcessingTask * Add time_data member to MultiProcessingTask for duration tracking |