asdf-community / asdf-community/asdf-clojure

Wrong regex to match versions

Open
#11 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
Shell
Stars
18
Forks
9
PR merge metrics
No merged PRs in 30d

Description

The regex that matches available versions in `list-all` seems to be wrong:
https://github.com/asdf-community/asdf-clojure/blob/490074c521d5968a7ed85656fc325570343742da/bin/list-all#L14

Assuming that Clojure versions should be composed of 4 numeric parts separated by dots, it should be something like `[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+`.

Contributor guide

No contributing guide indexed for this repository

Research direction

Inspect bin/list-all at line 14 and compare the version-matching regex with the issue's four-part numeric version format. Confirm the matcher accepts the intended Clojure versions and rejects other formats; the issue is done when list-all reports the correct available versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure, shell
Domain
cli
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.