aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Change signature of check_pathvar()Joseph Hunkeler2024-10-242-2/+2
| | | | * From (char *) to (void)
* 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-212-12/+19
| | | | * 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)
* Fix pip_index_providesJoseph Hunkeler2024-10-211-1/+1
| | | | | * Always quote the incoming spec to avoid accidental shell redirection * Never use the local cache. We're checking a remote source, so it matters greatly where pip is looking for the package
* Reduce length of stasis_main.crestructure-the-worldJoseph Hunkeler2024-10-1411-260/+370
|
* Refactor directory structureJoseph Hunkeler2024-10-1441-54/+70
| | | | | * Move core library sources into src/lib/core * Move command-line programs into src/cli
* Don't run serial tasks in parallelits-backwardsJoseph Hunkeler2024-10-101-1/+1
|
* Fix accidental combination of strlen and another strlenleaks-and-squeaksJoseph Hunkeler2024-10-091-1/+1
|
* str.c: fix leakJoseph Hunkeler2024-10-091-2/+3
|
* str.c: fix realloc(s)Joseph Hunkeler2024-10-091-1/+1
|
* junitxml.c: fix realloc(s)Joseph Hunkeler2024-10-091-2/+2
|
* ini.c: fix realloc(s)Joseph Hunkeler2024-10-091-8/+8
|
* Consolidate repeated branch conditionsJoseph Hunkeler2024-10-091-3/+1
|
* Typo: misson -> missionJoseph Hunkeler2024-10-091-1/+1
|
* Fixes null value when the input path did not existindexer-fixupsJoseph Hunkeler2024-10-091-0/+6
|
* Add static function micromamba_configure() to indexerJoseph Hunkeler2024-10-091-9/+39
| | | | | * Performing all of the setup tasks within indexer_conda() is very restrictive * The conda environment bin directory is added to the program PATH
* Use gfm in place of markdown extensionJoseph Hunkeler2024-10-091-4/+4
|
* Note purpose behind removing the temporary environment fileJoseph Hunkeler2024-10-081-0/+1
|
* Do not free mission_base after installationJoseph Hunkeler2024-10-081-1/+0
| | | | * Because ctx.meta.based_on is replaced by a pointer to mission_base
* Not every base environment is a releaseJoseph Hunkeler2024-10-081-1/+1
|
* Fixes bug found in delivery_overlay_packages_from_env():Joseph Hunkeler2024-10-081-2/+6
| | | | * When "pip freeze" does not emit any packages we now avoid replacing the context's pip package list with an empty one.
* First pass at implementing dedicated default mission environment(s)Joseph Hunkeler2024-10-081-0/+48
|
* pip_index_provides does not need a separate versionJoseph Hunkeler2024-10-071-22/+11
| | | | * To be more aligned with conda_provides, the version spec has been consolidated into one argument
* Break down the existence checkJoseph Hunkeler2024-10-071-8/+21
| | | | | | * These checks can fail due to external factors, so handle those first * Build the package for the host system the package isn't found in the index/channel * Change EXISTING to EXTERNAL to be more clear. The package exists... externally
* Don't bother extracting the version from the specJoseph Hunkeler2024-10-071-4/+1
|
* Rename ignore_pkg variable to build_for_host because it was plain confusing ↵Joseph Hunkeler2024-10-071-1/+1
| | | | to look at it
* Fail immediately when an unknown package manager "type" is discoveredJoseph Hunkeler2024-10-071-0/+3
|
* Use msg() in delivery_overlay_packages_from_env()Joseph Hunkeler2024-10-071-3/+3
|
* Use isempty to see if we're using based_onJoseph Hunkeler2024-10-041-2/+2
|
* Add function delivery_overlay_packages_from_env()Joseph Hunkeler2024-10-041-0/+95
| | | | * Add helper function have_spec_in_config()
* Initialize resultJoseph Hunkeler2024-10-041-3/+1
|
* Use strcmp instead of strstrJoseph Hunkeler2024-10-041-1/+1
|
* Implement delivery_overylay_packages_from_env()Joseph Hunkeler2024-10-041-0/+7
|
* Fix release environment removal messageJoseph Hunkeler2024-10-041-4/+6
| | | | | * Fix testing environment removal message * Fix tool installation error message
* Use nametmp instead of test->name (i.e. name)Joseph Hunkeler2024-10-041-12/+8
|
* Record the package name in a separate variableJoseph Hunkeler2024-10-041-1/+7
|
* Do not truncate test->nameJoseph Hunkeler2024-10-041-1/+0
|
* Change requirement_from_test helper to be variable, not constrequirement_from_test-typeJoseph Hunkeler2024-10-041-2/+2
| | | | * Other functions need to edit the test block values
* Add find_version_spec() to utilsadd-get-version-specJoseph Hunkeler2024-10-041-0/+3
|
* Implement updated get_wheel_info()Joseph Hunkeler2024-10-041-7/+18
|
* Clean up get_wheel_infoJoseph Hunkeler2024-10-041-3/+51
| | | | | | * Add error handling * Fix resource leaks that occurred on error * Add wheel_free() function
* Merge pull request #50 from jhunkeler/conda-get-active-environmentJoseph Hunkeler2024-10-041-0/+33
|\ | | | | Add conda_get_active_environment() function
| * Add conda_get_active_environment() functionconda-get-active-environmentJoseph Hunkeler2024-10-041-0/+33
| |