aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* guard_free() all pointersJoseph Hunkeler2023-12-101-5/+4
|
* Use OMC_DIRSTACK_MAX instead of magic numbersJoseph Hunkeler2023-12-101-1/+1
|
* Add isempty_dir() functionJoseph Hunkeler2023-12-101-0/+19
|
* Add path_dirname() functionJoseph Hunkeler2023-12-101-0/+22
|
* guard_free() all pointersJoseph Hunkeler2023-12-101-3/+3
|
* guard_free() all pointersJoseph Hunkeler2023-12-101-13/+13
|
* guard_free() all pointersJoseph Hunkeler2023-12-101-1/+1
|
* guard_free() all pointersJoseph Hunkeler2023-12-101-14/+11
|
* Remove trailing whitespace from key nameJoseph Hunkeler2023-12-101-2/+4
|
* Fix segfault when section is not presentJoseph Hunkeler2023-12-101-0/+4
|
* Fix segfault on invalid section nameJoseph Hunkeler2023-12-101-0/+7
|
* guard_free() all pointersJoseph Hunkeler2023-12-101-5/+5
|
* Add user-agent to downloaderJoseph Hunkeler2023-12-101-2/+6
| | | | * Fix invalid type passed to CURLOPT_FOLLOWLOCATION
* Too many changes to countJoseph Hunkeler2023-12-101-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 macrosJoseph Hunkeler2023-12-101-0/+3
|
* getter_required will not consume empty stringsJoseph Hunkeler2023-12-101-1/+2
|
* Use PATH_MAX instead of magic numbersJoseph Hunkeler2023-12-101-4/+4
|
* Install conda and pip packagesJoseph Hunkeler2023-12-101-9/+48
|
* Add function conda_check_required()Joseph Hunkeler2023-12-101-0/+37
| | | | * First pass. Needs work.
* Set solver to libmamba by defaultJoseph Hunkeler2023-12-101-0/+1
|
* Set conda to quiet mode when verbosity is not toggledJoseph Hunkeler2023-12-101-1/+7
|
* Use "env" program instead of "printenv" shell built-in to read environmentJoseph Hunkeler2023-12-101-1/+1
|
* Add JFrog CLI integrationJoseph Hunkeler2023-12-101-0/+1
|
* Add JFrog CLI integrationJoseph Hunkeler2023-12-101-0/+394
|
* Read base packages from global config fileJoseph Hunkeler2023-11-211-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 Hunkeler2023-11-211-3/+3
| | | | only when a variable is being read
* Wow. Typo hell.Joseph Hunkeler2023-11-201-2/+2
|
* Emit error information when the temporary directory cannot be used.Joseph Hunkeler2023-11-201-18/+40
|
* Do not produce an error if a path element exists during creationJoseph Hunkeler2023-11-201-0/+5
|
* Use TMPDIR, and fail when script cannot be executed within that filesystemJoseph Hunkeler2023-11-205-6/+64
|
* ImprovementsJoseph Hunkeler2023-11-201-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 insteadJoseph Hunkeler2023-11-201-3/+3
| | | | * Also removed redundant __environ symbol
* Fixes:Joseph Hunkeler2023-11-201-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 Hunkeler2023-11-201-8/+36
|
* Fix warnings and add xmkstempJoseph Hunkeler2023-11-201-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 variablesJoseph Hunkeler2023-11-201-4/+0
|
* Prevent lstrip() will remove leading whitespace and new lines, but NOT if ↵Joseph Hunkeler2023-11-201-3/+8
| | | | | | the line consists of one whitepace or new line character * Document strsort()
* Reduce stack usage for archsuffix variableJoseph Hunkeler2023-11-201-3/+3
| | | | * Add spaces to banner
* Replace mkdir() calls with mkdirs() (from copy.h)Joseph Hunkeler2023-11-201-10/+7
|
* Add copy.cJoseph Hunkeler2023-11-201-0/+1
|
* Use globalsJoseph Hunkeler2023-11-202-0/+13
| | | | | | * continue_on_error set by omc config * always_update_base_environment set by omc config * Passing OMC_MSG_RESTRICT flag to msg() will print only in verbose mode
* Implements slightly improved error handlingJoseph Hunkeler2023-11-205-84/+209
| | | | | | | * Return status from conda_ and delivery_ functions * Caller prints meaningful error, and handles it * Enable warnings during compilation * Squelch format-truncation warning -- those strings are extremely unlikely to overflow (famous last words)
* Implements getopt argument parsingJoseph Hunkeler2023-11-201-3/+132
| | | | | | * Initial SPM_GLOBAL structure * Allow override of target python version * Add usage statement generator
* Add copy.c, copy.hJoseph Hunkeler2023-11-201-0/+191
| | | | | | * copytree() * mkdirs() * copy2()
* RebrandingJoseph Hunkeler2023-11-201-1/+1
|
* Replaces BUFSIZ with OMC_BUFSIZJoseph Hunkeler2023-11-206-15/+15
|
* Rebrand for the last timeJoseph Hunkeler2023-11-204-6/+9
| | | | | * Shorten OHMYCAL to OMC * Rename ohmycal.h to omc.h
* Rebrand SPM to OHMYCALJoseph Hunkeler2023-11-031-4/+4
|
* Add commentsJoseph Hunkeler2023-11-031-105/+27
|
* Remove debug shell callJoseph Hunkeler2023-10-311-8/+2
|