RFC: FVM Changes #469
Replies: 4 comments 21 replies
-
Little feedback from our team : we never used the global command from fvm. We installed fvm from brew (MacOs) and use it allow the .fvm config file. It's a pleasure to count on this cli. Never got issue, well done :) ! (No issue on our runners too <3) |
Beta Was this translation helpful? Give feedback.
-
Hello, I particularly think the deprecated of the global command is very bad. There is a huge advantage in being able to switch Flutter versions based on a specific version think like this: I am working from home office for 2 companies and both are a consultancy where they develop systems for many companies and each of these companies has a project for each different version. Imagine the difficulty or work I have to configure the version I need in ALL projects and if by chance I open the terminal and run a flutter pub get or I want to leave the terminal running build runner. I will always have to replace the main command with some fvm and remember that in the heat of development it always generates many problems or even strange bugs that make us lose hours. I see global activation as a pattern that is used by other languages such as nodejs and this is a pattern that is widely used in the market. And the FVM does it very well. In my opinion what should be changed is the documentation with only 1 way to install (Brew, choco), because in my experience problems always occur when we install the FVM as a package. Perhaps this would avoid many problems like the one mentioned. And also have an explanatory video on how to do the installation step by step, thus leaving a standard for use and also a FAQ with troubleshooting, for example, whenever you change the flutter version you must clear the packages cache, and other problems acquaintances. In my opinion, configuration per project is a complicated item that raises a lot of doubt for those starting out, as it is much easier to teach a DEV to run a fvm global stable, fvm global 2.7.0 command than to teach a step-by-step how to it configures the flutter version within a project and how it checks if it is in the same version. Experience from over 900 students and many of them beginners. ;-) |
Beta Was this translation helpful? Give feedback.
-
I agree with @rodrigorahman. One of the benefits of fvm is that it works in a similar way to other tools such as nvm. Removing the option to set a global version might equally cause confusion (which is what led me here). If this decision stems mostly/only from the perspective of troubleshooting a "non-standard" install, removing the global workflow to remedy this feels excessive and reduces fvm's usefulness. Richer documentation or improvements to cli DX would be far more beneficial than deprecating core functionality. |
Beta Was this translation helpful? Give feedback.
-
Hello! FVM 3.0 is nearing completion and we're opening up Beta testing. If you're interested in hands-on testing and direct discussions about issues or use-cases, please sign up. |
Beta Was this translation helpful? Give feedback.
-
RFC: Locked:
Thank you all for the feedback, we have made considerable improvements for 3.0.0 based on the information provided.
A few takeaways.
-- Original --
TLDR:
global
command.When I first created FVM, I never imagined that it would have grown in scope and usage to become the go tool for the Flutter version management challenges.
The community has embraced it in a way I did not expect, and it is great to see the number of people mentioning how much easier FVM makes their dev experience and how much it has saved them.
However, even though FVM does an excellent job in most of the cases and it's clear that it's solving a significant problem, it can, in a way, create "noise," where issues are not evident where they could be coming from (FVM, Flutter or Dev Environment).
That is an ongoing challenge when seeing new issues on both FVM and issues that mention the use of FVM within the Flutter repo.
Because FVM has become a more critical part of the Flutter developer toolset, I would like to open up a discussion of some ideas and also gather feedback and suggestions on what I think might be some possible solutions. Also, this discussion will list some essential items and highlight some pain points with Flutter version management.
Principles
While maintaining the project, as it gained popularity, many individual requests have been to extend, enhance or modify some Flutter CLI behaviors. That is why I try to follow these principles.
Basic use cases
Challenges
As you can imagine, some challenges exist when supporting a tool like Flutter and the breadth of dev environments (devs love to customize their environments!)
Routing
Pub global activate
Suggestions
Based on my experience, here are some suggestions for changes that can be made to remove some of the noise added to the Flutter team and simplify FVM in some ways.
global
workflow, would open up for trimming down and simplification of FVM in general, and remove a lot of edge cases.If you get to this point, any feedback/suggestions would be appreciated it.
Beta Was this translation helpful? Give feedback.
All reactions