Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rewriting the specfile is now a two stage process | Joseph Hunkeler | 2024-04-10 | 1 | -80/+68 |
| | | | | | * 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 | 2 | -15/+21 |
| | |||||
* | Add docker_sanitize_tag() | Joseph Hunkeler | 2024-04-10 | 2 | -3/+17 |
| | | | | * Replace invalid docker tag characters with dash ('-') | ||||
* | Bug: Fix docker build flag assignments | Joseph Hunkeler | 2024-04-10 | 1 | -2/+2 |
| | |||||
* | Free components list | Joseph Hunkeler | 2024-04-10 | 1 | -0/+1 |
| | |||||
* | Write conda installer to a temporary location instead of the current working ↵ | Joseph Hunkeler | 2024-04-10 | 2 | -21/+47 |
| | | | | | | directory * Replaces function argument "delivery" with "ctx" for better consistency | ||||
* | Increase buffer size to match input argument sizes | Joseph Hunkeler | 2024-04-10 | 2 | -1/+2 |
| | |||||
* | xmkstemp falls back to /tmp when globals are not yet initialized | Joseph Hunkeler | 2024-04-10 | 1 | -3/+12 |
| | | | | * Increase t_name buffer size to match input argument sizes | ||||
* | Remove unused variable | Joseph Hunkeler | 2024-04-02 | 1 | -1/+0 |
| | |||||
* | Process deferred package buids prior to populating the release environment. | Joseph Hunkeler | 2024-04-02 | 1 | -16/+13 |
| | |||||
* | Filter disabled requirements from list | Joseph Hunkeler | 2024-04-02 | 1 | -0/+14 |
| | | | | * Temporary bandage. This needs to be its own function, and with real comment detection. | ||||
* | Remove unused code | Joseph Hunkeler | 2024-04-02 | 1 | -4/+1 |
| | |||||
* | Fix segfault in delivery docker | Joseph Hunkeler | 2024-04-02 | 1 | -2/+27 |
| | | | | | * Generate docker tags if no tags are defined by the user * Only use a registry if one is defined by the user | ||||
* | Zero stack variables | Joseph Hunkeler | 2024-04-02 | 1 | -0/+3 |
| | |||||
* | Refactor delivery_rewrite_spec() | Joseph Hunkeler | 2024-04-02 | 1 | -37/+30 |
| | |||||
* | When a wheel doesn't exist at the destination directory, move it there. ↵ | Joseph Hunkeler | 2024-04-02 | 1 | -1/+6 |
| | | | | Otherwise, overwrite it with latest build | ||||
* | Apply necessary changes to file_replace_text calls | Joseph Hunkeler | 2024-04-02 | 1 | -7/+8 |
| | |||||
* | Reenable installation via local wheels | Joseph Hunkeler | 2024-04-02 | 1 | -27/+33 |
| | |||||
* | Reset HOME to point to a temporary directory to prevent contaminating the ↵ | Joseph Hunkeler | 2024-04-02 | 1 | -0/+7 |
| | | | | user account's home directory with build artifacts, caches, and other artifacts | ||||
* | Addresses undesired effect when based_on is in use. | Joseph Hunkeler | 2024-04-02 | 1 | -1/+6 |
| | |||||
* | Move system.{arch,platform} template registrations into delivery_init_platform() | Joseph Hunkeler | 2024-04-02 | 2 | -2/+6 |
| | |||||
* | Use new COE_CHECK_ABORT | Joseph Hunkeler | 2024-04-02 | 2 | -5/+7 |
| | |||||
* | Fix an unintended offset shift in closing brace detection | Joseph Hunkeler | 2024-04-02 | 1 | -1/+1 |
| | |||||
* | Add REPLACE_TRUNCATE_AFTER_MATCH mode to replace_text | Joseph Hunkeler | 2024-04-02 | 1 | -3/+11 |
| | |||||
* | Disable conda's sanity checks. (i.e. don't verify every transaction) | Joseph Hunkeler | 2024-04-02 | 1 | -5/+6 |
| | |||||
* | More strlist operations | Joseph Hunkeler | 2024-04-02 | 2 | -12/+13 |
| | |||||
* | strlist_free calls | Joseph Hunkeler | 2024-04-02 | 1 | -2/+2 |
| | |||||
* | Changes to strlist_*() functions: | Joseph Hunkeler | 2024-04-02 | 4 | -56/+68 |
| | | | | | 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 | 2 | -8/+21 |
| | | | | | | * 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 | -30/+76 |
| | | | | | * Now return an error code * Completely rewrote replace_text() | ||||
* | Lock output behind DEBUG define | Joseph Hunkeler | 2024-04-02 | 2 | -1/+14 |
| | |||||
* | Remove nonsense code | Joseph Hunkeler | 2024-03-25 | 1 | -2/+1 |
| | | | | * Kill dangling pointer | ||||
* | Close handle | Joseph Hunkeler | 2024-03-25 | 1 | -0/+1 |
| | |||||
* | Add error handler for system.platform | Joseph Hunkeler | 2024-03-24 | 1 | -1/+5 |
| | |||||
* | Move deliver_init_tmpdir() next to path_store() call to clarify what is ↵ | Joseph Hunkeler | 2024-03-24 | 1 | -8/+9 |
| | | | | happening to tmpdir | ||||
* | Fix up section->data realloc | Joseph Hunkeler | 2024-03-24 | 1 | -4/+17 |
| | | | | * Add error handling | ||||
* | Fix condition that ruined sptr. | Joseph Hunkeler | 2024-03-24 | 1 | -6/+8 |
| | | | | * Pass temporary pointer to strsep | ||||
* | Comment branch | Joseph Hunkeler | 2024-03-24 | 1 | -2/+2 |
| | |||||
* | Short-circuit on zero-length str argument | Joseph Hunkeler | 2024-03-24 | 1 | -0/+2 |
| | |||||
* | Fix realloc error handling | Joseph Hunkeler | 2024-03-24 | 1 | -1/+2 |
| | |||||
* | Fix up result [de]allocation in fix_tox_conf | Joseph Hunkeler | 2024-03-24 | 1 | -4/+4 |
| | |||||
* | Error messages | Joseph Hunkeler | 2024-03-22 | 2 | -6/+4 |
| | |||||
* | Use array notation instead of pure pointers | Joseph Hunkeler | 2024-03-22 | 1 | -13/+16 |
| | | | | | * The compiler was convinced pos could be NULL but I found no such issue in the code. * Accessing by index satisfies whatever GCC thinks was happening here. | ||||
* | Fix bad realloc | Joseph Hunkeler | 2024-03-22 | 1 | -1/+9 |
| | | | | * Tests temporary pointer instead of blindly replacing the original | ||||
* | Consolidate pointer assignment to if-statement | Joseph Hunkeler | 2024-03-22 | 2 | -6/+3 |
| | | | | * Easier to see what's happening. Nothing more. | ||||
* | Replace free() with guard_* macros | Joseph Hunkeler | 2024-03-22 | 3 | -6/+10 |
| | |||||
* | Remove unused pointer | Joseph Hunkeler | 2024-03-22 | 1 | -5/+0 |
| | |||||
* | Fix realloc error handling | Joseph Hunkeler | 2024-03-22 | 1 | -1/+2 |
| | |||||
* | Bugfix in split() | Joseph Hunkeler | 2024-03-22 | 1 | -4/+0 |
| | | | | * On error sptr is not longer indirectly free'd. | ||||
* | Duplicate keys and values instead of copying their pointers. | Joseph Hunkeler | 2024-03-22 | 1 | -15/+31 |
| | | | | * ini_open uses the stack instead of malloc |