aboutsummaryrefslogtreecommitdiff
path: root/src/deliverable.c
Commit message (Collapse)AuthorAgeFilesLines
* Rebrand OhMyCal (OMC) as STASIS (#7)Joseph Hunkeler2024-06-211-2100/+0
|
* Print directory structure as an ascii tree in verbose modeJoseph Hunkeler2024-05-161-0/+6
|
* Prevent leak if delivery_init_tmpdir() is called more than onceJoseph Hunkeler2024-05-031-1/+4
|
* Add delivery_dump_metadata()Joseph Hunkeler2024-05-021-0/+44
|
* Move listdir to utils.c and export prototypeJoseph Hunkeler2024-05-021-21/+0
|
* Validate all deploy:artifactory sections. Previous behavior was incorrect.Joseph Hunkeler2024-04-151-3/+6
|
* Improve ini_getval_required exit messageJoseph Hunkeler2024-04-151-1/+1
|
* Increase path size to squelch compiler warningsJoseph Hunkeler2024-04-151-2/+2
|
* Bug fixJoseph Hunkeler2024-04-151-0/+3
| | | | * Do not process cfg if no config was passed to the program.
* Bug fixJoseph Hunkeler2024-04-151-0/+1
| | | | * Zero the local data structure
* Due to how configuration data is bootstrapped we must free the release_name ↵Joseph Hunkeler2024-04-151-5/+10
| | | | and build_* variables, so they can be regenerated a second time.
* When -p/--python argument is used, replace the value of meta:python to match ↵Joseph Hunkeler2024-04-151-0/+2
| | | | the requested version
* Make meta:mission a required section key pairJoseph Hunkeler2024-04-151-1/+1
|
* Add validate_delivery_ini() helper functionJoseph Hunkeler2024-04-151-0/+46
| | | | | * Checks the delivery INI sections and keys. * Exit program on error
* Remove TODOs (post-moving these somewhere else)Joseph Hunkeler2024-04-151-2/+0
|
* Add ini_has_key_required() helper functionJoseph Hunkeler2024-04-151-0/+8
|
* Removes environ define from source file. See os_darwin.hJoseph Hunkeler2024-04-151-4/+0
|
* Apply download() error detectionJoseph Hunkeler2024-04-151-1/+2
|
* Empty lineJoseph Hunkeler2024-04-121-1/+0
|
* Avoid building docker images when no Dockerfile is presentJoseph Hunkeler2024-04-121-3/+5
|
* Save raw and rendered versions of the input configuration.Joseph Hunkeler2024-04-121-0/+2
|
* Dereference the platform stringJoseph Hunkeler2024-04-121-2/+3
|
* Allow filtering of tags from repositories during build/test phaseJoseph Hunkeler2024-04-121-0/+44
| | | | | * The version requested and the tag resolved by git describe may be different if the project's maintainer tagged a commit object more than once. * If version 1.2.3 and 1.2.3a fall on the same commit, one can now filter the "a" to ensure the tag is reported correctly during build/test.
* Bootstrap delivery contextJoseph Hunkeler2024-04-121-2/+19
| | | | | | * Gives access to build information before directory creation * Better control over where data ends up * Decreases complexity related to uploading artifacts from a delivery tree
* Free directory pointerJoseph Hunkeler2024-04-121-0/+1
|
* Ignore request to initialize mission data if it's already thereJoseph Hunkeler2024-04-121-0/+4
|
* Only initialize the time, release name, and deferred package arrays if requiredJoseph Hunkeler2024-04-121-14/+12
|
* Only initialize the release name, and deferred package arrays if requiredJoseph Hunkeler2024-04-121-9/+17
|
* Protect INIFILEs from clobberingJoseph Hunkeler2024-04-121-3/+9
|
* conv_{str,str_noexpand}() attempt to free the destination before writing dataJoseph Hunkeler2024-04-121-0/+6
| | | | * Avoids memory leaks when updating destination with a repeated call
* Disable git output paginationJoseph Hunkeler2024-04-101-0/+3
|
* Setting the XDG_DATA_HOME won't work. Podman stores container files as root ↵Joseph Hunkeler2024-04-101-4/+0
| | | | at this location and can't be purged by the user without making a dangerous call or two. Again, the user can set HOME on their own accord.
* Remove HOME redirectionJoseph Hunkeler2024-04-101-5/+0
| | | | * If the user wants that, they need to reassign HOME manually prior to executing OMC
* Fix docker build errorJoseph Hunkeler2024-04-101-5/+9
| | | | * Inject template string into spec only when the delivery requires it. Otherwise, conda's JSON files, or the pypi index will be missing, or invalid.
* The default tag should use the build number as the version, not the full ↵Joseph Hunkeler2024-04-101-1/+1
| | | | build name
* Use rsync to copy artifacts to the docker build directoryJoseph Hunkeler2024-04-101-0/+20
|
* A conda package version will be the repository tag resolved by git describe, ↵Joseph Hunkeler2024-04-101-1/+1
| | | | or to the extact version requested by a [test: block if that's not possible.
* fixme: tag variableJoseph Hunkeler2024-04-101-0/+1
|
* Stop duplicating the jfrog authentication context for each upload context.Joseph Hunkeler2024-04-101-16/+17
| | | | | | * We only need one * RAM isn't peppered with auth data * The artifactory URL has been consolidated and exposed as a template variable: deploy.jfrog.url
* * Refactor delivery_index_wheel_artifacts to generate a dumb pypi indexJoseph Hunkeler2024-04-101-20/+68
| | | | * Injects --extra-index-url into deferred package installation command
* Fix new context nameJoseph Hunkeler2024-04-101-1/+1
|
* requirement_from_test() helper returns a pointer to a Test structureJoseph Hunkeler2024-04-101-59/+11
| | | | * Reduces complexity
* Move build/ directory creation into delivery_init_dirs_stage2Joseph Hunkeler2024-04-101-6/+8
|
* Consolidate INIFILE handling across the delivery contextJoseph Hunkeler2024-04-101-90/+71
| | | | * Break delivery_init() into separate populate_* functions
* Consolidate INIFILE handling across the delivery contextJoseph Hunkeler2024-04-101-13/+93
| | | | * Break delivery_init() into separate populate_* functions
* Rewriting the specfile is now a two stage processJoseph Hunkeler2024-04-101-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 Hunkeler2024-04-101-15/+4
|
* Add docker_sanitize_tag()Joseph Hunkeler2024-04-101-3/+5
| | | | * Replace invalid docker tag characters with dash ('-')
* Write conda installer to a temporary location instead of the current working ↵Joseph Hunkeler2024-04-101-17/+43
| | | | | | directory * Replaces function argument "delivery" with "ctx" for better consistency
* Increase buffer size to match input argument sizesJoseph Hunkeler2024-04-101-0/+1
|