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: 'asdf plugin add <plugin>' broken in alpine #1133
Comments
@Stratus3D @jthegedus FYI ☝️ |
The change in #1117 is only for a test case, not any code on the CLI critical path. The issue seems from your report to be:
The only code to effect that which changed recently was #1106 which removed the When you say
Do you mean you are running |
I tested this and confirmed that it works with |
@Stratus3D had a general question as a follow-up to this: is there an expected release policy for bugfixes like this to go out? We can pull from |
@theoretick there isn't a timeline but I expected it to be tagged sometime in the next month or two. And it looks like the next release will be |
Describe the Bug
This change #1117 seems to have broken the
asdf plugin add <plugin>
functionality in alpine completely. I have a container that is automatically rebuilt occasionally with newest versions of all my favorite asdf plugins. I am also always running the latest version of asdf core as well. A week or two ago this build started to fail and I haven't had a chance to look into it until now. Here is the signal I see when trying to add any plugin:Steps to Reproduce
dockerfile
.tool-versions
docker build -t asdf-broken-plugins .
docker run --rm -it asdf-broken-plugins
inside docker
while IFS= read -r line; do asdf plugin add $(echo "$line" | awk '{print $1}'); done < .tool-versions
Expected Behaviour
Before this (i think) change, these plugins were able to be added and installed with a similar script.
Actual Behaviour
all plugins seem to not be able to be installed
grep: unrecognized option: quiet
BusyBox v1.33.1 () multi-call binary.
Usage: grep [-HhnlLoqvsrRiwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]...
Search for PATTERN in FILEs (or stdin)
awscli is invalid. Name must match regex ^[a-zA-Z0-9_-]+$
grep: unrecognized option: quiet
BusyBox v1.33.1 () multi-call binary.
Usage: grep [-HhnlLoqvsrRiwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]...
Search for PATTERN in FILEs (or stdin)
bat is invalid. Name must match regex ^[a-zA-Z0-9_-]+$
grep: unrecognized option: quiet
BusyBox v1.33.1 () multi-call binary.
Usage: grep [-HhnlLoqvsrRiwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]...
Search for PATTERN in FILEs (or stdin)
gcloud is invalid. Name must match regex ^[a-zA-Z0-9_-]+$
grep: unrecognized option: quiet
BusyBox v1.33.1 () multi-call binary.
Usage: grep [-HhnlLoqvsrRiwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]...
Search for PATTERN in FILEs (or stdin)
helm is invalid. Name must match regex ^[a-zA-Z0-9_-]+$
grep: unrecognized option: quiet
BusyBox v1.33.1 () multi-call binary.
Usage: grep [-HhnlLoqvsrRiwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]...
Search for PATTERN in FILEs (or stdin)
kubectl is invalid. Name must match regex ^[a-zA-Z0-9_-]+$
grep: unrecognized option: quiet
BusyBox v1.33.1 () multi-call binary.
Usage: grep [-HhnlLoqvsrRiwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]...
Search for PATTERN in FILEs (or stdin)
kubectx is invalid. Name must match regex ^[a-zA-Z0-9_-]+$
grep: unrecognized option: quiet
BusyBox v1.33.1 () multi-call binary.
Usage: grep [-HhnlLoqvsrRiwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]...
Search for PATTERN in FILEs (or stdin)
kustomize is invalid. Name must match regex ^[a-zA-Z0-9_-]+$
grep: unrecognized option: quiet
BusyBox v1.33.1 () multi-call binary.
Usage: grep [-HhnlLoqvsrRiwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]...
Search for PATTERN in FILEs (or stdin)
rclone is invalid. Name must match regex ^[a-zA-Z0-9_-]+$
grep: unrecognized option: quiet
BusyBox v1.33.1 () multi-call binary.
Usage: grep [-HhnlLoqvsrRiwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]...
Search for PATTERN in FILEs (or stdin)
shellcheck is invalid. Name must match regex ^[a-zA-Z0-9_-]+$
grep: unrecognized option: quiet
BusyBox v1.33.1 () multi-call binary.
Usage: grep [-HhnlLoqvsrRiwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]...
Search for PATTERN in FILEs (or stdin)
shfmt is invalid. Name must match regex ^[a-zA-Z0-9_-]+$
grep: unrecognized option: quiet
BusyBox v1.33.1 () multi-call binary.
Usage: grep [-HhnlLoqvsrRiwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]...
Search for PATTERN in FILEs (or stdin)
sops is invalid. Name must match regex ^[a-zA-Z0-9_-]+$
grep: unrecognized option: quiet
BusyBox v1.33.1 () multi-call binary.
Usage: grep [-HhnlLoqvsrRiwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]...
Search for PATTERN in FILEs (or stdin)
terraform is invalid. Name must match regex ^[a-zA-Z0-9_-]+$
grep: unrecognized option: quiet
BusyBox v1.33.1 () multi-call binary.
Usage: grep [-HhnlLoqvsrRiwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]...
Search for PATTERN in FILEs (or stdin)
terraform is invalid. Name must match regex ^[a-zA-Z0-9_-]+$
grep: unrecognized option: quiet
BusyBox v1.33.1 () multi-call binary.
Usage: grep [-HhnlLoqvsrRiwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]...
Search for PATTERN in FILEs (or stdin)
tflint is invalid. Name must match regex ^[a-zA-Z0-9_-]+$
grep: unrecognized option: quiet
BusyBox v1.33.1 () multi-call binary.
Usage: grep [-HhnlLoqvsrRiwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]...
Search for PATTERN in FILEs (or stdin)
yq is invalid. Name must match regex ^[a-zA-Z0-9_-]+$
Environment
bash-5.1# asdf info OS: Linux 04d826025956 5.10.76-linuxkit #1 SMP Mon Nov 8 10:21:19 UTC 2021 x86_64 Linux
asdf plugins affected (if relevant)
All plugins seem to be broken
The text was updated successfully, but these errors were encountered: