aboutsummaryrefslogtreecommitdiff
path: root/src/deliverable.c
Commit message (Collapse)AuthorAgeFilesLines
* Read base packages from global config fileJoseph Hunkeler2023-11-211-10/+26
| | | | | | * Add conv_strlist_stackvar macro (globals is not a pointer) * Add "conda_packages" and "pip_package" to global config file * Fix unintended use of "conda build". Use "mambabuild".
* Use TMPDIR, and fail when script cannot be executed within that filesystemJoseph Hunkeler2023-11-201-2/+4
|
* ImprovementsJoseph Hunkeler2023-11-201-36/+94
| | | | | | | | | | | | | * Added getter_required to ensure variables are set by the user * conv_strlist macro strips input and sets its result to NULL if no data was seen * use snprintf to generate environment names. fix incorrect final string output. * Use better working: "Python Packages" instead of "PyPi Packages" * wheel builder will free list(s) on error (unused) * set CONDARC environment variable to ALWAYS point conda to our custom RC file * delivery_defer_packages() should filter correctly now (variable scoping issue) * moved release file text header to global data * delivery_get_spec_header() renamed to delivery_get_release_header() * delivery_rewrite_spec() removes prefix path from delivery artifact
* Replace mkdir() calls with mkdirs() (from copy.h)Joseph Hunkeler2023-11-201-10/+7
|
* Use globalsJoseph Hunkeler2023-11-201-0/+8
| | | | | | * continue_on_error set by omc config * always_update_base_environment set by omc config * Passing OMC_MSG_RESTRICT flag to msg() will print only in verbose mode
* Implements slightly improved error handlingJoseph Hunkeler2023-11-201-17/+58
| | | | | | | * 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-2/+2
|
* Remove debug shell callJoseph Hunkeler2023-10-311-8/+2
|
* Consolidate functions and defines from main.cJoseph Hunkeler2023-10-311-5/+126
|
* Add delivery get_spec_header()Joseph Hunkeler2023-10-311-0/+15
|
* Add delivery_free functionJoseph Hunkeler2023-10-311-0/+48
| | | | * Add guard_free_ macros
* Fixes memory leak in conv_ macrosJoseph Hunkeler2023-10-311-3/+4
|
* Initial commitJoseph Hunkeler2023-10-261-0/+626