asdf-community / asdf-flutter

flutter plugin for the asdf version manager
https://github.com/asdf-vm/asdf
MIT License
111 stars 31 forks source link

update: Support no channel versioning #43

Closed ronnnnn closed 1 year ago

ronnnnn commented 1 year ago

Issue

Behavior of installing specific version without channel is unstable. asdf install flutter 3.10.0 will install beta channel. On the other hand, asdf install flutter 3.7.12 will install stable channel. It depends on the order of version list.

Proposal

Install stable channel version if no channel specified.

ciccioska commented 1 year ago

It is a reasonable proposal, on the other hand, if someone wants to install a beta version should indicate explicitly.

ronnnnn commented 1 year ago

@ciccioska

if someone wants to install a beta version should indicate explicitly.

Yes, true.

However, asdf-flutter manages versions with channel.

$ asdf list-all flutter
...
3.7.12-stable
3.10.0-1.4.pre-beta
3.10.0-1.5.pre-beta
3.10.0-stable
3.11.0-0.0.pre-beta

I consider that no suffix statement is irregular pattern. This is reason why no channel versioning should install stable channel.