| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add TODOs | Joseph Hunkeler | 2026-03-05 | 1 | -0/+2 |
| | | |||||
| * | Add strlist_appendf function (future use) | Joseph Hunkeler | 2026-03-05 | 2 | -0/+23 |
| | | |||||
| * | Improve envctl_do_required output | Joseph Hunkeler | 2026-03-05 | 1 | -6/+11 |
| | | | | | * On failure the user has a better idea of what needs to be fixed | ||||
| * | Flags are constant | Joseph Hunkeler | 2026-03-05 | 1 | -1/+1 |
| | | |||||
| * | Add backwards compatible way to emit only stdout, or stderr from docker command | Joseph Hunkeler | 2026-03-05 | 2 | -2/+17 |
| | | |||||
| * | Free wheel_builder members | Joseph Hunkeler | 2026-03-05 | 1 | -0/+2 |
| | | |||||
| * | Bugfix: Repository URL not freed when no match occurs | Joseph Hunkeler | 2026-03-05 | 1 | -1/+1 |
| | | |||||
| * | Bugfix: Remove redundant string copy after duplication | Joseph Hunkeler | 2026-03-05 | 1 | -1/+0 |
| | | |||||
| * | Add wheel_builder CLI arguments | Joseph Hunkeler | 2026-03-05 | 1 | -1/+3 |
| | | |||||
| * | docker_script() now passes arguments to docker_exec | Joseph Hunkeler | 2026-02-22 | 2 | -3/+3 |
| | | | | | * Implicit 'docker run --rm' removed | ||||
| * | Add method to get a byte string of random alpha-numeric values | Joseph Hunkeler | 2026-02-22 | 2 | -0/+62 |
| | | | | | | * get_random_generator_file() * get_random_bytes() | ||||
| * | Bugfix: git describe output should always produce long output if a tag exists | Joseph Hunkeler | 2026-02-22 | 1 | -1/+1 |
| | | |||||
| * | Bugfix: Avoid segfault on freeing uninitialized Wheel struct | Joseph Hunkeler | 2026-02-22 | 1 | -0/+3 |
| | | |||||
| * | Fix memory leak when reading a comment | Joseph Hunkeler | 2026-02-13 | 1 | -0/+1 |
| | | |||||
| * | errmsg argument must be a valid pointerretry-download | Joseph Hunkeler | 2026-02-12 | 1 | -3/+4 |
| | | | | | * Remove redundant status check already performed by HTTP_ERROR() | ||||
| * | Use ssize_t to avoid rollover from strtol on user input | Joseph Hunkeler | 2026-02-12 | 1 | -3/+3 |
| | | |||||
| * | Error message pointer must be valid | Joseph Hunkeler | 2026-02-12 | 1 | -1/+4 |
| | | |||||
| * | Comment | Joseph Hunkeler | 2026-02-12 | 1 | -0/+2 |
| | | |||||
| * | Implement STASIS_DOWNLOAD_RETRY_SECONDS | Joseph Hunkeler | 2026-02-12 | 1 | -0/+11 |
| | | |||||
| * | Only set http_code on success. Return -1 otherise. | Joseph Hunkeler | 2026-02-12 | 1 | -3/+4 |
| | | |||||
| * | Change "ATTEMPT" to "RETRY" and emit vital information | Joseph Hunkeler | 2026-02-12 | 1 | -1/+1 |
| | | |||||
| * | max_retries should use value of max_retries_str | Joseph Hunkeler | 2026-02-12 | 1 | -1/+1 |
| | | |||||
| * | Use snprintf for user_agent string | Joseph Hunkeler | 2026-02-12 | 1 | -1/+1 |
| | | |||||
| * | Rename STASIS_DOWNLOAD_RETRIES to STASIS_DOWNLOAD_RETRY_MAX | Joseph Hunkeler | 2026-02-12 | 1 | -1/+1 |
| | | |||||
| * | Add a retry loop to download | Joseph Hunkeler | 2026-02-11 | 1 | -30/+56 |
| | | | | | * Configurable with env var: STASIS_DOWNLOAD_RETRIES | ||||
| * | Fixes number of seconds in an hour. Oops.timeout-hours-bug | Joseph Hunkeler | 2026-01-16 | 1 | -1/+1 |
| | | |||||
| * | Trying to fix a buffer overflow reported by the CI | Joseph Hunkeler | 2026-01-03 | 3 | -14/+18 |
| | | | | | * Locally ASAN wasn't complaining. | ||||
| * | Consolidate timer data | Joseph Hunkeler | 2026-01-02 | 2 | -22/+23 |
| | | | | | | * Add MultiProcessingTimer struct * Replace raw timespec and double counters with MultiProcessingTimer(s) | ||||
| * | Move utility functions to utils.c | Joseph Hunkeler | 2026-01-02 | 3 | -18/+50 |
| | | |||||
| * | Update multiprocessing to use semaphore | Joseph Hunkeler | 2025-12-31 | 6 | -69/+1233 |
| | | | | | | | | | | | | | | | | | | * Introduce a small public domain timespec handling library * Renamed MultiProcessingTask members _now and _seconds to _interval_start and _interval_stop * Added interval_elapsed member * Change elapsed member from type int to double * mp_pool_free no longer tries to free semaphores with empty names * semaphore_init uses the correct default value of 1 instead of 2. The bug was related to calling semaphore_wait before the child() process started and semaphore_post after the parent exited. Now we post before the child to prevent a deadlock * Replace sleep with usleep in mp_pool_join. Set to 100ms. * Replace time() with clock_gettime() (helper functions created to prevent mistakes) * Stop recording time when the process ends. This fixes a bug where a process ends and up to 3 different elapsed times were reported to the user. * Progress output is now always available, not only when pid > 0 * Implement seconds_to_human_readable and hook it up to progress reporting calls. Breaking down thousands of seconds in my head after a long run was mentally exhausting. * Cleaned up some if-statements; removed else-if for clarity * Implemented a global timeout for pool tasks * Add register_semaphore() and semaphore_handle_exit() to aid with clean up. On Darwin a dangling shared memory file will lead to unexpected failures. These are destroyed via atexit(). | ||||
| * | Fix broken header guard | Joseph Hunkeler | 2025-12-30 | 1 | -0/+1 |
| | | |||||
| * | Implement task timeout | Joseph Hunkeler | 2025-12-30 | 4 | -0/+6 |
| | | | | | | | * Add argument: --task-timeout=1[s,m,h] * Timed out tasks are SIGKILL'd * If killing a task fails, the entire program ends | ||||
| * | Fix undefined PSEMNAMLEN on Darwin | Joseph Hunkeler | 2025-12-24 | 1 | -0/+5 |
| | | |||||
| * | Remove blank line | Joseph Hunkeler | 2025-11-18 | 1 | -1/+0 |
| | | |||||
| * | Add destroy to example | Joseph Hunkeler | 2025-11-18 | 1 | -0/+2 |
| | | |||||
| * | Enforce maximum buffer length of `name` | Joseph Hunkeler | 2025-11-18 | 1 | -1/+8 |
| | | |||||
| * | Remove debugging code | Joseph Hunkeler | 2025-11-17 | 1 | -4/+0 |
| | | |||||
| * | Do not print error from within function | Joseph Hunkeler | 2025-11-17 | 1 | -1/+0 |
| | | |||||
| * | Document semaphore usage | Joseph Hunkeler | 2025-11-17 | 2 | -1/+43 |
| | | |||||
| * | Integrate --no-task-logging CLI argument | Joseph Hunkeler | 2025-11-14 | 1 | -11/+24 |
| | | |||||
| * | Add --no-task-logging CLI argument | Joseph Hunkeler | 2025-11-14 | 2 | -0/+2 |
| | | |||||
| * | Decrease length of semaphore name | Joseph Hunkeler | 2025-11-14 | 1 | -1/+1 |
| | | |||||
| * | Flush buffers | Joseph Hunkeler | 2025-11-14 | 1 | -0/+3 |
| | | |||||
| * | Integrate semaphore | Joseph Hunkeler | 2025-11-14 | 1 | -1/+3 |
| | | |||||
| * | Integrate semaphore | Joseph Hunkeler | 2025-11-14 | 1 | -0/+11 |
| | | |||||
| * | Integrate semaphore | Joseph Hunkeler | 2025-11-14 | 2 | -3/+19 |
| | | |||||
| * | Add semaphore wrapper | Joseph Hunkeler | 2025-11-14 | 3 | -0/+44 |
| | | |||||
| * | Squelch unused argument warnings | Joseph Hunkeler | 2025-11-06 | 2 | -0/+4 |
| | | |||||
| * | Free errmsg after use | Joseph Hunkeler | 2025-07-08 | 1 | -0/+1 |
| | | |||||
| * | Bugfix: HTTP_ERROR did not check for negative values | Joseph Hunkeler | 2025-07-08 | 1 | -1/+1 |
| | | |||||
