aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Write conda installer to a temporary location instead of the current working ↵Joseph Hunkeler2024-04-102-21/+47
| | | | | | directory * Replaces function argument "delivery" with "ctx" for better consistency
* Increase buffer size to match input argument sizesJoseph Hunkeler2024-04-102-1/+2
|
* xmkstemp falls back to /tmp when globals are not yet initializedJoseph Hunkeler2024-04-101-3/+12
| | | | * Increase t_name buffer size to match input argument sizes
* Remove unused variableJoseph Hunkeler2024-04-021-1/+0
|
* Process deferred package buids prior to populating the release environment.Joseph Hunkeler2024-04-021-16/+13
|
* Filter disabled requirements from listJoseph Hunkeler2024-04-021-0/+14
| | | | * Temporary bandage. This needs to be its own function, and with real comment detection.
* Remove unused codeJoseph Hunkeler2024-04-021-4/+1
|
* Fix segfault in delivery dockerJoseph Hunkeler2024-04-021-2/+27
| | | | | * Generate docker tags if no tags are defined by the user * Only use a registry if one is defined by the user
* Zero stack variablesJoseph Hunkeler2024-04-021-0/+3
|
* Refactor delivery_rewrite_spec()Joseph Hunkeler2024-04-021-37/+30
|
* When a wheel doesn't exist at the destination directory, move it there. ↵Joseph Hunkeler2024-04-021-1/+6
| | | | Otherwise, overwrite it with latest build
* Apply necessary changes to file_replace_text callsJoseph Hunkeler2024-04-021-7/+8
|
* Reenable installation via local wheelsJoseph Hunkeler2024-04-021-27/+33
|
* Reset HOME to point to a temporary directory to prevent contaminating the ↵Joseph Hunkeler2024-04-021-0/+7
| | | | user account's home directory with build artifacts, caches, and other artifacts
* Addresses undesired effect when based_on is in use.Joseph Hunkeler2024-04-021-1/+6
|
* Move system.{arch,platform} template registrations into delivery_init_platform()Joseph Hunkeler2024-04-022-2/+6
|
* Use new COE_CHECK_ABORTJoseph Hunkeler2024-04-022-5/+7
|
* Fix an unintended offset shift in closing brace detectionJoseph Hunkeler2024-04-021-1/+1
|
* Add REPLACE_TRUNCATE_AFTER_MATCH mode to replace_textJoseph Hunkeler2024-04-021-3/+11
|
* Disable conda's sanity checks. (i.e. don't verify every transaction)Joseph Hunkeler2024-04-021-5/+6
|
* More strlist operationsJoseph Hunkeler2024-04-022-12/+13
|
* strlist_free callsJoseph Hunkeler2024-04-021-2/+2
|
* Changes to strlist_*() functions:Joseph Hunkeler2024-04-024-56/+68
| | | | | Functions that modify the input StrList have been refactored to use `struct StrList **` instead of `struct StrList *`. * Fixes realloc error handling
* Changes to ini_write() behavior:Joseph Hunkeler2024-04-022-8/+21
| | | | | | * Caller can choose to dump raw unmodified key/value pairs, or render all values through the template engine * Fixes spurious line feeds injected into the output stream * Uses LINE_SEP instead of "\n"
* Fix replace_text*() functionsJoseph Hunkeler2024-04-021-30/+76
| | | | | * Now return an error code * Completely rewrote replace_text()
* Lock output behind DEBUG defineJoseph Hunkeler2024-04-022-1/+14
|
* Remove nonsense codeJoseph Hunkeler2024-03-251-2/+1
| | | | * Kill dangling pointer
* Close handleJoseph Hunkeler2024-03-251-0/+1
|
* Add error handler for system.platformJoseph Hunkeler2024-03-241-1/+5
|
* Move deliver_init_tmpdir() next to path_store() call to clarify what is ↵Joseph Hunkeler2024-03-241-8/+9
| | | | happening to tmpdir
* Fix up section->data reallocJoseph Hunkeler2024-03-241-4/+17
| | | | * Add error handling
* Fix condition that ruined sptr.Joseph Hunkeler2024-03-241-6/+8
| | | | * Pass temporary pointer to strsep
* Comment branchJoseph Hunkeler2024-03-241-2/+2
|
* Short-circuit on zero-length str argumentJoseph Hunkeler2024-03-241-0/+2
|
* Fix realloc error handlingJoseph Hunkeler2024-03-241-1/+2
|
* Fix up result [de]allocation in fix_tox_confJoseph Hunkeler2024-03-241-4/+4
|
* Error messagesJoseph Hunkeler2024-03-222-6/+4
|
* Use array notation instead of pure pointersJoseph Hunkeler2024-03-221-13/+16
| | | | | * The compiler was convinced pos could be NULL but I found no such issue in the code. * Accessing by index satisfies whatever GCC thinks was happening here.
* Fix bad reallocJoseph Hunkeler2024-03-221-1/+9
| | | | * Tests temporary pointer instead of blindly replacing the original
* Consolidate pointer assignment to if-statementJoseph Hunkeler2024-03-222-6/+3
| | | | * Easier to see what's happening. Nothing more.
* Replace free() with guard_* macrosJoseph Hunkeler2024-03-223-6/+10
|
* Remove unused pointerJoseph Hunkeler2024-03-221-5/+0
|
* Fix realloc error handlingJoseph Hunkeler2024-03-221-1/+2
|
* Bugfix in split()Joseph Hunkeler2024-03-221-4/+0
| | | | * On error sptr is not longer indirectly free'd.
* Duplicate keys and values instead of copying their pointers.Joseph Hunkeler2024-03-221-15/+31
| | | | * ini_open uses the stack instead of malloc
* Fix size of realloc'd dataJoseph Hunkeler2024-03-221-6/+12
| | | | * Fix up error handling for relloc'd data
* Free tempfile bufferJoseph Hunkeler2024-03-221-1/+3
|
* Encapsulate the tox.ini generation.Joseph Hunkeler2024-03-221-8/+8
| | | | * This avoids telling the user we're about to modify the tox.ini if there's no real work to be done.
* Free resources on errorJoseph Hunkeler2024-03-221-4/+9
| | | | * TODO: Use a goto for this one.
* Increase command string size.Joseph Hunkeler2024-03-221-1/+1
| | | | * OMC_BUFSIZ should be long enough to accommodate larger than normal paths.