From e2008513b5fb4ae71d87ca6d05bdab5f3cb3a53f Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Thu, 18 Jun 2026 14:05:46 -0400 Subject: Micromamba improvement (#148) * 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 --- README.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index e06d0df..76ccf52 100644 --- a/README.md +++ b/README.md @@ -177,13 +177,14 @@ stasis mydelivery.ini ## Indexer Command Line Options -| Long Option | Short Option | Purpose | -|:-------------|:------------:|:----------------------------------------| -| --help | -h | Display this usage statement | -| --destdir | -d | Destination directory | -| --verbose | -v | Increase output verbosity | -| --unbuffered | -U | Disable line buffering | -| --web | -w | Generate HTML indexes (requires pandoc) | +| Long Option | Short Option | Purpose | +|:--------------------------|:------------:|:----------------------------------------| +| --help | -h | Display this usage statement | +| --destdir | -d | Destination directory | +| --verbose | -v | Increase output verbosity | +| --unbuffered | -U | Disable line buffering | +| --web | -w | Generate HTML indexes (requires pandoc) | +| --micromamba-download-url | n/a | Set micromamba download URL | ## Environment variables -- cgit