You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe
(Note: this might actually be a regression for a unintended/unsupported feature, so I'm reluctant to classify this as a bug)
Before the change to use Go, it was possible to symlink inside the installs folder to create versions with a stable name. The main rationale was to use them for creating updateable patch versions.
These are useful e.g. for Java, where there is a plethora of patch versions that refer to essentially the same version (e.g. for java -> "temurin-21.0.0+35.0.LTS", "temurin-21.0.1+12.0.LTS" etc) - mostly including non-API-breaking security updates.
The issue is that having to reference the exact version in .tool-versions means that if you update, you need to go through the various files to update the number there. This either means you have to keep an insecure version or update the version files individually.
While I do not necessarily want to open a discussion about an alias core command specifically, I would like to have the symlink functionality restored so that you can write a plugin that does this or create those yourself.
Describe similar asdf features and why they are not sufficient
You can obviously just copy the whole installed version after download - but this means that you need to implement a wrapper around the install/uninstall functionality.
Describe other workarounds you've considered
The only workaround is to copy the installed version as far as I can see.
The text was updated successfully, but these errors were encountered:
Symlinks no longer work, not just for versions but also for plugins. I used to create a symlink to the Git repo of my fork for plugins I'm working on in the $ASDF_DATA_DIR/plugins directory. Now, the plugins are no longer recognized, and asdf plugin add indicates that the plugin is already installed.
khmm12
added a commit
to khmm12/asdf
that referenced
this issue
Feb 10, 2025
Is your feature request related to a problem? Please describe
(Note: this might actually be a regression for a unintended/unsupported feature, so I'm reluctant to classify this as a bug)
Before the change to use Go, it was possible to symlink inside the installs folder to create versions with a stable name. The main rationale was to use them for creating updateable patch versions.
These are useful e.g. for Java, where there is a plethora of patch versions that refer to essentially the same version (e.g. for java -> "temurin-21.0.0+35.0.LTS", "temurin-21.0.1+12.0.LTS" etc) - mostly including non-API-breaking security updates.
The issue is that having to reference the exact version in .tool-versions means that if you update, you need to go through the various files to update the number there. This either means you have to keep an insecure version or update the version files individually.
There are at some older reports related to this:
#1622
#523
andrewthauer/asdf-alias#13
Describe the proposed solution
While I do not necessarily want to open a discussion about an alias core command specifically, I would like to have the symlink functionality restored so that you can write a plugin that does this or create those yourself.
Describe similar
asdf
features and why they are not sufficientYou can obviously just copy the whole installed version after download - but this means that you need to implement a wrapper around the install/uninstall functionality.
Describe other workarounds you've considered
The only workaround is to copy the installed version as far as I can see.
The text was updated successfully, but these errors were encountered: