sidekick icon indicating copy to clipboard operation
sidekick copied to clipboard

Duplicate releases displayed (add arch differentiation on MacOS)

Open DanMossa opened this issue 3 years ago • 9 comments

I'm running this on an m1 mac mini.

image

DanMossa avatar Jun 27 '22 19:06 DanMossa

What's the issue here? Are there's versions not installed?

aguilaair avatar Jun 27 '22 20:06 aguilaair

Sorry, by multiple I meant duplicate. Every version has a duplicated row

DanMossa avatar Jun 29 '22 06:06 DanMossa

I'm seeing the same

Screenshot 2022-07-01 at 22 34 27

karniv00l avatar Jul 01 '22 20:07 karniv00l

I'm seeing the same

Screenshot 2022-07-01 at 22 34 27

Is this also in an M1 Mac?

aguilaair avatar Jul 01 '22 20:07 aguilaair

Ah sorry - yes

MacBook Pro 16, Apple M1 Max
macOS Monterey 12.4

Any way I can help you debugging this?

karniv00l avatar Jul 01 '22 20:07 karniv00l

I don't have a Mac, so if you could clone the project, figure out what's happening and push a PR that'd definitely help 😂😜

Otherwise we'll have to wait on @leoafarias to be able to take a look :)

aguilaair avatar Jul 01 '22 21:07 aguilaair

Ok, got it.

Since Flutter is being built for both x64 and arm64 platforms, we have more versions to choose from. See releases.json: https://raw.githubusercontent.com/fluttertools/fvm/main/releases_macos.json

This would require some work to indicate architectures in both the Sidekick UI and fvm cli.

fvm releases

...
Apr 13 22  │ 2.13.0-0.1.pre
Apr 13 22  │ 2.13.0-0.1.pre
Apr 18 22  │ 2.10.5
Apr 20 22  │ 2.13.0-0.2.pre
Apr 20 22  │ 2.13.0-0.2.pre
Apr 27 22  │ 2.13.0-0.3.pre
Apr 27 22  │ 2.13.0-0.3.pre
May 5 22   │ 2.13.0-0.4.pre
May 5 22   │ 2.13.0-0.4.pre
May 11 22  │ 3.0.0
May 11 22  │ 3.0.0
May 20 22  │ 3.0.1
May 20 22  │ 3.0.1
May 26 22  │ 3.1.0
May 26 22  │ 3.1.0
Jun 10 22  │ 3.0.2
Jun 10 22  │ 3.0.2
Jun 15 22  │ 3.1.0-9.0.pre
--------------------------------------
Jun 15 22  │ 3.1.0-9.0.pre     beta
--------------------------------------
Jun 22 22  │ 3.0.3
Jun 22 22  │ 3.0.3
Jul 1 22   │ 3.0.4
--------------------------------------
Jul 1 22   │ 3.0.4             stable
--------------------------------------

karniv00l avatar Jul 03 '22 11:07 karniv00l

FVM issue: https://github.com/fluttertools/fvm/issues/437

karniv00l avatar Jul 03 '22 11:07 karniv00l

@karniv00l I will have to take a look as we have to now change the display logic... But should not affect the installation, just the display. Will filter out the releases based on architecture

leoafarias avatar Jul 06 '22 11:07 leoafarias

Partial solution comitted, still waiting on arch-based solution, must be provided through FVM, @leoafarias

aguilaair avatar Sep 27 '22 23:09 aguilaair

Available in 1.1.0

aguilaair avatar Oct 06 '22 22:10 aguilaair