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: 0.16.2 asdf plugin update X removes support files #1948

Open
markjreed opened this issue Feb 12, 2025 · 1 comment · May be fixed by #1995
Open

bug: 0.16.2 asdf plugin update X removes support files #1948

markjreed opened this issue Feb 12, 2025 · 1 comment · May be fixed by #1995
Labels

Comments

@markjreed
Copy link

markjreed commented Feb 12, 2025

Describe the Bug

Several plugins populate subdirectories with support files - e.g. nodejs/.node-build, perl/perl-install, python/pyenv. As of version 0.16.2, asdf plugin update is emptying these subdirectories without deleting them, breaking the on-demand population logic – and the plugins.

Steps to Reproduce

  1. asdf plugin update nodejs
  2. asdf list all nodejs

Expected Behaviour

asdf should display a list of versions available to install

Actual Behaviour

Plugin nodejs's list-all callback script failed with output:
Trying to update node-build... ok

Environment

Darwin ... 24.2.0 Darwin Kernel Version 24.2.0: Fri Dec  6 19:02:41 PST 2024; root:xnu-11215.61.5~2/RELEASE_ARM64_T6030 arm64

SHELL:
zsh 5.9 (arm64-apple-darwin24.0)

BASH VERSION:
5.2.37(1)-release

ASDF VERSION:
0.16.1

ASDF INTERNAL VARIABLES:
ASDF_DEFAULT_TOOL_VERSIONS_FILENAME=.tool-versions
ASDF_DATA_DIR=/Users/mjreed/.asdf
ASDF_CONFIG_FILE=/Users/mjreed/.asdfrc

ASDF INSTALLED PLUGINS:
[...]
nodejs    https://github.com/mkungla/asdf-nodejs               2858c702050785196f20c7f1557165e90a90f761
perl      https://github.com/ouest/asdf-perl.git               2b4609b9bed22a67c5d6a7c12e957fff3bcab434
python    https://github.com/danhper/asdf-python.git           a3a01856098d6d2b9642e382f5b38e70275726d1
[...]

asdf plugins affected (if relevant)

nodejs, perl, python, possibly others.

@markjreed markjreed added the bug label Feb 12, 2025
@markjreed markjreed changed the title bug: 0.16.x asdf plugin update X removes support files bug: 0.16.2 asdf plugin update X removes support files Feb 12, 2025
@Stratus3D
Copy link
Member

Working on a fix. Should have something merged this week.

@andrecloutier andrecloutier linked a pull request Feb 28, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants