Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Unindent script_setupunindent-scripts | Joseph Hunkeler | 2024-11-22 | 1 | -0/+1 |
| | |||||
* | Unindent script | Joseph Hunkeler | 2024-11-22 | 1 | -0/+3 |
| | |||||
* | Add basic unindent function | Joseph Hunkeler | 2024-11-22 | 2 | -0/+27 |
| | |||||
* | Merge pull request #71 from jhunkeler/extra-spec | Joseph Hunkeler | 2024-11-20 | 1 | -6/+13 |
|\ | | | | | pip_packages now accepts name[extra1,extra2]==version strings | ||||
| * | pip_packages now accepts name[extra1,extra2]==version stringsextra-spec | Joseph Hunkeler | 2024-11-20 | 1 | -6/+13 |
|/ | |||||
* | Merge pull request #68 from ↵ | Joseph Hunkeler | 2024-11-14 | 1 | -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 group | dependabot[bot] | 2024-11-14 | 1 | -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-nightmare | Joseph Hunkeler | 2024-11-14 | 10 | -83/+188 |
|\ | | | | | Workaround for shebang nightmare | ||||
| * | Attempt conda environment removal only when its present on-diskworkaround-shebang-nightmare | Joseph Hunkeler | 2024-11-13 | 3 | -2/+10 |
| | | |||||
| * | Rename path_manip() to env_manipulate_pathstr() | Joseph Hunkeler | 2024-11-13 | 3 | -14/+16 |
| | | | | | | | | * Add key argument to generalize the function | ||||
| * | Use shortened YAML config | Joseph Hunkeler | 2024-11-13 | 1 | -1/+1 |
| | | |||||
| * | When conda's prefix is too long, die. | Joseph Hunkeler | 2024-11-13 | 1 | -8/+24 |
| | | |||||
| * | Shorten workspace names and paths | Joseph Hunkeler | 2024-11-13 | 4 | -3/+3 |
| | | |||||
| * | Remove unused file stream | Joseph Hunkeler | 2024-11-12 | 1 | -1/+0 |
| | | |||||
| * | Move 'env -0' translation routine out of conda_activate | Joseph Hunkeler | 2024-11-12 | 1 | -39/+44 |
| | | | | | | | | * Add static env0_to_runtime function | ||||
| * | Export the functions correctly? | Joseph Hunkeler | 2024-11-12 | 1 | -1/+1 |
| | | |||||
| * | Export the functions? | Joseph Hunkeler | 2024-11-12 | 1 | -0/+2 |
| | | |||||
| * | Use path_manip function | Joseph Hunkeler | 2024-11-12 | 1 | -10/+18 |
| | | | | | | | | * Add conda_prepend_condabin helper | ||||
| * | Add path_manip function | Joseph Hunkeler | 2024-11-12 | 2 | -0/+56 |
| | | |||||
| * | Add source mamba.sh before redefining the function | Joseph Hunkeler | 2024-11-12 | 1 | -1/+1 |
| | | |||||
| * | Add __mamba_exe shell function as well | Joseph Hunkeler | 2024-11-11 | 1 | -0/+5 |
| | | |||||
| * | Again with the syntax issues on macos | Joseph Hunkeler | 2024-11-11 | 1 | -1/+3 |
| | | |||||
| * | Use built in method for "if file size is greater than zero" check | Joseph Hunkeler | 2024-11-11 | 1 | -1/+1 |
| | | |||||
| * | Change PREFIX to INSTALL_DIR | Joseph Hunkeler | 2024-11-11 | 1 | -5/+5 |
| | | | | | | | | * Conda uses PREFIX (or can use it) so it's better to avoid overriding it. | ||||
| * | Revert activation procedure, with tweaks | Joseph Hunkeler | 2024-11-11 | 1 | -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 entirely | Joseph Hunkeler | 2024-11-11 | 2 | -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-convenience | Joseph Hunkeler | 2024-11-06 | 41 | -335/+343 |
|\ | | | | | Safety and convenience | ||||
| * | Clarify the conditional SUCCESS/FAIL branching a bitsafety-and-convenience | Joseph Hunkeler | 2024-11-02 | 1 | -4/+4 |
| | | |||||
| * | Amend counter-only loop statement | Joseph Hunkeler | 2024-11-02 | 1 | -1/+1 |
| | | |||||
| * | Remove unused code | Joseph Hunkeler | 2024-11-02 | 1 | -2/+0 |
| | | |||||
| * | Squelch shell's pushd/popd commands | Joseph Hunkeler | 2024-11-02 | 1 | -0/+8 |
| | | |||||
| * | Add missing doc parameter | Joseph Hunkeler | 2024-11-02 | 1 | -0/+1 |
| | | |||||
| * | Combine initializer with declaration | Joseph Hunkeler | 2024-11-02 | 2 | -8/+5 |
| | | |||||
| * | Return shell() directly | Joseph Hunkeler | 2024-11-02 | 1 | -3/+1 |
| | | | | | | | | * The status variable is redundant | ||||
| * | Bug fixes: | Joseph Hunkeler | 2024-11-02 | 4 | -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 possible | Joseph Hunkeler | 2024-11-01 | 30 | -220/+141 |
| | | |||||
| * | Add missing parameters to docstrings | Joseph Hunkeler | 2024-11-01 | 1 | -0/+3 |
| | | |||||
| * | Support automatic workspace setup/teardown | Joseph Hunkeler | 2024-11-01 | 1 | -7/+87 |
| | | | | | | | | * inline the code (its a header library) | ||||
| * | Change mock delivery name to be more unique | Joseph Hunkeler | 2024-11-01 | 1 | -1/+1 |
| | | |||||
| * | Change default RT workspace directory path | Joseph Hunkeler | 2024-11-01 | 1 | -1/+1 |
| | | |||||
| * | Tests: Force the removal of podman containers | Joseph Hunkeler | 2024-11-01 | 1 | -1/+11 |
| | | |||||
| * | Fix SYSERROR macro | Joseph Hunkeler | 2024-11-01 | 1 | -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 memset | Joseph Hunkeler | 2024-11-01 | 15 | -78/+41 |
|/ | |||||
* | Merge pull request #66 from jhunkeler/order-matters | Joseph Hunkeler | 2024-10-31 | 2 | -4/+2 |
|\ | | | | | BUG: Order matters | ||||
| * | 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 | ||||
* | Merge pull request #65 from jhunkeler/more-rt | Joseph Hunkeler | 2024-10-30 | 13 | -115/+514 |
|\ | | | | | More RT | ||||
| * | Update _test_boilerplate.cmore-rt | Joseph Hunkeler | 2024-10-30 | 1 | -2/+10 |
| | | |||||
| * | Add tests/README.md | Joseph Hunkeler | 2024-10-30 | 1 | -0/+48 |
| | | |||||
| * | Add RT boilerplate | Joseph Hunkeler | 2024-10-30 | 1 | -0/+27 |
| | |