asdf-alias icon indicating copy to clipboard operation
asdf-alias copied to clipboard

Doesn't work with ASDF 0.16

Open StragaSevera opened this issue 9 months ago • 5 comments

Describe the bug

With backward-incompatible update of ASDF to 0.16, this great plugin stopped working. asdf alias is not recognised as a valid ASDF command, instead it just prints help for ASDF itself.

I understand that you moved on to different version manager, but it would be really great if you updated this, because at my workplace this plugin is a standard =-)

StragaSevera avatar Jan 31 '25 19:01 StragaSevera

Interesting, asdf was rewritten in go for 0.16.0.

Can you describe the actual issue/breaking change in more detail? Have you looked into what might be the actual problem?

andrewthauer avatar Feb 01 '25 19:02 andrewthauer

Also, I've always thought alias should be part of asdf core, but for some reason there was push back on this in the past. Perhaps it's worth re-opening discussion to see if the maintainers are willing to add it directly into asdf now.

andrewthauer avatar Feb 01 '25 19:02 andrewthauer

I did not look in detail, seems to me like the method of recognizing the plugin executables changed. And yes, it would be great to have it in the core, because I can't imagine the workflow without it =-) But I'm just an user, maybe it'll be better if you opened the discussion?

StragaSevera avatar Feb 03 '25 12:02 StragaSevera

Yes, it is unfortunate for the breaking change here. Looks like someone else opened https://github.com/asdf-vm/asdf/issues/1873 that you may want to follow.

I am also just a previous user of asdf as well (not a maintainer). It doesn't really make sense for me to open discussions on a feature. since I'm very unlikely moving back to asdf at this point. You have the use cases and to motivation to see through promoting/advocating for alias core support better then myself.

Aside from that, I'm happy to make some small changes or accept contributions to address this. However, it seems based on the linked issue it may not be possible to fix in the plugin itself at the moment.

andrewthauer avatar Feb 03 '25 13:02 andrewthauer

Got it, thank you for the info! Will follow that thread =-)

StragaSevera avatar Feb 03 '25 19:02 StragaSevera

I can confirm. It's not working with asdf 0.16.7 - fresh installation on Mac added plugin with asdf plugin add alias and it not working e.g. asdf alias command just returning help and looks like plugin not connected to asdf

pironim avatar May 20 '25 13:05 pironim