aboutsummaryrefslogtreecommitdiff
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
* Add backwards compatible way to emit only stdout, or stderr from docker commandJoseph Hunkeler13 days2-2/+17
|
* Handle wheel_builder configuration itemsJoseph Hunkeler13 days1-0/+34
|
* Bootstrap needs to know if docker is availableJoseph Hunkeler13 days1-0/+2
|
* Free wheel_builder membersJoseph Hunkeler13 days1-0/+2
|
* Bugfix: Repository URL not freed when no match occursJoseph Hunkeler13 days1-1/+1
|
* Bugfix: Remove redundant string copy after duplicationJoseph Hunkeler13 days1-1/+0
|
* Add wheel_builder CLI argumentsJoseph Hunkeler13 days1-1/+3
|
* Bugfix: Memory leaked in version value reassignmentJoseph Hunkeler2026-03-031-1/+2
|
* Bugfix: Populate tag information when testing is disabledJoseph Hunkeler2026-02-221-0/+6
|
* Pass `--rm` to docker_script()Joseph Hunkeler2026-02-221-1/+1
|
* docker_script() now passes arguments to docker_execJoseph Hunkeler2026-02-222-3/+3
| | | | * Implicit 'docker run --rm' removed
* Add method to get a byte string of random alpha-numeric valuesJoseph Hunkeler2026-02-222-0/+62
| | | | | * get_random_generator_file() * get_random_bytes()
* Bugfix: git describe output should always produce long output if a tag existsJoseph Hunkeler2026-02-221-1/+1
|
* Bugfix: Avoid segfault on freeing uninitialized Wheel structJoseph Hunkeler2026-02-221-0/+3
|
* Bugfix: Allow cibuildwheel if docker is usablecibuildwheelJoseph Hunkeler2026-02-191-1/+0
| | | | * --no-docker is for disabling image builds, not wheels
* Error checking and sequencingJoseph Hunkeler2026-02-181-4/+13
| | | | | | * 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 linuxJoseph Hunkeler2026-02-131-2/+1
|
* Tentative solution for building wheels on modern OSesJoseph Hunkeler2026-02-131-3/+9
|
* Fix memory leak when reading a commentJoseph Hunkeler2026-02-131-0/+1
|
* errmsg argument must be a valid pointerretry-downloadJoseph Hunkeler2026-02-121-3/+4
| | | | * Remove redundant status check already performed by HTTP_ERROR()
* Use ssize_t to avoid rollover from strtol on user inputJoseph Hunkeler2026-02-121-3/+3
|
* Error message pointer must be validJoseph Hunkeler2026-02-121-1/+4
|
* Error message pointer must be validJoseph Hunkeler2026-02-121-1/+4
|
* CommentJoseph Hunkeler2026-02-121-0/+2
|
* Implement STASIS_DOWNLOAD_RETRY_SECONDSJoseph Hunkeler2026-02-121-0/+11
|
* Only set http_code on success. Return -1 otherise.Joseph Hunkeler2026-02-121-3/+4
|
* Change "ATTEMPT" to "RETRY" and emit vital informationJoseph Hunkeler2026-02-121-1/+1
|
* max_retries should use value of max_retries_strJoseph Hunkeler2026-02-121-1/+1
|
* Use snprintf for user_agent stringJoseph Hunkeler2026-02-121-1/+1
|
* Rename STASIS_DOWNLOAD_RETRIES to STASIS_DOWNLOAD_RETRY_MAXJoseph Hunkeler2026-02-121-1/+1
|
* Add a retry loop to downloadJoseph Hunkeler2026-02-111-30/+56
| | | | * Configurable with env var: STASIS_DOWNLOAD_RETRIES
* Merge pull request #121 from jhunkeler/timeout-in-test-blockJoseph Hunkeler2026-01-203-0/+19
|\ | | | | Timeout in test block
| * Allow per-test timeoutsJoseph Hunkeler2026-01-183-0/+19
| | | | | | | | * Test blocks without a timeout use the global timeout setting
* | Fixes number of seconds in an hour. Oops.timeout-hours-bugJoseph Hunkeler2026-01-161-1/+1
|/
* Trying to fix a buffer overflow reported by the CIJoseph Hunkeler2026-01-033-14/+18
| | | | * Locally ASAN wasn't complaining.
* Consolidate timer dataJoseph Hunkeler2026-01-022-22/+23
| | | | | * Add MultiProcessingTimer struct * Replace raw timespec and double counters with MultiProcessingTimer(s)
* Move utility functions to utils.cJoseph Hunkeler2026-01-023-18/+50
|
* Update multiprocessing to use semaphoreJoseph Hunkeler2025-12-316-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 guardJoseph Hunkeler2025-12-301-0/+1
|
* Implement task timeoutJoseph Hunkeler2025-12-304-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 DarwinJoseph Hunkeler2025-12-241-0/+5
|
* Remove blank lineJoseph Hunkeler2025-11-181-1/+0
|
* Add destroy to exampleJoseph Hunkeler2025-11-181-0/+2
|
* Enforce maximum buffer length of `name`Joseph Hunkeler2025-11-181-1/+8
|
* Remove debugging codeJoseph Hunkeler2025-11-171-4/+0
|
* Do not print error from within functionJoseph Hunkeler2025-11-171-1/+0
|
* Document semaphore usageJoseph Hunkeler2025-11-172-1/+43
|
* Integrate --no-task-logging CLI argumentJoseph Hunkeler2025-11-141-11/+24
|
* Add --no-task-logging CLI argumentJoseph Hunkeler2025-11-142-0/+2
|
* Decrease length of semaphore nameJoseph Hunkeler2025-11-141-1/+1
|