aboutsummaryrefslogtreecommitdiff
path: root/src/artifactory.c
Commit message (Collapse)AuthorAgeFilesLines
* Check release (#14)Joseph Hunkeler2024-07-221-24/+69
| | | | | | | | | * Add jfrog_cli_rt_search() and JFRT_Search structure * Ensure authentication arguments are written before a subsystem task's arguments * When artifactory is enabled check if the release is already present. * When artifactory is disabled the check will be made against the local filesystem.
* Rebrand OhMyCal (OMC) as STASIS (#7)Joseph Hunkeler2024-06-211-30/+30
|
* Unit tests (#6)Joseph Hunkeler2024-06-201-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Initial commit of unit tests [WIP] * Address shortcomings and bugs flushed out by unit tests * Enable unit testing in CI workflow * Enable verbose ctests * Handle lack of __FILE_NAME__ define * Only podman support `run --arch` argument * Skip docker build testing if CI system cannot pull an image * Remove errant call to puts() * Identify local repo user * Fix missing xmllint * NULL terminate arrays * Fix filename assignment in is_url mode * Break loop when expected lines are exhausted * strcmp_array expects NULL terminated array. Iterating by size in this case passes NULL to strcmp leading to an invalid read * Remove debug printf statements * Disable a few warnings for tests * Workaround for ctest junit xml truncation * Update checkout@v4 * Prevent false-positive result * Return zero on error * Fix strlist_remove function * Value argument can be constant * Fix test to match changes to startswith and endswith * Add test_ini.c * Fix redaction code to accept NULL pointers in array * And let the caller specify the length of the array of strings to redact. * Redactions now occur directly on authentication strings rather than their command line arguments * Fix BUILD_TESTING_DEBUG * Adds missing -D argument
* The jf x86_64 binary for mac is suffixed by 386.Joseph Hunkeler2024-05-091-2/+6
| | | | * Brilliant.
* Move artifactory authentication redaction code into its own function: ↵Joseph Hunkeler2024-04-151-13/+3
| | | | redact_sensitive()
* Apply download() error detectionJoseph Hunkeler2024-04-151-1/+2
|
* Free pointers to new_src and baseJoseph Hunkeler2024-04-121-0/+4
|
* Free components listJoseph Hunkeler2024-04-101-0/+1
|
* More strlist operationsJoseph Hunkeler2024-04-021-7/+7
|
* Use do/while in guard_* macros to make them behave more like functionsJoseph Hunkeler2024-03-101-7/+7
|
* Prototypes documentationJoseph Hunkeler2024-03-041-1/+54
| | | | | | | 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
* Quote inputs to string argumentJoseph Hunkeler2024-02-181-8/+8
| | | | * Change type of build-number from int to string. RTFM'd.
* Avoid log spam from artifactory pings.Joseph Hunkeler2024-02-121-1/+4
| | | | * Errors are still written to stderr
* Change "regexp" argument from type bool, to stringJoseph Hunkeler2024-02-061-1/+1
|
* Refactor std{out,err} to f_std{out,err}Joseph Hunkeler2024-02-061-2/+2
| | | | * Bare stdout and stderr, even as struct members, tend to conflict with numerous libc implementations.
* Add missing '=' suffix on --client-cert-key-path argumentJoseph Hunkeler2024-02-061-2/+2
|
* Gracefully handle a failure to download a fileJoseph Hunkeler2024-02-061-1/+3
|
* Consolidate header includes to omc.hJoseph Hunkeler2024-02-061-1/+1
|
* Use shell() in place of shell2()Joseph Hunkeler2024-01-291-2/+2
| | | | * Remove errant semi-colon from macro call
* Add JFrog CLI integrationJoseph Hunkeler2023-12-101-0/+394