Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Remove redundant free of globals.sysconfdir | Joseph Hunkeler | 2024-03-22 | 1 | -1/+0 | |
| | ||||||
* | Free more dangling resources | Joseph Hunkeler | 2024-03-22 | 1 | -0/+1 | |
| | | | | | * Delivery.meta.based_on * Delivery.storage.results_dir | |||||
* | Free more dangling resources | Joseph Hunkeler | 2024-03-22 | 1 | -0/+1 | |
| | | | | | * Delivery.meta.based_on * Delivery.storage.results_dir | |||||
* | Move collapse_whitespace to utils.c / utils.h | Joseph Hunkeler | 2024-03-22 | 3 | -11/+27 | |
| | ||||||
* | Remove commented code | Joseph Hunkeler | 2024-03-22 | 1 | -1/+0 | |
| | ||||||
* | Add missing cleanup | Joseph Hunkeler | 2024-03-22 | 1 | -0/+1 | |
| | | | | | * Closes dangling file streams scattered throughout * Frees pointers related to Delivery.docker missed during implementation | |||||
* | Add missing cleanup | Joseph Hunkeler | 2024-03-18 | 2 | -2/+5 | |
| | | | | | * Closes dangling file streams scattered throughout * Frees pointers related to Delivery.docker missed during implementation | |||||
* | Update README.md | Joseph Hunkeler | 2024-03-14 | 1 | -27/+30 | |
| | ||||||
* | Add fix_tox_conf function | Joseph Hunkeler | 2024-03-14 | 5 | -1/+89 | |
| | | | | * 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 | |||||
* | We're executing the test, so tell the user | Joseph Hunkeler | 2024-03-14 | 1 | -1/+2 | |
| | ||||||
* | Fix bug that prevented package deferrals from proceeding when package names ↵ | Joseph Hunkeler | 2024-03-14 | 1 | -2/+2 | |
| | | | | contained URLs or version specs | |||||
* | Splits OMC directory creation into two stages | Joseph Hunkeler | 2024-03-14 | 1 | -7/+15 | |
| | | | | | | * Stage 1: Initialize base directories (omc/root, omc/build, etc) * Stage 2: Initialize output directories (omc/output, etc) * Output directory now provides a unique parent directory name to avoid clobbering previously delivered data | |||||
* | Pretty-print pytest xml results (if xmllint is present) | Joseph Hunkeler | 2024-03-14 | 5 | -0/+106 | |
| | | | | | | | * 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. | |||||
* | Allow path_store function to replace existing path elements without causing ↵ | Joseph Hunkeler | 2024-03-14 | 1 | -0/+4 | |
| | | | | memory leaks | |||||
* | Zero out the mkstemp template string to avoid garbage in file names | Joseph Hunkeler | 2024-03-14 | 1 | -1/+1 | |
| | ||||||
* | Add template functions to store/load function pointers. | Joseph Hunkeler | 2024-03-14 | 2 | -0/+51 | |
| | | | | * Incomplete and unused for now | |||||
* | Replace ini_show with ini_write | Joseph Hunkeler | 2024-03-14 | 2 | -6/+27 | |
| | | | | * One can still display the ini configuration by using ini_show(iniptr, stdout); | |||||
* | Bugfix | Joseph Hunkeler | 2024-03-14 | 1 | -5/+6 | |
| | | | | | | * When the result string grew larger than the initial_size, the function would return NULL even if realloc succeeded * Replaces fgets with fread to ensure all data returned by the program is consumed. * The line buffer is zeroed for each iteration | |||||
* | Remove "OMC ::" from build name. | Joseph Hunkeler | 2024-03-14 | 3 | -3/+3 | |
| | | | | * TODO: Preface the build name with OMC at upload-time. | |||||
* | Only set continue_on_error and always_update_base if not already set by CLI ↵ | Joseph Hunkeler | 2024-03-12 | 1 | -4/+9 | |
| | | | | | | argument * Those bare variables were useful after all | |||||
* | Wording and indent | Joseph Hunkeler | 2024-03-12 | 1 | -2/+3 | |
| | ||||||
* | Exit on invalid argument input | Joseph Hunkeler | 2024-03-11 | 1 | -2/+1 | |
| | ||||||
* | Set globals struct values as intended | Joseph Hunkeler | 2024-03-11 | 1 | -7/+2 | |
| | | | | * Bare variables predated the globals struct. This better aligns with how options are consumed throughout the program | |||||
* | Consolidate argument parsing loop control | Joseph Hunkeler | 2024-03-11 | 1 | -7/+3 | |
| | | | | * Fix missing increment of positional argument loop | |||||
* | Fix missing break statement in OPT_NO_TESTING case | Joseph Hunkeler | 2024-03-11 | 1 | -0/+1 | |
| | ||||||
* | Make opt_short long enough to fix ARG output | Joseph Hunkeler | 2024-03-11 | 1 | -1/+1 | |
| | ||||||
* | Change "config" and "python" so their arguments are required | Joseph Hunkeler | 2024-03-11 | 1 | -3/+3 | |
| | | | | * Fixes update-base argument type. It was never supposed to take an argument. | |||||
* | Print ARG next to short option output in usage statement | Joseph Hunkeler | 2024-03-11 | 1 | -0/+3 | |
| | ||||||
* | Prevent printing non-existent short options in usage statement | Joseph Hunkeler | 2024-03-11 | 1 | -1/+1 | |
| | ||||||
* | Use do/while in guard_* macros to make them behave more like functions | Joseph Hunkeler | 2024-03-10 | 14 | -142/+142 | |
| | ||||||
* | Replace getter_* and conv_* macros with static functions. | Joseph Hunkeler | 2024-03-10 | 1 | -186/+160 | |
| | ||||||
* | Override python version _before_ parsing the configs and rendering template ↵ | Joseph Hunkeler | 2024-03-08 | 1 | -8/+8 | |
| | | | | strings | |||||
* | Fix python_compact not getting updated when target python version changed | Joseph Hunkeler | 2024-03-08 | 2 | -11/+14 | |
| | ||||||
* | Makes docker builds, artifactory uploads, and testing optional via CLI ↵ | Joseph Hunkeler | 2024-03-08 | 3 | -11/+49 | |
| | | | | | | | arguments. * Remove [DEBUG] from debug summary * Add enable_* states to debug summary | |||||
* | Remove TODOs from readme templates | Joseph Hunkeler | 2024-03-08 | 3 | -3/+0 | |
| | ||||||
* | Append the release name to README artifacts to prevent documentation clobbering. | Joseph Hunkeler | 2024-03-08 | 3 | -3/+3 | |
| | | | | * It may be the case that we'll have to break artifacts down into separate arch/OS directories if this turns out to be too ugly. | |||||
* | Add CLI option to disable line buffering | Joseph Hunkeler | 2024-03-07 | 1 | -1/+10 | |
| | ||||||
* | Zero argument buffer | Joseph Hunkeler | 2024-03-07 | 1 | -0/+2 | |
| | ||||||
* | Add OMC_ROOT environment to control where OMC writes its files to | Joseph Hunkeler | 2024-03-07 | 1 | -1/+11 | |
| | ||||||
* | Add deploy:docker outline. | Joseph Hunkeler | 2024-03-06 | 1 | -1/+14 | |
| | | | | * Add/fix deploy template variables | |||||
* | Enable building docker image | Joseph Hunkeler | 2024-03-06 | 1 | -0/+3 | |
| | ||||||
* | Set global.jfrog.repo through config, or environment variable | Joseph Hunkeler | 2024-03-06 | 1 | -0/+9 | |
| | | | | * This used to be the case but the code was removed at some point; most likely by accident. | |||||
* | Implement docker delivery configuration | Joseph Hunkeler | 2024-03-06 | 1 | -6/+59 | |
| | | | | | * Copy dockerfile and delivery file to the build directory * Add docker.test_script key. Lets you run smoke tests against the freshly built image | |||||
* | Refactor deployment structure | Joseph Hunkeler | 2024-03-06 | 3 | -59/+65 | |
| | | | | | * Consolidate jfrog and docker into deploy member * Fix template registers | |||||
* | Add paths for build_docker_dir and docker_artifact_dir | Joseph Hunkeler | 2024-03-06 | 2 | -0/+4 | |
| | ||||||
* | Replace raw LF with LINE_SEP define | Joseph Hunkeler | 2024-03-06 | 1 | -6/+6 | |
| | ||||||
* | Reset console color before writing | Joseph Hunkeler | 2024-03-06 | 1 | -0/+1 | |
| | ||||||
* | Store rendered Dockerfile template in the docker build directory | Joseph Hunkeler | 2024-03-06 | 3 | -3/+3 | |
| | ||||||
* | Remove pointless ARGs | Joseph Hunkeler | 2024-03-06 | 3 | -18/+3 | |
| | | | | * CONDA_VERSION and CONDA_BUILD_VERSION are never used in a meaningful way | |||||
* | docker_save function will pipe output of "docker save" to a compression ↵ | Joseph Hunkeler | 2024-03-06 | 2 | -3/+26 | |
| | | | | program if requested |