Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: shim creation doesn't honor custom shims #2025

Open
hfi-wiit opened this issue Mar 19, 2025 · 0 comments
Open

bug: shim creation doesn't honor custom shims #2025

hfi-wiit opened this issue Mar 19, 2025 · 0 comments
Labels

Comments

@hfi-wiit
Copy link

hfi-wiit commented Mar 19, 2025

Describe the Bug

As mentioned here https://asdf-vm.com/plugins/create.html#custom-shim-templates, it should be possible to provide a "shims/executable" template inside a plugin.
It seems the go version of asdf does not contain the necessary code yet to honor this.

Is there another way to fix shims that doesn't work with the default code?

Steps to Reproduce

  • create a plugin with a shims directory
  • install the executable
  • do a asdf reshim
  • check the shim, that was actually created against the plugin provided one

Expected Behaviour

  • the provided shim to be used

Actual Behaviour

  • default shim used

Environment

OS:
Linux hfi-ukw 6.8.0-55-generic #57-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 12 23:42:21 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

SHELL:
GNU bash, Version 5.2.21(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2022 Free Software Foundation, Inc.
Lizenz GPLv3+: GNU GPL Version 3 oder jünger <http://gnu.org/licenses/gpl.html>

Dies ist freie Software.  Sie darf verändert und verteilt werden.
Es wird keine Garantie gewährt, soweit das Gesetz es zulässt.

BASH VERSION:
5.2.21(1)-release

ASDF VERSION:
v0.16.5

ASDF INTERNAL VARIABLES:
ASDF_DEFAULT_TOOL_VERSIONS_FILENAME=.tool-versions
ASDF_DATA_DIR=/home/hfi/.asdf
ASDF_CONFIG_FILE=/home/hfi/.asdfrc

asdf plugins affected (if relevant)

@hfi-wiit hfi-wiit added the bug label Mar 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant