aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Unindent script_setupunindent-scriptsJoseph Hunkeler2024-11-221-0/+1
|
* Unindent scriptJoseph Hunkeler2024-11-221-0/+3
|
* Add basic unindent functionJoseph Hunkeler2024-11-222-0/+27
|
* Merge pull request #71 from jhunkeler/extra-specJoseph Hunkeler2024-11-201-6/+13
|\ | | | | pip_packages now accepts name[extra1,extra2]==version strings
| * pip_packages now accepts name[extra1,extra2]==version stringsextra-specJoseph Hunkeler2024-11-201-6/+13
|/
* Merge pull request #68 from ↵Joseph Hunkeler2024-11-141-1/+1
|\ | | | | | | | | spacetelescope/dependabot/github_actions/dot-github/workflows/actions-5f967e2fbc Bump actions/checkout from 4.2.1 to 4.2.2 in /.github/workflows in the actions group
| * Bump actions/checkout in /.github/workflows in the actions groupdependabot[bot]2024-11-141-1/+1
|/ | | | | | | | | | | | | | | | | | | Bumps the actions group in /.github/workflows with 1 update: [actions/checkout](https://github.com/actions/checkout). Updates `actions/checkout` from 4.2.1 to 4.2.2 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871...11bd71901bbe5b1630ceea73d27597364c9af683) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions ... Signed-off-by: dependabot[bot] <support@github.com>
* Merge pull request #69 from jhunkeler/workaround-shebang-nightmareJoseph Hunkeler2024-11-1410-83/+188
|\ | | | | Workaround for shebang nightmare
| * Attempt conda environment removal only when its present on-diskworkaround-shebang-nightmareJoseph Hunkeler2024-11-133-2/+10
| |
| * Rename path_manip() to env_manipulate_pathstr()Joseph Hunkeler2024-11-133-14/+16
| | | | | | | | * Add key argument to generalize the function
| * Use shortened YAML configJoseph Hunkeler2024-11-131-1/+1
| |
| * When conda's prefix is too long, die.Joseph Hunkeler2024-11-131-8/+24
| |
| * Shorten workspace names and pathsJoseph Hunkeler2024-11-134-3/+3
| |
| * 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-122-0/+56
| |
| * 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
| |
| * Use built in method for "if file size is greater than zero" checkJoseph Hunkeler2024-11-111-1/+1
| |
| * Change PREFIX to INSTALL_DIRJoseph Hunkeler2024-11-111-5/+5
| | | | | | | | * Conda uses PREFIX (or can use it) so it's better to avoid overriding it.
| * 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-112-2/+0
|/ | | | * This package only exists for python<=3.11 and is considered optional by conda-build.
* Merge pull request #67 from jhunkeler/safety-and-convenienceJoseph Hunkeler2024-11-0641-335/+343
|\ | | | | Safety and convenience
| * 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
| |
| * Squelch shell's pushd/popd commandsJoseph Hunkeler2024-11-021-0/+8
| |
| * 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-024-9/+38
| | | | | | | | | | | | | | | | * 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-0130-220/+141
| |
| * Add missing parameters to docstringsJoseph Hunkeler2024-11-011-0/+3
| |
| * Support automatic workspace setup/teardownJoseph Hunkeler2024-11-011-7/+87
| | | | | | | | * inline the code (its a header library)
| * Change mock delivery name to be more uniqueJoseph Hunkeler2024-11-011-1/+1
| |
| * Change default RT workspace directory pathJoseph Hunkeler2024-11-011-1/+1
| |
| * Tests: Force the removal of podman containersJoseph Hunkeler2024-11-011-1/+11
| |
| * Fix SYSERROR macroJoseph Hunkeler2024-11-011-1/+1
| | | | | | | | * "info" was always printed instead of the errno string. Now it prints the error and returns "info" on "Success"
| * Replace initialize character arrays using {0} instead of memsetJoseph Hunkeler2024-11-0115-78/+41
|/
* Merge pull request #66 from jhunkeler/order-mattersJoseph Hunkeler2024-10-312-4/+2
|\ | | | | BUG: Order matters
| * Remote PATH= definition in commandorder-mattersJoseph Hunkeler2024-10-311-3/+1
| | | | | | | | * check_pathvar was the culprit
| * Move check_pathvarJoseph Hunkeler2024-10-311-1/+1
|/ | | | * This needed to be one line up, otherwise the next function would not be able to import conda
* Merge pull request #65 from jhunkeler/more-rtJoseph Hunkeler2024-10-3013-115/+514
|\ | | | | More RT
| * Update _test_boilerplate.cmore-rtJoseph Hunkeler2024-10-301-2/+10
| |
| * Add tests/README.mdJoseph Hunkeler2024-10-301-0/+48
| |
| * Add RT boilerplateJoseph Hunkeler2024-10-301-0/+27
| |