aboutsummaryrefslogtreecommitdiff
path: root/src/cli/stasis
Commit message (Collapse)AuthorAgeFilesLines
* General fixes (#149)HEAD1.7.1masterJoseph Hunkeler35 hours1-16/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix missing LF * Return when item is NULL * Explicitly state error condition * strlist_contains: Allow index result argument to be NULL * BUGFIX: strlist_contains now uses strstr instead of strcmp * The match was never intended to be exact * BUGFIX: log_msgv now prints a LF to the same stream as the message * BUGFIX: env_manipulate_pathstr PM_ONCE logic did opposite of what was intended * When strstr finds the path in the system path, it's supposed to free the new system path and exit. In this case it was freeing the path when the path wasn't found that lead to several instances of PATH not being updated correctly * Free result when shell_output fails * join: Fix segfault on memory error * join_ex: Fix leak on memory error * Initialize installer_url and python_override_version to zero * Remove redundant calls to memset
* Always display information about docker even if its not available (#144)Joseph Hunkeler36 hours1-21/+19
| | | * Update/add error messages indicating why docker checks failed
* Safe strings, finally (#145)Joseph Hunkeler2026-06-022-26/+12
| | | | | | | | * Add string copy and catonate replacements * safe_strncpy * safe_strncat * Replace string functions * gbo.ini: Update tweakwcs to 0.9.0 * generic.ini: Update tweakwcs to 0.9.0
* Reverse logic on status checkJoseph Hunkeler2026-05-121-14/+14
|
* exit on errorJoseph Hunkeler2026-05-121-14/+77
|
* How did you get back in there...Joseph Hunkeler2026-05-111-34/+0
|
* explicitly check if option name is NULLJoseph Hunkeler2026-05-111-1/+1
|
* maxwidth will fitJoseph Hunkeler2026-05-111-2/+1
|
* Replace msg, perror, and fprintf with SYS message macrosuse-sys-macrosJoseph Hunkeler2026-05-112-57/+53
|
* Show the log level at startupJoseph Hunkeler2026-05-101-0/+2
|
* Update SYS* macro callsJoseph Hunkeler2026-05-101-12/+12
|
* Fix up includesJoseph Hunkeler2026-05-101-0/+1
|
* Implement logging facility WARN, INFO, DEBUGJoseph Hunkeler2026-05-101-0/+1
| | | | | | | * The original macros have been updated * Default log level is WARN * Log level increases per `-v` CLI argument * Tests always use DEBUG level
* Integrate into main and lib/deliveryversion-compareJoseph Hunkeler2026-05-051-0/+32
|
* Move system requirement check down so configure_delivery_context can set ↵Joseph Hunkeler2026-04-251-1/+1
| | | | TMPDIR before getting executed
* Set starting TMPDIR to /tmp/stasisJoseph Hunkeler2026-04-251-4/+0
| | | | | | * Easier to remove leftover files, if any * Now uses setenv() to have better control over external programs * Removes the hack to initialize TMPDIR early
* Fix NUL placement in center textJoseph Hunkeler2026-04-241-1/+1
|
* NUL terminate after copyJoseph Hunkeler2026-04-241-0/+10
|
* Fix snprintfsJoseph Hunkeler2026-04-231-3/+1
|
* Use snprintfJoseph Hunkeler2026-04-221-0/+6
|
* stasis_main: exit on memory errorJoseph Hunkeler2026-04-221-1/+6
|
* Generate version string based on repository informationJoseph Hunkeler2026-04-211-1/+44
|
* Convert more strcat and strcpy to strn variantsJoseph Hunkeler2026-04-162-10/+10
|
* Replace sprintf with snprintfJoseph Hunkeler2026-04-152-9/+11
| | | | * A few strcpy and strcat changes as well
* Fix system requirement logic. If docker is not usable, disable.Joseph Hunkeler2026-03-061-3/+7
|
* Clean up messagesJoseph Hunkeler2026-03-051-9/+15
|
* Clean up messagesJoseph Hunkeler2026-03-051-8/+9
|
* add missing short optionsJoseph Hunkeler2026-03-051-1/+1
|
* overview, not overiewJoseph Hunkeler2026-03-051-3/+2
|
* No need to print these every timeJoseph Hunkeler2026-03-051-1/+1
|
* Rename function to better express its purposeJoseph Hunkeler2026-03-051-2/+3
|
* Check system requirements before setupJoseph Hunkeler2026-03-051-0/+1
|
* Initialize the python version override before the template engineJoseph Hunkeler2026-03-051-4/+2
|
* Initialize sysconfdir earlyJoseph Hunkeler2026-03-051-1/+2
|
* Add wheel_builder CLI argumentsJoseph Hunkeler2026-03-053-0/+12
|
* Error checking and sequencingJoseph Hunkeler2026-02-181-8/+8
| | | | | | * 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
* Install cibuildwheelJoseph Hunkeler2026-02-131-0/+4
|
* Move utility functions to utils.cJoseph Hunkeler2026-01-022-30/+0
|
* Implement task timeoutJoseph Hunkeler2025-12-303-0/+45
| | | | | | * Add argument: --task-timeout=1[s,m,h] * Timed out tasks are SIGKILL'd * If killing a task fails, the entire program ends
* Integrate --no-task-logging CLI argumentJoseph Hunkeler2025-11-141-0/+3
|
* Add --no-task-logging CLI argumentJoseph Hunkeler2025-11-142-0/+3
|
* Increase lines_on_error from 100 to 1000breakdownJoseph Hunkeler2025-07-081-1/+1
| | | | * Debug messages are chatty
* Bugfix: Remove errant else blockJoseph Hunkeler2025-07-081-10/+15
| | | | | * Add debug messages * Add error handling to cfg_path assignment
* Set last records to NULLJoseph Hunkeler2025-07-081-1/+2
|
* Make want_(artifactory|docker) constantJoseph Hunkeler2025-07-071-3/+3
|
* Move steps into functionsJoseph Hunkeler2025-07-071-330/+387
|
* Inform user that wheel are being builtJoseph Hunkeler2025-04-081-0/+1
|
* base and "based_on" installations shall hardcode the requested python ↵Joseph Hunkeler2025-04-021-5/+2
| | | | version in the YAML config instead of trusting it
* Purge immediately environment creationJoseph Hunkeler2024-12-191-30/+21
| | | | * Circumvent a conda bug where the version x.y.zrc1 is equal to x.y.z, instead of less than. Always something.
* Add (conda|pip)_packages_purge configuration keys and driverJoseph Hunkeler2024-12-181-0/+30
|