aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
Commit message (Collapse)AuthorAgeFilesLines
* strlist_free callsJoseph Hunkeler2024-04-021-2/+2
|
* Remove nonsense codeJoseph Hunkeler2024-03-251-2/+1
| | | | * Kill dangling pointer
* Remove unused pointer to the caller runtime environment. Unused.Joseph Hunkeler2024-03-221-1/+1
|
* Populate the strlist returned by delivery_build_wheels so we can actually ↵Joseph Hunkeler2024-03-221-2/+7
| | | | | | free the array. Unused for now.
* Remove redundant free of config_inputJoseph Hunkeler2024-03-221-1/+0
|
* Simplify environment name generation.Joseph Hunkeler2024-03-221-2/+3
|
* Frees config_input path after its consumed by ini_openJoseph Hunkeler2024-03-221-0/+1
|
* Zero python_override_version before useJoseph Hunkeler2024-03-221-0/+2
|
* Remove redundant free of globals.sysconfdirJoseph Hunkeler2024-03-221-1/+0
|
* Add missing cleanupJoseph Hunkeler2024-03-221-0/+1
| | | | | * Closes dangling file streams scattered throughout * Frees pointers related to Delivery.docker missed during implementation
* Add fix_tox_conf functionJoseph Hunkeler2024-03-141-0/+1
| | | | * If the user calls tox in a test script like so: tox {{ workaround.tox_posargs }}, then a temporary tox configuration will be generated and the appropriate arguments to use it will be injected into tox's command line arguments
* Pretty-print pytest xml results (if xmllint is present)Joseph Hunkeler2024-03-141-0/+3
| | | | | | | * Adds Delivery.storage.results_dir member * Exposes storage.results_dir to templates * This is to make the test results human-readable * xmllint is optional. If it isn't installed it isn't a big deal.
* Wording and indentJoseph Hunkeler2024-03-121-2/+3
|
* Exit on invalid argument inputJoseph Hunkeler2024-03-111-2/+1
|
* Set globals struct values as intendedJoseph Hunkeler2024-03-111-7/+2
| | | | * Bare variables predated the globals struct. This better aligns with how options are consumed throughout the program
* Consolidate argument parsing loop controlJoseph Hunkeler2024-03-111-7/+3
| | | | * Fix missing increment of positional argument loop
* Fix missing break statement in OPT_NO_TESTING caseJoseph Hunkeler2024-03-111-0/+1
|
* Make opt_short long enough to fix ARG outputJoseph Hunkeler2024-03-111-1/+1
|
* Change "config" and "python" so their arguments are requiredJoseph Hunkeler2024-03-111-3/+3
| | | | * Fixes update-base argument type. It was never supposed to take an argument.
* Print ARG next to short option output in usage statementJoseph Hunkeler2024-03-111-0/+3
|
* Prevent printing non-existent short options in usage statementJoseph Hunkeler2024-03-111-1/+1
|
* Use do/while in guard_* macros to make them behave more like functionsJoseph Hunkeler2024-03-101-16/+16
|
* Override python version _before_ parsing the configs and rendering template ↵Joseph Hunkeler2024-03-081-8/+8
| | | | strings
* Fix python_compact not getting updated when target python version changedJoseph Hunkeler2024-03-081-8/+8
|
* Makes docker builds, artifactory uploads, and testing optional via CLI ↵Joseph Hunkeler2024-03-081-9/+41
| | | | | | | arguments. * Remove [DEBUG] from debug summary * Add enable_* states to debug summary
* Add CLI option to disable line bufferingJoseph Hunkeler2024-03-071-1/+10
|
* Enable building docker imageJoseph Hunkeler2024-03-061-0/+3
|
* Refactor deployment structureJoseph Hunkeler2024-03-061-3/+3
| | | | | * Consolidate jfrog and docker into deploy member * Fix template registers
* Fixes several memory leaksJoseph Hunkeler2024-02-261-0/+10
|
* Expose the docker registry address to template engineJoseph Hunkeler2024-02-231-0/+1
|
* Fix sizeof against incorrect arrayJoseph Hunkeler2024-02-231-2/+2
|
* Implement build_name_fmt and build_number_fmt mission rulesJoseph Hunkeler2024-02-181-0/+2
| | | | * Artifactory centric
* Fix maximum length passed to strncpyJoseph Hunkeler2024-02-131-1/+1
|
* Render mission filesJoseph Hunkeler2024-02-131-0/+3
|
* Disable dumping environment variables in verbose mode (for now)Joseph Hunkeler2024-02-131-2/+2
|
* Expose more storage variables to template engineJoseph Hunkeler2024-02-131-0/+5
|
* Enable multiple named artifact upload sections in delivery contextJoseph Hunkeler2024-02-121-0/+1
|
* Add Delivery.info.time_str_epoch member to store Unix epoch as a string.Joseph Hunkeler2024-02-121-0/+1
|
* This is what I get for using a GUI... Moved code was not moved. Removed code ↵Joseph Hunkeler2024-02-061-62/+0
| | | | was not removed. Fantastic.
* Start building wheels again...Joseph Hunkeler2024-02-061-1/+15
| | | | | * We don't really lose anything. Disk is cheap. * Even if not used by the delivery I feel like it might be useful to have a precompiled binary lying around.
* Add note about overriding the python version.Joseph Hunkeler2024-02-061-0/+2
| | | | * I suspect I'll need to craft and update function to handle this change.
* Tell the user we are succeeding/failing to configure JFrog CLI on their behalfJoseph Hunkeler2024-02-061-2/+2
|
* Free dangling global pointersJoseph Hunkeler2024-02-061-0/+2
|
* Fix addressing issue...Joseph Hunkeler2024-02-061-0/+18
| | | | | | | * Store the address of the pointer to template variable, instead of the pointer. Whoops! * Pre-declare all template pointers as early as possible to make them available to the entire program * Comment tpl_*() prototypes
* Print the splash banner before the first msg() is shownJoseph Hunkeler2024-02-061-0/+2
|
* Use two spaces instead of a tab character for main program's argument listing.Joseph Hunkeler2024-02-061-1/+1
|
* Fix error when no conda/pip packages are present in a delivery.Joseph Hunkeler2024-02-061-3/+8
| | | | * This prevents issuing no arguments to conda install leading to program exit
* 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.
* Fix up mission directory handlerJoseph Hunkeler2024-01-311-11/+23
|
* General improvementsJoseph Hunkeler2024-01-301-3/+58
| | | | | | | | | | | * Fix segfault related to Delivery.storage.tmpdir not being initialized properly * Add delivery_format_str() to make delivery rules easier to maintain * Test configurations can accept their own runtime variables * When no conda package or python packages are to be installed, indicate that state by printing "N/A" in output summary * Change shell_safe() accept a string instead of an array * Add support for artifactory client certs key/path * Initial pass at defining an artifactory repo destination (not fully implemented yet) * Add missing line feeds to error messages during ini config initialization