version-fox/vfox

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

Opened this issue · 9 comments

ZuBB commented

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

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

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

Image

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

It should be like this.

Image

@yeshan333

It should be like this.

Image

You can use the vfox search command:

Image

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

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 Thank you for your answer. It's my fault for not reading the document carefully.

ZuBB commented

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