Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Consolidate OMC_COLOR_ defines | Joseph Hunkeler | 2024-05-21 | 1 | -0/+40 | |
| | ||||||
* | Documentation update | Joseph Hunkeler | 2024-05-20 | 2 | -2/+293 | |
| | ||||||
* | junitxml: add missing "error" type | Joseph Hunkeler | 2024-05-17 | 1 | -18/+49 | |
| | ||||||
* | Documentation | Joseph Hunkeler | 2024-05-16 | 1 | -0/+57 | |
| | ||||||
* | First pass at test result creation, and optional markdown->html conversion | Joseph Hunkeler | 2024-05-16 | 2 | -0/+48 | |
| | ||||||
* | Allow doxygen to ingest header file | Joseph Hunkeler | 2024-05-03 | 1 | -4/+4 | |
| | ||||||
* | Add delivery_dump_metadata() | Joseph Hunkeler | 2024-05-02 | 1 | -0/+3 | |
| | ||||||
* | Move listdir to utils.c and export prototype | Joseph Hunkeler | 2024-05-02 | 1 | -0/+3 | |
| | ||||||
* | Convert ohmycal to a library | Joseph Hunkeler | 2024-05-02 | 1 | -0/+5 | |
| | ||||||
* | Move artifactory authentication redaction code into its own function: ↵ | Joseph Hunkeler | 2024-04-15 | 1 | -0/+43 | |
| | | | | redact_sensitive() | |||||
* | Add ini_has_key() and expose ini_section_search() function | Joseph Hunkeler | 2024-04-15 | 1 | -0/+20 | |
| | | | | * ini_section_search now has three matching modes _EXACT, _BEGINS, and _SUBSTR | |||||
* | Add ini_setval() function | Joseph Hunkeler | 2024-04-15 | 1 | -0/+13 | |
| | ||||||
* | Save raw and rendered versions of the input configuration. | Joseph Hunkeler | 2024-04-12 | 1 | -0/+1 | |
| | ||||||
* | Export bootstrap_build_info() | Joseph Hunkeler | 2024-04-12 | 1 | -0/+3 | |
| | ||||||
* | Allow filtering of tags from repositories during build/test phase | Joseph Hunkeler | 2024-04-12 | 1 | -8/+9 | |
| | | | | | * The version requested and the tag resolved by git describe may be different if the project's maintainer tagged a commit object more than once. * If version 1.2.3 and 1.2.3a fall on the same commit, one can now filter the "a" to ensure the tag is reported correctly during build/test. | |||||
* | Remove HOME redirection | Joseph Hunkeler | 2024-04-10 | 1 | -1/+0 | |
| | | | | * If the user wants that, they need to reassign HOME manually prior to executing OMC | |||||
* | fixme: add artifactory url to globals | Joseph Hunkeler | 2024-04-10 | 1 | -0/+1 | |
| | ||||||
* | Stop duplicating the jfrog authentication context for each upload context. | Joseph Hunkeler | 2024-04-10 | 1 | -1/+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 context | Joseph Hunkeler | 2024-04-10 | 1 | -0/+12 | |
| | | | | * Break delivery_init() into separate populate_* functions | |||||
* | We no longer pass INIFILE pointers to delivery_init() | Joseph Hunkeler | 2024-04-10 | 1 | -1/+1 | |
| | ||||||
* | Rewriting the specfile is now a two stage process | Joseph Hunkeler | 2024-04-10 | 1 | -1/+4 | |
| | | | | | * This allows for generating a template spec file that can consumed and manipulated by the Dockerfile, and OMC's machinery * To reduce complexity the tpl_* functions are not used. | |||||
* | Add docker_validate_image_compression() | Joseph Hunkeler | 2024-04-10 | 1 | -0/+2 | |
| | ||||||
* | Add docker_sanitize_tag() | Joseph Hunkeler | 2024-04-10 | 1 | -0/+1 | |
| | | | | * Replace invalid docker tag characters with dash ('-') | |||||
* | Write conda installer to a temporary location instead of the current working ↵ | Joseph Hunkeler | 2024-04-10 | 1 | -3/+4 | |
| | | | | | | directory * Replaces function argument "delivery" with "ctx" for better consistency | |||||
* | Reenable installation via local wheels | Joseph Hunkeler | 2024-04-02 | 1 | -0/+1 | |
| | ||||||
* | Include wheel.h | Joseph Hunkeler | 2024-04-02 | 1 | -0/+1 | |
| | ||||||
* | Reset HOME to point to a temporary directory to prevent contaminating the ↵ | Joseph Hunkeler | 2024-04-02 | 1 | -0/+1 | |
| | | | | user account's home directory with build artifacts, caches, and other artifacts | |||||
* | Use do-while in COE_CHECK_ABORT. | Joseph Hunkeler | 2024-04-02 | 1 | -6/+7 | |
| | | | | | * continue_on_error is always checked * An additional conditional can be passed. Use `1` to fail normally. Use `0` to never fail. | |||||
* | Add REPLACE_TRUNCATE_AFTER_MATCH mode to replace_text | Joseph Hunkeler | 2024-04-02 | 1 | -2/+4 | |
| | ||||||
* | Adjust guard_strlist_free to match new function signature | Joseph Hunkeler | 2024-04-02 | 1 | -1/+1 | |
| | ||||||
* | Changes to strlist_*() functions: | Joseph Hunkeler | 2024-04-02 | 1 | -3/+3 | |
| | | | | | 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 Hunkeler | 2024-04-02 | 1 | -1/+5 | |
| | | | | | | * 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*() functions | Joseph Hunkeler | 2024-04-02 | 1 | -2/+2 | |
| | | | | | * Now return an error code * Completely rewrote replace_text() | |||||
* | Rebrand to OMC | Joseph Hunkeler | 2024-03-26 | 1 | -3/+3 | |
| | ||||||
* | Dynamically allocate Delivery.system.platform array. | Joseph Hunkeler | 2024-03-22 | 1 | -1/+1 | |
| | | | | * This avoids compiler warnings about passing the address to a stack-allocated chunk of member in tpl_register. | |||||
* | Remove split_free() function | Joseph Hunkeler | 2024-03-22 | 1 | -1/+0 | |
| | ||||||
* | Add GENERIC_ARRAY_FREE macro to avoid code duplications when freeing ↵ | Joseph Hunkeler | 2024-03-22 | 1 | -0/+6 | |
| | | | | character arrays | |||||
* | Make SYSERROR macro act more like perror, and allow extra arguments | Joseph Hunkeler | 2024-03-22 | 1 | -1/+4 | |
| | ||||||
* | Move collapse_whitespace to utils.c / utils.h | Joseph Hunkeler | 2024-03-22 | 1 | -0/+2 | |
| | ||||||
* | Add fix_tox_conf function | Joseph Hunkeler | 2024-03-14 | 2 | -0/+12 | |
| | | | | * 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 Hunkeler | 2024-03-14 | 2 | -0/+14 | |
| | | | | | | | * 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. | |||||
* | Add template functions to store/load function pointers. | Joseph Hunkeler | 2024-03-14 | 1 | -0/+24 | |
| | | | | * Incomplete and unused for now | |||||
* | Replace ini_show with ini_write | Joseph Hunkeler | 2024-03-14 | 1 | -2/+4 | |
| | | | | * One can still display the ini configuration by using ini_show(iniptr, stdout); | |||||
* | Use do/while in guard_* macros to make them behave more like functions | Joseph Hunkeler | 2024-03-10 | 1 | -3/+3 | |
| | ||||||
* | Makes docker builds, artifactory uploads, and testing optional via CLI ↵ | Joseph Hunkeler | 2024-03-08 | 1 | -0/+3 | |
| | | | | | | | arguments. * Remove [DEBUG] from debug summary * Add enable_* states to debug summary | |||||
* | Refactor deployment structure | Joseph Hunkeler | 2024-03-06 | 1 | -14/+18 | |
| | | | | | * 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 | 1 | -0/+2 | |
| | ||||||
* | docker_save function will pipe output of "docker save" to a compression ↵ | Joseph Hunkeler | 2024-03-06 | 1 | -1/+4 | |
| | | | | program if requested | |||||
* | Prototypes documentation | Joseph Hunkeler | 2024-03-04 | 8 | -37/+397 | |
| | | | | | | | Includes minor changes: * Rename jfrt_upload_set_defaults to jfrt_upload_init * Move jfrt_auth_init to artifactory.c * Adds missing error handling to git_describe and git_rev_parse | |||||
* | xmkstemp allow setting file mode | Joseph Hunkeler | 2024-03-04 | 1 | -1/+16 | |
| | | | | * add usage comment function |