Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Replace initialize character arrays using {0} instead of memset | Joseph Hunkeler | 2024-11-01 | 15 | -78/+41 | |
| | ||||||
* | Remote PATH= definition in commandorder-matters | Joseph Hunkeler | 2024-10-31 | 1 | -3/+1 | |
| | | | | * check_pathvar was the culprit | |||||
* | Move check_pathvar | Joseph Hunkeler | 2024-10-31 | 1 | -1/+1 | |
| | | | | * This needed to be one line up, otherwise the next function would not be able to import conda | |||||
* | Workaround for latest conda regression | Joseph Hunkeler | 2024-10-28 | 1 | -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-provides | Joseph Hunkeler | 2024-10-24 | 1 | -3/+15 | |
| | ||||||
* | Fix regression: | Joseph Hunkeler | 2024-10-24 | 1 | -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 Hunkeler | 2024-10-24 | 2 | -2/+2 | |
| | | | | * From (char *) to (void) | |||||
* | Move fd initializer down | Joseph Hunkeler | 2024-10-24 | 1 | -2/+2 | |
| | ||||||
* | Generalize *_index_provides interface | Joseph Hunkeler | 2024-10-24 | 2 | -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 Hunkeler | 2024-10-22 | 1 | -1/+7 | |
| | | | | executed and the pool is killed | |||||
* | Add MP_POOL_TASK_STATUS_INITIAL | Joseph Hunkeler | 2024-10-22 | 1 | -2/+2 | |
| | | | | * Better than putting -1 everywhere | |||||
* | Bug fix: | Joseph Hunkeler | 2024-10-21 | 1 | -1/+1 | |
| | | | | * XDG_CACHE_HOME is now pointing to cache_local instead of TMPDIR | |||||
* | Change signature: | Joseph Hunkeler | 2024-10-21 | 2 | -12/+19 | |
| | | | | * delivery_gather_tool_versions now returns non-zero if unable to determine a tool's version | |||||
* | Update conda_provides: | Joseph Hunkeler | 2024-10-21 | 1 | -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_provides | Joseph Hunkeler | 2024-10-21 | 1 | -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-world | Joseph Hunkeler | 2024-10-14 | 11 | -260/+370 | |
| | ||||||
* | Refactor directory structure | Joseph Hunkeler | 2024-10-14 | 41 | -54/+70 | |
| | | | | | * Move core library sources into src/lib/core * Move command-line programs into src/cli | |||||
* | Don't run serial tasks in parallelits-backwards | Joseph Hunkeler | 2024-10-10 | 1 | -1/+1 | |
| | ||||||
* | Fix accidental combination of strlen and another strlenleaks-and-squeaks | Joseph Hunkeler | 2024-10-09 | 1 | -1/+1 | |
| | ||||||
* | str.c: fix leak | Joseph Hunkeler | 2024-10-09 | 1 | -2/+3 | |
| | ||||||
* | str.c: fix realloc(s) | Joseph Hunkeler | 2024-10-09 | 1 | -1/+1 | |
| | ||||||
* | junitxml.c: fix realloc(s) | Joseph Hunkeler | 2024-10-09 | 1 | -2/+2 | |
| | ||||||
* | ini.c: fix realloc(s) | Joseph Hunkeler | 2024-10-09 | 1 | -8/+8 | |
| | ||||||
* | Consolidate repeated branch conditions | Joseph Hunkeler | 2024-10-09 | 1 | -3/+1 | |
| | ||||||
* | Typo: misson -> mission | Joseph Hunkeler | 2024-10-09 | 1 | -1/+1 | |
| | ||||||
* | Fixes null value when the input path did not existindexer-fixups | Joseph Hunkeler | 2024-10-09 | 1 | -0/+6 | |
| | ||||||
* | Add static function micromamba_configure() to indexer | Joseph Hunkeler | 2024-10-09 | 1 | -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 extension | Joseph Hunkeler | 2024-10-09 | 1 | -4/+4 | |
| | ||||||
* | Note purpose behind removing the temporary environment file | Joseph Hunkeler | 2024-10-08 | 1 | -0/+1 | |
| | ||||||
* | Do not free mission_base after installation | Joseph Hunkeler | 2024-10-08 | 1 | -1/+0 | |
| | | | | * Because ctx.meta.based_on is replaced by a pointer to mission_base | |||||
* | Not every base environment is a release | Joseph Hunkeler | 2024-10-08 | 1 | -1/+1 | |
| | ||||||
* | Fixes bug found in delivery_overlay_packages_from_env(): | Joseph Hunkeler | 2024-10-08 | 1 | -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 Hunkeler | 2024-10-08 | 1 | -0/+48 | |
| | ||||||
* | pip_index_provides does not need a separate version | Joseph Hunkeler | 2024-10-07 | 1 | -22/+11 | |
| | | | | * To be more aligned with conda_provides, the version spec has been consolidated into one argument | |||||
* | Break down the existence check | Joseph Hunkeler | 2024-10-07 | 1 | -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 spec | Joseph Hunkeler | 2024-10-07 | 1 | -4/+1 | |
| | ||||||
* | Rename ignore_pkg variable to build_for_host because it was plain confusing ↵ | Joseph Hunkeler | 2024-10-07 | 1 | -1/+1 | |
| | | | | to look at it | |||||
* | Fail immediately when an unknown package manager "type" is discovered | Joseph Hunkeler | 2024-10-07 | 1 | -0/+3 | |
| | ||||||
* | Use msg() in delivery_overlay_packages_from_env() | Joseph Hunkeler | 2024-10-07 | 1 | -3/+3 | |
| | ||||||
* | Use isempty to see if we're using based_on | Joseph Hunkeler | 2024-10-04 | 1 | -2/+2 | |
| | ||||||
* | Add function delivery_overlay_packages_from_env() | Joseph Hunkeler | 2024-10-04 | 1 | -0/+95 | |
| | | | | * Add helper function have_spec_in_config() | |||||
* | Initialize result | Joseph Hunkeler | 2024-10-04 | 1 | -3/+1 | |
| | ||||||
* | Use strcmp instead of strstr | Joseph Hunkeler | 2024-10-04 | 1 | -1/+1 | |
| | ||||||
* | Implement delivery_overylay_packages_from_env() | Joseph Hunkeler | 2024-10-04 | 1 | -0/+7 | |
| | ||||||
* | Fix release environment removal message | Joseph Hunkeler | 2024-10-04 | 1 | -4/+6 | |
| | | | | | * Fix testing environment removal message * Fix tool installation error message | |||||
* | Use nametmp instead of test->name (i.e. name) | Joseph Hunkeler | 2024-10-04 | 1 | -12/+8 | |
| | ||||||
* | Record the package name in a separate variable | Joseph Hunkeler | 2024-10-04 | 1 | -1/+7 | |
| | ||||||
* | Do not truncate test->name | Joseph Hunkeler | 2024-10-04 | 1 | -1/+0 | |
| | ||||||
* | Change requirement_from_test helper to be variable, not constrequirement_from_test-type | Joseph Hunkeler | 2024-10-04 | 1 | -2/+2 | |
| | | | | * Other functions need to edit the test block values | |||||
* | Add find_version_spec() to utilsadd-get-version-spec | Joseph Hunkeler | 2024-10-04 | 1 | -0/+3 | |
| |