aboutsummaryrefslogtreecommitdiff
path: root/include/utils.h
Commit message (Collapse)AuthorAgeFilesLines
* Prototypes documentationJoseph Hunkeler2024-03-041-1/+171
| | | | | | | 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 modeJoseph Hunkeler2024-03-041-1/+16
| | | | * add usage comment function
* Extract git repository informationJoseph Hunkeler2024-02-181-0/+1
| | | | * First pass; this will eventually be used to rewite exact commit refs in YAML delivery files
* Add path_store functionJoseph Hunkeler2024-02-121-0/+1
|
* First pass at OS detectionJoseph Hunkeler2024-02-061-1/+1
|
* Add isempty_dir() prototypeJoseph Hunkeler2023-12-101-0/+1
|
* Fix warnings and add xmkstempJoseph Hunkeler2023-11-201-0/+9
| | | | | | * 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
* Use globalsJoseph Hunkeler2023-11-201-0/+2
| | | | | | * 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
* Rebrand for the last timeJoseph Hunkeler2023-11-201-3/+3
| | | | | * Shorten OHMYCAL to OMC * Rename ohmycal.h to omc.h
* msg() function is now type voidJoseph Hunkeler2023-10-311-1/+5
| | | | * Add debug_shell() function to interactively examine the runtime environment
* Initial commitJoseph Hunkeler2023-10-261-0/+43