Be more explicit on flutter version change
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 新手友好度
- 55/100
- Issue 类型
- 文档
- 描述清晰度
- 描述清楚
- 活跃度
- 停滞
- 技术栈
- flutter, git
调研方向
打开 src/content/install/upgrade.md,查看 docs.flutter.dev/install/upgrade/ 页面的“Switch to a specific Flutter version”说明。明确说明运行 Flutter 命令时使用的是已检出的 repository 版本,给出一个数字版本示例,并提及 git switch 是推荐的命令。当这些步骤能够明确解释版本格式和 repository 行为时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Page URL
https://docs.flutter.dev/install/upgrade/
Page source
https://github.com/flutter/website/tree/main/src/content/install/upgrade.md
Describe the problem
Instructions for "Switch to a specific Flutter version" are unclear. They might be ok for people who don't know anything about building applications so that they can copy-paste solutions, or they are great for people who know how exactly the flutter works. As someone who occasionally dibbles with flutter, it was confusing to me why ONLY git checkout in a local repo would affect the global executable. Likewise, it isn't clear to me that the expected version is just the symver, i.e. 3.29.3. Often these can be v3.29.3 or specific hash.
Expected fix
- Add a line that "once the repository is updated execution of any flutter command will update the flutter to the expected version".
- Add an example of the version expected, e.g. "to change to version 3.32.0 type
git checkout 3.32.0".
Bonus:
- It's now recommended to use
git switchinstead ofgit checkout.
Additional context
No response
I would like to fix this problem.
- I will try and fix this problem on docs.flutter.dev.
- 主要语言
- Dart
- 星标
- 3.1k
- 派生
- 3.5k
- 平均合并
- 2 天 10 小时
- 30 天内合并 PR
- 88
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
flutter/website 的其他 Issue
-
act.await-dev-pr co.request d.new-feature dev.flavors e1-hours p2-medium st.blocked t.cli-tools target.web
难度 2/5 1-3 小时 新手友好度 78/100
flutter/website#14165 · 1 条评论 ·
维护者通常 1 天内回复
-
a.fwe a.tut.tutorial co.PRs-welcome co.volunteer e0-minutes fix.bug fix.examples from.page-issue p2-medium
难度 2/5 1-3 小时 新手友好度 62/100
flutter/website#14158 · 1 条评论 ·
维护者通常 1 天内回复
-
act.await-dev-pr d.enhancement e1-hours p2-medium st.blocked target.web
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
from.page-issue p2-medium
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
Document the `use-explicit-plural-values` gen-l10n option可能重新可做 @busradansmn 于 27 天前认领,目前没有进行中的 PR。 未关闭act.await-dev-pr d.enhancement e0-minutes p2-medium t.cli-tools t.i18n t.l10n
难度 2/5 1-3 小时 新手友好度 82/100
flutter/website#13993 · 2 条评论 ·
维护者通常 1 天内回复
相似的 Issue
-
lang-java needs-triage package:jni package:jni_flutter package:jnigen
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 2 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 67/100
finamp-app/finamp#1920 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
-
难度 1/5 1 小时以内 新手友好度 83/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 83/100
flutter/flutter#197796 · 1 条评论 ·
维护者通常 1 天内回复