asdf-community / asdf-community/asdf-php
asdf-php plugin is not working at all
- Dominant language
- Shell
- Stars
- 256
- Forks
- 117
- PR merge metrics
- No merged PRs in 30d
Description
### Provide environment information
```bash
OS:
Linux miko-ThinkPad-E16-Gen-2 6.8.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 2 20:41:06 UTC 2024 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.
License GPLv3+: GNU GPL version 3 or later
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
BASH VERSION:
5.2.21(1)-release
ASDF VERSION:
v0.14.0-ccdd47d
ASDF INTERNAL VARIABLES:
ASDF_DEFAULT_TOOL_VERSIONS_FILENAME=.tool-versions
ASDF_DATA_DIR=/home/miko/.asdf
ASDF_DIR=/home/miko/.asdf
ASDF_CONFIG_FILE=/home/miko/.asdfrc
ASDF INSTALLED PLUGINS:
awscli https://github.com/MetricMike/asdf-awscli.git main ac99537
eksctl https://github.com/elementalvoid/asdf-eksctl.git master 6c2266d
java https://github.com/halcyon/asdf-java.git master 15288ab
kubectl https://github.com/asdf-community/asdf-kubectl.git master cbe6df4
nodejs https://github.com/asdf-vm/asdf-nodejs.git master c36e6f0
```
### To Reproduce
Run the command after installing the plugin:
`asdf list all php`
### Describe the Bug
Plugin php's list-all callback script failed with output:
awk: line 1: regular expression compile failed (bad interval expression)
({})
### Expected Behaviour
To be able to list all of PHP versions so I can start my download and installation
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by running `asdf list all php` in the reported Linux and Bash environment, then inspect the plugin's list-all callback script that produces the awk regular-expression error. Done means the command completes without the bad interval expression and lists available PHP versions for installation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- awk, php, shell
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100