aboutsummaryrefslogtreecommitdiff
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* | git_clone return NULL on checkout errorJoseph Hunkeler2024-12-161-1/+1
|/
* Initialize authentication contextJoseph Hunkeler2024-12-111-0/+5
| | | | * Argument generator may fail otherwise
* Quote destination pathJoseph Hunkeler2024-12-111-1/+1
|
* Restructure projectdelivery-libJoseph Hunkeler2024-12-1129-5/+3024
| | | | | | * Move headers to relevant include directories within the target tree(s) * Adjust doxygen configuration to search correct paths * Adjust CMake configuration to use new include paths
* Move delivery_*.c sources into their own libraryJoseph Hunkeler2024-12-0814-12/+18
|
* Fix listdir()Joseph Hunkeler2024-12-061-3/+9
| | | | | * Now returns the absolute path(s) to the file(s) * Remove restriction on reading hidden files
* Fix segfault in join_exJoseph Hunkeler2024-12-061-17/+15
| | | | | * Calculate the number of function arguments with va_copy() * Remove realloc() usage. No point.
* Add ability to use artifactory without uploading any artifacts at the end.Joseph Hunkeler2024-12-031-0/+1
| | | | | | * New option: --no-artifactory-upload * Implies --no-artifactory-build-info * Updated README.md
* delivery_exists() returns DELIVERY_NOT_FOUND by defaultJoseph Hunkeler2024-12-031-12/+12
|
* Simplify delivery_exists() functionJoseph Hunkeler2024-12-031-11/+13
| | | | * Returns DELIVERY_[NOT_]FOUND, or -1 on error
* Fix error message wordingJoseph Hunkeler2024-12-031-1/+1
|
* Add DELIVERY_[NOT_]FOUND definesJoseph Hunkeler2024-12-031-0/+17
| | | | * Add delivery_series_sync function to download previously delivered files from artifactory
* Unindent script_setupJoseph Hunkeler2024-12-031-0/+1
|
* Unindent scriptJoseph Hunkeler2024-12-031-0/+3
|
* Add basic unindent functionJoseph Hunkeler2024-12-031-0/+25
|
* pip_packages now accepts name[extra1,extra2]==version stringsJoseph Hunkeler2024-12-031-6/+13
|
* Break down indexer into independent source filesJoseph Hunkeler2024-11-181-0/+10
| | | | | * Generate test result output * Add helper function to manage changing file extensions
* Attempt conda environment removal only when its present on-diskworkaround-shebang-nightmareJoseph Hunkeler2024-11-131-0/+6
|
* Rename path_manip() to env_manipulate_pathstr()Joseph Hunkeler2024-11-132-8/+7
| | | | * Add key argument to generalize the function
* Remove unused file streamJoseph Hunkeler2024-11-121-1/+0
|
* Move 'env -0' translation routine out of conda_activateJoseph Hunkeler2024-11-121-39/+44
| | | | * Add static env0_to_runtime function
* Export the functions correctly?Joseph Hunkeler2024-11-121-1/+1
|
* Export the functions?Joseph Hunkeler2024-11-121-0/+2
|
* Use path_manip functionJoseph Hunkeler2024-11-121-10/+18
| | | | * Add conda_prepend_condabin helper
* Add path_manip functionJoseph Hunkeler2024-11-121-0/+43
|
* Add source mamba.sh before redefining the functionJoseph Hunkeler2024-11-121-1/+1
|
* Add __mamba_exe shell function as wellJoseph Hunkeler2024-11-111-0/+5
|
* Again with the syntax issues on macosJoseph Hunkeler2024-11-111-1/+3
|
* Revert activation procedure, with tweaksJoseph Hunkeler2024-11-111-13/+17
| | | | | | * Convert CONDA_SHLVL to an integer. If this variable is non-zero then deactivate the current environment before activating a new one. * Conda's initialization scripts don't handle shebang lines longer than 127 bytes on Linux. I'm aware they handle it in conda itself, but the "bug" is such that you cannot use conda to reap the benefits of their workaround(s). * This redefines the __conda_exe shell function so that conda is always executed by the base environment's Python interpreter via CONDA_PYTHON_EXE.
* Remove conda-verify requirement entirelyJoseph Hunkeler2024-11-111-1/+0
| | | | * This package only exists for python<=3.11 and is considered optional by conda-build.
* Clarify the conditional SUCCESS/FAIL branching a bitsafety-and-convenienceJoseph Hunkeler2024-11-021-4/+4
|
* Amend counter-only loop statementJoseph Hunkeler2024-11-021-1/+1
|
* Remove unused codeJoseph Hunkeler2024-11-021-2/+0
|
* Add missing doc parameterJoseph Hunkeler2024-11-021-0/+1
|
* Combine initializer with declarationJoseph Hunkeler2024-11-022-8/+5
|
* Return shell() directlyJoseph Hunkeler2024-11-021-3/+1
| | | | * The status variable is redundant
* Bug fixes:Joseph Hunkeler2024-11-021-1/+34
| | | | | | | | * Remove PATH modification from check_pathvar * Rename check_pathvar to check_system_path * Add conda_prepend_bin function to handle PATH modification during activation * Add logic to handle first-run activation, and subsequent calls to change conda environments (otherwise conda clobbers its own shell functions) * Use $CONDA_PYTHON_EXE and $CONDA_EXE to ensure conda comes from the just-installed tree
* Initialize structs to {0} and combine declaration and assignment where possibleJoseph Hunkeler2024-11-0125-193/+114
|
* Replace initialize character arrays using {0} instead of memsetJoseph Hunkeler2024-11-0114-77/+40
|
* Remote PATH= definition in commandorder-mattersJoseph Hunkeler2024-10-311-3/+1
| | | | * check_pathvar was the culprit
* Workaround for latest conda regressionJoseph Hunkeler2024-10-281-1/+3
| | | | | * profile.d/{conda,mamba}.sh don't set PATH so "import conda" and "import mamba" fail when conda is invoked. Fantastic. * Put conda's python interpreter on the PATH before using conda for the first time
* Strip the version spec off of the package name if presentcombine-providesJoseph Hunkeler2024-10-241-3/+15
|
* Fix regression:Joseph Hunkeler2024-10-241-34/+45
| | | | | * Wheels are only built now if they appear in the pip_packages_deferred list. * Strip the version spec off of the package name if present
* Move fd initializer downJoseph Hunkeler2024-10-241-2/+2
|
* Generalize *_index_provides interfaceJoseph Hunkeler2024-10-242-46/+61
| | | | | * Replaces conda_* and pip_* with pkg_index_provides * Because this function can fail in so many ways I've added pkg_index_provides_strerror() and a detection macro PKG_INDEX_PROVIDES_FAILED() to make things easier
* mp_pool_show_summary now prints "HOLD" when queued tasks haven't been ↵Joseph Hunkeler2024-10-221-1/+7
| | | | executed and the pool is killed
* Add MP_POOL_TASK_STATUS_INITIALJoseph Hunkeler2024-10-221-2/+2
| | | | * Better than putting -1 everywhere
* Bug fix:Joseph Hunkeler2024-10-211-1/+1
| | | | * XDG_CACHE_HOME is now pointing to cache_local instead of TMPDIR
* Change signature:Joseph Hunkeler2024-10-211-4/+10
| | | | * delivery_gather_tool_versions now returns non-zero if unable to determine a tool's version
* Update conda_provides:Joseph Hunkeler2024-10-211-2/+11
| | | | | * Avoid false positives by returning early when the spec is empty * Remove --use-index-cache. The remote channel must always be checked (conda is extremely slow to read its own channel data, so expect abnormally long delays on first-run)