Replies: 1 comment 2 replies
-
|
@jibbers42 let me know if this solution works. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
If I'm reading the v3 changelog correctly...
It seems that a one time migration from
.fvm/fvm_config.jsonto.fvmrcwill occur, but after further version updates I'm guessing the version will be out of sync for users on fvm v3 vs fvm v2, depending on which made the latest flutter version change. (The changelog note also implies that .fvm may be added to .gitignore during the migration, but I think that may just be a wording issue)I assume once someone on the project updates to v3 then they will need to deal with an auto generated
.fvmrc. They can either commit it, ignore it, or .gitignore it. At some point when.fvmrcmakes it's way into the repo, users will need to keep.fvm/fvm_config.jsonand.fvmrcmanually in sync until the project decides that only fvm v3 use is supported. Until.fvm/fvm_config.jsonis removed from .git, requiring all users to upgrade to v3, then if the files become out of sync some people will be on the wrong flutter version.I'm curious if this is expected or if I misunderstand?
Would the following be reasonable advice?...
.fvmrcto.gitignoreuntil the project is ready to require fvm v3. Any users already on fvm v3 will get.fvmrcauto generated..fvmrcto git then git remove and .gitignore.fvm/fvm_config.json.After typing the above points, I realize the v3 user case when when
.fvm/fvm_config.jsonis updated by a v2 user. I'm guessing fvm v3 won't override an existing.fvmrcwith an updated.fvm/fvm_config.json- so the first point may not be good advice.Am I missing the obvious path to fvm v3 - or is the risk of some users on the wrong version just considered not a very big deal while the install base transitions to v3?
Beta Was this translation helpful? Give feedback.
All reactions