head 1.3; access; symbols pkgsrc-2024Q4:1.2.0.16 pkgsrc-2024Q4-base:1.2 pkgsrc-2024Q3:1.2.0.14 pkgsrc-2024Q3-base:1.2 pkgsrc-2024Q2:1.2.0.12 pkgsrc-2024Q2-base:1.2 pkgsrc-2024Q1:1.2.0.10 pkgsrc-2024Q1-base:1.2 pkgsrc-2023Q4:1.2.0.8 pkgsrc-2023Q4-base:1.2 pkgsrc-2023Q3:1.2.0.6 pkgsrc-2023Q3-base:1.2 pkgsrc-2023Q2:1.2.0.4 pkgsrc-2023Q2-base:1.2 pkgsrc-2023Q1:1.2.0.2 pkgsrc-2023Q1-base:1.2; locks; strict; comment @# @; 1.3 date 2025.02.05.05.00.52; author schmonz; state dead; branches; next 1.2; commitid b98pJxvYcTo6OeIF; 1.2 date 2023.01.13.22.18.11; author schmonz; state Exp; branches; next 1.1; commitid 3PaIV9K03WKBMq9E; 1.1 date 2022.12.27.16.11.01; author schmonz; state Exp; branches; next ; commitid ls9ZjgUQXRTfid7E; desc @@ 1.3 log @asdf: update to 0.16.1. Changes: - Rewrite asdf in Golang The rewrite in Go was spread across 88 pull requests that are all included in this release. The primary goal of the rewrite was to create a codebase that was faster, simpler and easier to maintain. The rewrite tries to maintain feature parity with the previous version. However, a number of breaking changes were introduced. Some of these were due to the change of language, a few out of a desire to simplify the code, and some to improve the user experience. For the full list of breaking changes and the upgrade guide visit the Upgrading to 0.16.0 page on the asdf website. It is highly recommended that you read this guide before upgrading. - correct SliceToMap environment variable parsing function - remove old hyphenated command from help - replace reference to removed subcommands - revert change to old Bash help text - use version in home dir when no version found in root dir See . @ text @$NetBSD: patch-lib_commands_reshim.bash,v 1.2 2023/01/13 22:18:11 schmonz Exp $ Use pkgsrc paths. --- lib/commands/reshim.bash.orig 2023-01-13 14:45:18.000000000 +0000 +++ lib/commands/reshim.bash @@@@ -102,9 +102,9 @@@@ EOF fi cat <"$shim_path" -#!/usr/bin/env bash +#!@@BASH@@ $(sort -u <"$temp_versions_path") -exec $(asdf_dir)/bin/asdf exec "${executable_name}" "\$@@" # asdf_allow: ' asdf ' +exec @@PREFIX@@/bin/asdf exec "${executable_name}" "\$@@" # asdf_allow: ' asdf ' EOF rm "$temp_versions_path" @ 1.2 log @Update to 0.11.1. From the changelog: # Bug Fixes * `reshim` did not rewrite executable path (#1311) * Add test for nushell integration and fix some bugs (#1415) * Allow `path:` versions to use `~` (#1403) * Ban use of 'test' (#1383) * correct order of checks in conditional for adding a missing newline (#1418, closes #1417) * Do not use `pwd` * Do not use type not exported on older Python versions (#1409) * force lwrcase plugin name fix capitalization mismatch errs (#1400) * lint errors from `scripts/checkstyle.py` (#1385) * mv dev dep from repo root to subdir to avoid clash (#1408) * Remove unecessary backslashes (#1384) * Remove usage of `$(pwd)` in favor of `$PWD` @ text @d1 1 a1 1 $NetBSD: patch-lib_commands_reshim.bash,v 1.1 2022/12/27 16:11:01 schmonz Exp $ @ 1.1 log @Add asdf, an extensible tool to manage each of your project runtimes. asdf is a CLI tool that can manage multiple language runtime versions on a per-project basis. It is like `gvm`, `nvm`, `rbenv` & `pyenv` (and more) all in one! Simply install your language's plugin! Why use asdf? - single CLI for multiple languages - consistent commands to manage all your languages - single global config keeping defaults in one place - single `.tool-versions` config file per project - support for existing config files `.node-version`, `.nvmrc`, `.ruby-version` for easy migration - automatically switches runtime versions as you traverse your directories - simple plugin system to add support for your language of choice - shell completion available for common shells (Bash, Zsh, Fish, Elvish) @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- lib/commands/reshim.bash.orig 2022-12-14 20:53:20.000000000 +0000 d7 7 a13 4 @@@@ -97,7 +97,7 @@@@ write_shim_script() { cat <"$shim_path" #!/usr/bin/env bash # asdf-plugin: ${plugin_name} ${version} a16 1 fi d18 1 @