diff options
| author | Joseph Hunkeler <jhunkeler@users.noreply.github.com> | 2026-06-18 14:05:46 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-18 14:05:46 -0400 |
| commit | e2008513b5fb4ae71d87ca6d05bdab5f3cb3a53f (patch) | |
| tree | 46faf70adbcbe727f6f74f07f387f8330ee390ab /src/lib/delivery | |
| parent | 252b9646c1cb0538123d51ced4a733f3dcfc266b (diff) | |
| download | stasis-e2008513b5fb4ae71d87ca6d05bdab5f3cb3a53f.tar.gz | |
* Update micromamba installation logic
* Split installation from micromamba() into micromamba_install()
* Return -1 when micromamba cannot be installed
* Add stasis.ini option "indexer.micromamba_download_url"
* Add global variable micromamba_download_url
* The installation function attempts two known-good URLs by default
*
* Add indexer arugment '--micromamba-download-url'
* Add is_file_compressed() function to utils
* Call micromamba_install() from tests
* Add space in usage statement
* Fix usage output when option array contains arguments without short options
* Add --micromamba-download-url to README.md
Diffstat (limited to 'src/lib/delivery')
| -rw-r--r-- | src/lib/delivery/delivery_populate.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/delivery/delivery_populate.c b/src/lib/delivery/delivery_populate.c index cfa3da2..5ce11d7 100644 --- a/src/lib/delivery/delivery_populate.c +++ b/src/lib/delivery/delivery_populate.c @@ -99,6 +99,11 @@ int populate_delivery_cfg(struct Delivery *ctx, int render_mode) { } err = 0; + if (!globals.micromamba_download_url) { + globals.micromamba_download_url = ini_getval_str(cfg, "indexer", "micromamba_download_url", render_mode, &err); + } + + err = 0; if (!globals.wheel_builder_manylinux_image) { globals.wheel_builder_manylinux_image = ini_getval_str(cfg, "default", "wheel_builder_manylinux_image", render_mode, &err); } |
