| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Error checking and sequencing | Joseph Hunkeler | 2026-02-18 | 2 | -12/+21 |
| | | | | | | | * Add error checks for allocations * Check docker is usable on Linux, if not fall back to the host tools * check_system_requirements initializes the docker capabilities struct | ||||
| * | Only utilize cibuildwheel on linux | Joseph Hunkeler | 2026-02-13 | 1 | -2/+1 |
| | | |||||
| * | Tentative solution for building wheels on modern OSes | Joseph Hunkeler | 2026-02-13 | 1 | -3/+9 |
| | | |||||
| * | Install cibuildwheel | Joseph Hunkeler | 2026-02-13 | 1 | -0/+4 |
| | | |||||
| * | 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 |
| | | |||||
| * | 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 | ||||
| * | Merge pull request #121 from jhunkeler/timeout-in-test-block | Joseph Hunkeler | 2026-01-20 | 3 | -0/+19 |
| |\ | | | | | Timeout in test block | ||||
| | * | Allow per-test timeouts | Joseph Hunkeler | 2026-01-18 | 3 | -0/+19 |
| | | | | | | | | | * Test blocks without a timeout use the global timeout setting | ||||
| * | | 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 | 5 | -48/+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 | 7 | -0/+51 |
| | | | | | | | * 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 | 2 | -11/+27 |
| | | |||||
| * | Add --no-task-logging CLI argument | Joseph Hunkeler | 2025-11-14 | 4 | -0/+5 |
| | | |||||
| * | 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 |
| | | |||||
| * | The release list should use the full count of releases, not nelem_realindexer-buffer-overlow | Joseph Hunkeler | 2025-11-10 | 1 | -1/+1 |
| | | |||||
| * | Squelch unused argument warnings | Joseph Hunkeler | 2025-11-06 | 2 | -0/+4 |
| | | |||||
| * | Delivery context is constant | Joseph Hunkeler | 2025-11-06 | 1 | -1/+1 |
| | | |||||
| * | Duplicate tests | Joseph Hunkeler | 2025-11-06 | 1 | -0/+17 |
| | | |||||
| * | Duplicate jfrog_auth | Joseph Hunkeler | 2025-11-06 | 1 | -0/+11 |
| | | |||||
| * | Move docker struct duplication down to jfrog struct duplication | Joseph Hunkeler | 2025-11-06 | 1 | -9/+9 |
| | | |||||
| * | Delivery context is not modified | Joseph Hunkeler | 2025-11-06 | 1 | -1/+1 |
| | | |||||
| * | Fix buffer overflow while building command string | Joseph Hunkeler | 2025-11-06 | 1 | -2/+2 |
| | | |||||
| * | Initialize character arrays to zero | Joseph Hunkeler | 2025-11-04 | 1 | -7/+3 |
| | | | | | * Remove memset calls | ||||
