| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Merge pull request #117 from ↵HEADmaster | Joseph Hunkeler | 12 days | 1 | -1/+1 |
| |\ | | | | | | | | | spacetelescope/dependabot/github_actions/dot-github/workflows/actions-ee1c097272 Bump actions/checkout from 4.2.2 to 5.0.0 in /.github/workflows in the actions group | ||||
| | * | Bump actions/checkout in /.github/workflows in the actions group | dependabot[bot] | 2026-01-01 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps the actions group in /.github/workflows with 1 update: [actions/checkout](https://github.com/actions/checkout). Updates `actions/checkout` from 4.2.2 to 5.0.0 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/11bd71901bbe5b1630ceea73d27597364c9af683...08c6903cd8c0fde910a37f88322edcfb5dd907a8) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 5.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions ... Signed-off-by: dependabot[bot] <support@github.com> | ||||
| * | | Merge pull request #118 from jhunkeler/semaphore | Joseph Hunkeler | 12 days | 21 | -104/+1541 |
| |\ \ | |/ |/| | Semaphore | ||||
| | * | Update READMEsemaphore | Joseph Hunkeler | 13 days | 1 | -22/+24 |
| | | | |||||
| | * | CI: Enable verbose testing | Joseph Hunkeler | 2026-01-03 | 1 | -0/+1 |
| | | | |||||
| | * | First use of STASIS_TEST_MSG | Joseph Hunkeler | 2026-01-03 | 1 | -2/+2 |
| | | | |||||
| | * | Add STASIS_TEST_MSG macro | Joseph Hunkeler | 2026-01-03 | 1 | -0/+9 |
| | | | |||||
| | * | Add TESTS_VERBOSE cmake option | Joseph Hunkeler | 2026-01-03 | 2 | -0/+13 |
| | | | | | | | | | * Defines STASIS_TEST_VERBOSE | ||||
| | * | Enable tests | Joseph Hunkeler | 2026-01-03 | 1 | -7/+7 |
| | | | |||||
| | * | Trying to fix a buffer overflow reported by the CI | Joseph Hunkeler | 2026-01-03 | 4 | -16/+21 |
| | | | | | | | | | * Locally ASAN wasn't complaining. | ||||
| | * | Add tests | Joseph Hunkeler | 2026-01-02 | 1 | -7/+47 |
| | | | | | | | | | | | * test_mp_timeout() * test_mp_seconds_to_human_readable() | ||||
| | * | 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 | 8 | -0/+52 |
| | | | | | | | | | | | | | * 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 |
| |/ | |||||
| * | Merge pull request #119 from jhunkeler/indexer-buffer-overlow | Joseph Hunkeler | 2025-11-10 | 14 | -93/+285 |
| |\ | | | | | Indexer buffer overflow and leak(s) | ||||
| | * | 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 | ||||
| | * | Fix System struct comment positions | Joseph Hunkeler | 2025-11-04 | 1 | -4/+2 |
| | | | |||||
| | * | Duplicate upload context | Joseph Hunkeler | 2025-11-04 | 1 | -1/+43 |
| | | | |||||
| | * | Fix incorrect formatter in SYSERROR call | Joseph Hunkeler | 2025-11-04 | 1 | -1/+1 |
| | | | |||||
| | * | Convert context manipulation from stack+heap to just heap | Joseph Hunkeler | 2025-11-04 | 10 | -76/+85 |
| | | | |||||
| | * | Fix possible overflow in command string | Joseph Hunkeler | 2025-11-04 | 1 | -3/+3 |
| | | | |||||
| | * | get_latest_deliveries() now optionally returns the count of elements in the ↵ | Joseph Hunkeler | 2025-11-04 | 2 | -3/+8 |
| | | | | | | | | | returned array of Delivery structs | ||||
| | * | Add delivery_duplicate() and strdup_maybe() helper | Joseph Hunkeler | 2025-11-04 | 2 | -0/+110 |
| |/ | | | | | * The indexer needs to generate copies of the delivery context. The previous implementation (memcpy) left a lot to be desired. * strdup_maybe() might be useful elsewhere but for now I am leaving it static | ||||
| * | Merge pull request #116 from jhunkeler/breakdown | Joseph Hunkeler | 2025-07-08 | 14 | -353/+552 |
| |\ | | | | | Breakdown & Bug fixes | ||||
| | * | Increase lines_on_error from 100 to 1000breakdown | Joseph Hunkeler | 2025-07-08 | 2 | -2/+2 |
| | | | | | | | | | * Debug messages are chatty | ||||
