aboutsummaryrefslogtreecommitdiff
path: root/src/cli
Commit message (Collapse)AuthorAgeFilesLines
* General fixes (#149)HEAD1.7.1masterJoseph Hunkeler30 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 Hunkeler32 hours1-21/+19
| | | * Update/add error messages indicating why docker checks failed
* Micromamba improvement (#148)1.7.0Joseph Hunkeler5 days4-5/+52
| | | | | | | | | | | | | | | | | | | | | * Update micromamba installation logic * Split installation from micromamba() into micromamba_install() * Return -1 when micromamba cannot be installed * Add stasis.ini option "indexer.micromamba_download_url" * Add global variable micromamba_download_url * The installation function attempts two known-good URLs by default * * Add indexer arugment '--micromamba-download-url' * Add is_file_compressed() function to utils * Call micromamba_install() from tests * Add space in usage statement * Fix usage output when option array contains arguments without short options * Add --micromamba-download-url to README.md
* Safe strings, finally (#145)Joseph Hunkeler2026-06-026-74/+46
| | | | | | | | * 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
* Remove redundant __FUNCTION__Joseph Hunkeler2026-05-121-1/+1
|
* Reverse logic on status checkJoseph Hunkeler2026-05-121-14/+14
|
* exit on errorJoseph Hunkeler2026-05-121-14/+77
|
* Update SYS_* macrosJoseph Hunkeler2026-05-111-2/+2
|
* How did you get back in there...Joseph Hunkeler2026-05-111-34/+0
|
* Error checkJoseph Hunkeler2026-05-111-0/+6
|
* explicitly check if option name is NULLJoseph Hunkeler2026-05-111-1/+1
|
* Move center_text function into utils.c/utils.hJoseph Hunkeler2026-05-111-1/+11
| | | | | * Remove 'v' prefix * Print version the same way in the indexer
* Add message before running micromamba configurationJoseph Hunkeler2026-05-111-0/+1
|
* maxwidth will fitJoseph Hunkeler2026-05-111-2/+1
|
* Subtract remaining characters in format stringJoseph Hunkeler2026-05-111-2/+2
|
* write_report_output: fail on allocation errorsJoseph Hunkeler2026-05-111-0/+4
|
* handle asprintf errorsJoseph Hunkeler2026-05-112-4/+6
|
* Replace msg, perror, and fprintf with SYS message macrosuse-sys-macrosJoseph Hunkeler2026-05-117-78/+74
|
* Show the log level at startupJoseph Hunkeler2026-05-101-0/+2
|
* -v increases log level in indexerJoseph Hunkeler2026-05-101-0/+1
|
* Update SYS* macro callsJoseph Hunkeler2026-05-106-34/+34
|
* Fix up includesJoseph Hunkeler2026-05-104-0/+6
|
* 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
|
* Add download_dir member to MicroMambaInfo struct.Joseph Hunkeler2026-04-271-0/+1
| | | | * TMPDIR and hardcoded path is too unpredictable.
* Add allocation checksJoseph Hunkeler2026-04-261-0/+8
|
* Fix leaksJoseph Hunkeler2026-04-261-0/+1
|
* Fix file handle leaksJoseph Hunkeler2026-04-261-0/+1
|
* 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-252-5/+7
| | | | | | * Easier to remove leftover files, if any * Now uses setenv() to have better control over external programs * Removes the hack to initialize TMPDIR early
* usage: fail on allocation errorJoseph Hunkeler2026-04-251-0/+4
|
* Fix NUL placement in center textJoseph Hunkeler2026-04-241-1/+1
|
* NUL after copyJoseph Hunkeler2026-04-241-0/+5
|
* NUL terminate after copyJoseph Hunkeler2026-04-245-3/+33
|
* 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
|
* indexer_readmes: close index file handle on errorJoseph Hunkeler2026-04-221-0/+1
|
* indexer_readmes: consolidate asprintf error condition handlingJoseph Hunkeler2026-04-221-3/+3
|
* Emit stasis versionJoseph Hunkeler2026-04-211-1/+13
|
* Generate version string based on repository informationJoseph Hunkeler2026-04-211-1/+44
|
* Avoid segfault on empty meta directorysprintf-to-snprintfJoseph Hunkeler2026-04-211-0/+5
|
* Convert vsprintfJoseph Hunkeler2026-04-171-1/+9
| | | | * Check error conditions in related v-functions
* Fix cmd buffer size to copyJoseph Hunkeler2026-04-161-1/+1
|
* Convert more strcat and strcpy to strn variantsJoseph Hunkeler2026-04-165-39/+39
|
* Replace sprintf with snprintfJoseph Hunkeler2026-04-157-28/+30
| | | | * 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
|