vfox icon indicating copy to clipboard operation
vfox copied to clipboard

[Question] List all versions of sdk available in the wild

Open ZuBB opened this issue 7 months ago • 9 comments

is there a command/switch that does thing from subject? I did not find anything neither in docs nor in cli's help

ZuBB avatar Jul 03 '25 06:07 ZuBB

I also have this problem. Is there any latest news?

nsnans avatar Jul 11 '25 01:07 nsnans

The vfox available command can meet your use case. Do you mean you want to view all historical versions of a vfox plugin?

Image

yeshan333 avatar Jul 19 '25 10:07 yeshan333

Currently, you can only see historical version numbers through the sdk's release notes (eg:https://github.com/version-fox/vfox-elixir/releases). You can install a historical version in the following way:

# install an older sdk version
vfox add --source https://github.com/version-fox/vfox-elixir/releases/download/v1.0.0/vfox-elixir-1.0.0.zip oldex
vfox search oldex

yeshan333 avatar Jul 19 '25 10:07 yeshan333

@yeshan333

It should be like this.

Image

nsnans avatar Jul 19 '25 10:07 nsnans

@yeshan333

It should be like this.

Image

You can use the vfox search command:

Image

yeshan333 avatar Jul 19 '25 10:07 yeshan333

If you want to display all versions at once, vfox currently does not support it.

yeshan333 avatar Jul 19 '25 10:07 yeshan333

If you are interested, you can submit a pr to modify the current vfox list command implementation. https://github.com/version-fox/vfox/blob/main/cmd/commands/list.go @nsnans

yeshan333 avatar Jul 19 '25 10:07 yeshan333

@yeshan333 Thank you for your answer. It's my fault for not reading the document carefully.

nsnans avatar Jul 19 '25 10:07 nsnans

the relevance between search word and what that command does is slightly less than for the ls-remote case (imho), but at least we can see all versions of particular sdk.

thanks for the help

ZuBB avatar Jul 22 '25 07:07 ZuBB