aboutsummaryrefslogtreecommitdiff
path: root/src/conda.c
Commit message (Collapse)AuthorAgeFilesLines
* Disable conda's sanity checks. (i.e. don't verify every transaction)Joseph Hunkeler2024-04-021-5/+6
|
* Changes to strlist_*() functions:Joseph Hunkeler2024-04-021-2/+2
| | | | | Functions that modify the input StrList have been refactored to use `struct StrList **` instead of `struct StrList *`. * Fixes realloc error handling
* Use GENERIC_ARRAY_FREE instead of split_free()Joseph Hunkeler2024-03-221-1/+1
|
* Use do/while in guard_* macros to make them behave more like functionsJoseph Hunkeler2024-03-101-4/+4
|
* Fixes several memory leaksJoseph Hunkeler2024-02-261-0/+4
|
* Refactor std{out,err} to f_std{out,err}Joseph Hunkeler2024-02-061-2/+2
| | | | * Bare stdout and stderr, even as struct members, tend to conflict with numerous libc implementations.
* Use shell() in place of shell2()Joseph Hunkeler2024-01-291-1/+1
|
* Install conda and pip packagesJoseph Hunkeler2023-12-101-9/+48
|
* Add function conda_check_required()Joseph Hunkeler2023-12-101-0/+37
| | | | * First pass. Needs work.
* Set solver to libmamba by defaultJoseph Hunkeler2023-12-101-0/+1
|
* Set conda to quiet mode when verbosity is not toggledJoseph Hunkeler2023-12-101-1/+7
|
* Use "env" program instead of "printenv" shell built-in to read environmentJoseph Hunkeler2023-12-101-1/+1
|
* Use TMPDIR, and fail when script cannot be executed within that filesystemJoseph Hunkeler2023-11-201-1/+4
|
* Implements slightly improved error handlingJoseph Hunkeler2023-11-201-27/+32
| | | | | | | * Return status from conda_ and delivery_ functions * Caller prints meaningful error, and handles it * Enable warnings during compilation * Squelch format-truncation warning -- those strings are extremely unlikely to overflow (famous last words)
* Replaces BUFSIZ with OMC_BUFSIZJoseph Hunkeler2023-11-201-1/+1
|
* Consolidate conda_setup_headless() from main.cJoseph Hunkeler2023-10-311-1/+15
|
* Parse output of "printenv -0" to preserve environment correctlyJoseph Hunkeler2023-10-311-10/+30
| | | | | | * Use fgetc in place of fgets * Split key/value on '=' * Issue warnings on invalid key/value
* Initial commitJoseph Hunkeler2023-10-261-0/+176