aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
Commit message (Collapse)AuthorAgeFilesLines
* Convert ohmycal to a libraryJoseph Hunkeler2024-05-021-643/+0
|
* Issue a warning if omc.ini is not present at the installed location. (Or ↵Joseph Hunkeler2024-04-151-1/+3
| | | | wherever OMC_SYSCONFDIR points to)
* Use the installed version of the omc.ini configuration file when no path is ↵Joseph Hunkeler2024-04-151-1/+9
| | | | passed to the program via -c/--config
* Do not use artifactory or docker if they're not configured correctly, or ↵Joseph Hunkeler2024-04-151-15/+25
| | | | requested.
* Fix unhandled installation error(s)Joseph Hunkeler2024-04-151-3/+9
| | | | * Fix printing deferred package message when not installing deferred packages
* Avoid building docker images when no Dockerfile is presentJoseph Hunkeler2024-04-121-4/+10
|
* Save raw and rendered versions of the input configuration.Joseph Hunkeler2024-04-121-0/+27
|
* Expose the output directory to the template engineJoseph Hunkeler2024-04-121-0/+1
|
* Bootstrap delivery contextJoseph Hunkeler2024-04-121-2/+5
| | | | | | * Gives access to build information before directory creation * Better control over where data ends up * Decreases complexity related to uploading artifacts from a delivery tree
* Display an error message regardless if we've enabled continue-on-error.Joseph Hunkeler2024-04-101-0/+1
| | | | * Avoids confusion when docker build fails
* Move memset calls to where the other ones resideJoseph Hunkeler2024-04-101-3/+2
|
* Remove references to INIFILE.Joseph Hunkeler2024-04-101-7/+0
| | | | * Now handled by delivery_init().
* Apply staged rewritesJoseph Hunkeler2024-04-101-2/+5
|
* Copying wheels post-build to the artifact directory is no longer required.Joseph Hunkeler2024-04-101-3/+0
|
* Add check_system_requirements() helperJoseph Hunkeler2024-04-101-0/+39
| | | | * Fail out early on error to avoid user frustration
* Fix magic number representing an indentJoseph Hunkeler2024-04-101-1/+2
|
* Stop duplicating the jfrog authentication context for each upload context.Joseph Hunkeler2024-04-101-0/+2
| | | | | | * We only need one * RAM isn't peppered with auth data * The artifactory URL has been consolidated and exposed as a template variable: deploy.jfrog.url
* Consolidate INIFILE handling across the delivery contextJoseph Hunkeler2024-04-101-4/+11
| | | | * Break delivery_init() into separate populate_* functions
* Write conda installer to a temporary location instead of the current working ↵Joseph Hunkeler2024-04-101-4/+4
| | | | | | directory * Replaces function argument "delivery" with "ctx" for better consistency
* Process deferred package buids prior to populating the release environment.Joseph Hunkeler2024-04-021-16/+13
|
* Zero stack variablesJoseph Hunkeler2024-04-021-0/+3
|
* Move system.{arch,platform} template registrations into delivery_init_platform()Joseph Hunkeler2024-04-021-2/+0
|
* Use new COE_CHECK_ABORTJoseph Hunkeler2024-04-021-1/+3
|
* 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
|