Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Improve download() | Joseph Hunkeler | 2024-02-06 | 1 | -3/+14 |
| | | | | | * Returns HTTP status code * Emits curl error message to stderr (or to a buffer if the third argument is not NULL) | ||||
* | Consolidate header includes to omc.h | Joseph Hunkeler | 2024-02-06 | 2 | -7/+1 |
| | |||||
* | Fix up mission directory handler | Joseph Hunkeler | 2024-01-31 | 2 | -11/+49 |
| | |||||
* | Restructure rules directory | Joseph Hunkeler | 2024-01-30 | 1 | -0/+5 |
| | |||||
* | Initial commit of template engine code (not hooked up yet) | Joseph Hunkeler | 2024-01-30 | 1 | -0/+190 |
| | |||||
* | * Fix segmentation fault in ini_data_get() when section_name is not found | Joseph Hunkeler | 2024-01-30 | 1 | -25/+25 |
| | | | | | | * Rename ini_section_record() to ini_section_create() * Remove unnecessary trigger from unquote() * Rename long_data to multiline_data to visually clarify what's going on | ||||
* | General improvements | Joseph Hunkeler | 2024-01-30 | 4 | -99/+174 |
| | | | | | | | | | | | * 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 | ||||
* | Use shell() in place of shell2() | Joseph Hunkeler | 2024-01-29 | 1 | -1/+1 |
| | |||||
* | Use shell() in place of shell2() | Joseph Hunkeler | 2024-01-29 | 1 | -2/+2 |
| | | | | * Remove errant semi-colon from macro call | ||||
* | Add config.h.in header template | Joseph Hunkeler | 2024-01-29 | 1 | -0/+4 |
| | |||||
* | Integrate all new features | Joseph Hunkeler | 2023-12-10 | 1 | -119/+34 |
| | | | | * Reduce the complexity of the file a bit | ||||
* | guard_free() all pointers | Joseph Hunkeler | 2023-12-10 | 1 | -5/+4 |
| | |||||
* | Use OMC_DIRSTACK_MAX instead of magic numbers | Joseph Hunkeler | 2023-12-10 | 1 | -1/+1 |
| | |||||
* | Add isempty_dir() function | Joseph Hunkeler | 2023-12-10 | 1 | -0/+19 |
| | |||||
* | Add path_dirname() function | Joseph Hunkeler | 2023-12-10 | 1 | -0/+22 |
| | |||||
* | guard_free() all pointers | Joseph Hunkeler | 2023-12-10 | 1 | -3/+3 |
| | |||||
* | guard_free() all pointers | Joseph Hunkeler | 2023-12-10 | 1 | -13/+13 |
| | |||||
* | guard_free() all pointers | Joseph Hunkeler | 2023-12-10 | 1 | -1/+1 |
| | |||||
* | guard_free() all pointers | Joseph Hunkeler | 2023-12-10 | 1 | -14/+11 |
| | |||||
* | Remove trailing whitespace from key name | Joseph Hunkeler | 2023-12-10 | 1 | -2/+4 |
| | |||||
* | Fix segfault when section is not present | Joseph Hunkeler | 2023-12-10 | 1 | -0/+4 |
| | |||||
* | Fix segfault on invalid section name | Joseph Hunkeler | 2023-12-10 | 1 | -0/+7 |
| | |||||
* | guard_free() all pointers | Joseph Hunkeler | 2023-12-10 | 1 | -5/+5 |
| | |||||
* | Add user-agent to downloader | Joseph Hunkeler | 2023-12-10 | 1 | -2/+6 |
| | | | | * Fix invalid type passed to CURLOPT_FOLLOWLOCATION | ||||
* | Too many changes to count | Joseph Hunkeler | 2023-12-10 | 1 | -75/+393 |
| | | | | | | | | | | | | | | * Artifactory test integration * guard_free() all pointers * Remove semicolons from macro calls * Add conda_fresh_start to delete conda at start up (or not) * Use generated archives from github instead of the raw repository url. For now anyway. * Add delivery_runtime_show() to dump the runtime environment * Fix release output names to include the target architecture. This format will change agan soon. * Prevent bogus delivery definitions from going too far into the build process before encountering a failure. * Detect OS and architecture * Ensure the user's TMPDIR is usable before going too far into the process * Refactor omc output directory names | ||||
* | Add conv_bool and conv_str_stackvar macros | Joseph Hunkeler | 2023-12-10 | 1 | -0/+3 |
| | |||||
* | getter_required will not consume empty strings | Joseph Hunkeler | 2023-12-10 | 1 | -1/+2 |
| | |||||
* | Use PATH_MAX instead of magic numbers | Joseph Hunkeler | 2023-12-10 | 1 | -4/+4 |
| | |||||
* | Install conda and pip packages | Joseph Hunkeler | 2023-12-10 | 1 | -9/+48 |
| | |||||
* | Add function conda_check_required() | Joseph Hunkeler | 2023-12-10 | 1 | -0/+37 |
| | | | | * First pass. Needs work. | ||||
* | Set solver to libmamba by default | Joseph Hunkeler | 2023-12-10 | 1 | -0/+1 |
| | |||||
* | Set conda to quiet mode when verbosity is not toggled | Joseph Hunkeler | 2023-12-10 | 1 | -1/+7 |
| | |||||
* | Use "env" program instead of "printenv" shell built-in to read environment | Joseph Hunkeler | 2023-12-10 | 1 | -1/+1 |
| | |||||
* | Add JFrog CLI integration | Joseph Hunkeler | 2023-12-10 | 1 | -0/+1 |
| | |||||
* | Add JFrog CLI integration | Joseph Hunkeler | 2023-12-10 | 1 | -0/+394 |
| | |||||
* | Read base packages from global config file | Joseph Hunkeler | 2023-11-21 | 1 | -10/+26 |
| | | | | | | * Add conv_strlist_stackvar macro (globals is not a pointer) * Add "conda_packages" and "pip_package" to global config file * Fix unintended use of "conda build". Use "mambabuild". | ||||
* | Bugfix: Test for a comment first, then act accordingly, instead of testing ↵ | Joseph Hunkeler | 2023-11-21 | 1 | -3/+3 |
| | | | | only when a variable is being read | ||||
* | Wow. Typo hell. | Joseph Hunkeler | 2023-11-20 | 1 | -2/+2 |
| | |||||
* | Emit error information when the temporary directory cannot be used. | Joseph Hunkeler | 2023-11-20 | 1 | -18/+40 |
| | |||||
* | Do not produce an error if a path element exists during creation | Joseph Hunkeler | 2023-11-20 | 1 | -0/+5 |
| | |||||
* | Use TMPDIR, and fail when script cannot be executed within that filesystem | Joseph Hunkeler | 2023-11-20 | 5 | -6/+64 |
| | |||||
* | Improvements | Joseph Hunkeler | 2023-11-20 | 1 | -36/+94 |
| | | | | | | | | | | | | | * Added getter_required to ensure variables are set by the user * conv_strlist macro strips input and sets its result to NULL if no data was seen * use snprintf to generate environment names. fix incorrect final string output. * Use better working: "Python Packages" instead of "PyPi Packages" * wheel builder will free list(s) on error (unused) * set CONDARC environment variable to ALWAYS point conda to our custom RC file * delivery_defer_packages() should filter correctly now (variable scoping issue) * moved release file text header to global data * delivery_get_spec_header() renamed to delivery_get_release_header() * delivery_rewrite_spec() removes prefix path from delivery artifact | ||||
* | Fix type for counter. ssize_t was expected, but we were using size_t instead | Joseph Hunkeler | 2023-11-20 | 1 | -3/+3 |
| | | | | * Also removed redundant __environ symbol | ||||
* | Fixes: | Joseph Hunkeler | 2023-11-20 | 1 | -47/+53 |
| | | | | | | | | | * ini_section_record() returns status now * Reading long data variables (multi-line arrays) behaves consistently Refactor: * ini_data_record() is now ini_data_append() | ||||
* | Add shell_output() and use xmkstemp() | Joseph Hunkeler | 2023-11-20 | 1 | -8/+36 |
| | |||||
* | Fix warnings and add xmkstemp | Joseph Hunkeler | 2023-11-20 | 1 | -6/+21 |
| | | | | | | * Reduce stack usage for status variable in msg() * Bugfix: write OMC_COLOR_RESET to the requested stream instead of stdout * Add helper function xmkstemp to avoid clutter when using disposable files | ||||
* | Remove unused variables | Joseph Hunkeler | 2023-11-20 | 1 | -4/+0 |
| | |||||
* | Prevent lstrip() will remove leading whitespace and new lines, but NOT if ↵ | Joseph Hunkeler | 2023-11-20 | 1 | -3/+8 |
| | | | | | | the line consists of one whitepace or new line character * Document strsort() | ||||
* | Reduce stack usage for archsuffix variable | Joseph Hunkeler | 2023-11-20 | 1 | -3/+3 |
| | | | | * Add spaces to banner | ||||
* | Replace mkdir() calls with mkdirs() (from copy.h) | Joseph Hunkeler | 2023-11-20 | 1 | -10/+7 |
| |