Be more explicit on flutter version change
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 1/5
- Thời gian dự kiến
- Dưới một giờ
- Mức phù hợp với người mới
- 55/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- flutter, git
- Lĩnh vực
- documentation
Hướng nghiên cứu
Mở src/content/install/upgrade.md và xem lại các hướng dẫn “Switch to a specific Flutter version” cho trang docs.flutter.dev/install/upgrade/. Làm rõ rằng việc chạy các lệnh Flutter sử dụng phiên bản của repository đã được checkout, đưa ra ví dụ về một phiên bản dạng số và đề cập git switch là lệnh được khuyến nghị. Hoàn tất khi các bước giải thích rõ ràng, không mơ hồ về định dạng phiên bản và cách repository hoạt động.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Dart
- Star
- 3.1k
- Fork
- 3.5k
- Merge trung bình
- 2 ngày 10 giờ
- Pull request đã merge (30 ngày)
- 88
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của flutter/website
-
act.await-dev-pr co.request d.new-feature dev.flavors e1-hours p2-medium st.blocked t.cli-tools target.web
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
flutter/website#14165 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
a.fwe a.tut.tutorial co.PRs-welcome co.volunteer e0-minutes fix.bug fix.examples from.page-issue p2-medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
flutter/website#14158 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
act.await-dev-pr d.enhancement e1-hours p2-medium st.blocked target.web
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
from.page-issue p2-medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Document the `use-explicit-plural-values` gen-l10n optionCó thể làm lại được @busradansmn đã nhận 27 ngày trước và không có pull request nào đang mở. Đang mởact.await-dev-pr d.enhancement e0-minutes p2-medium t.cli-tools t.i18n t.l10n
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
flutter/website#13993 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của flutter/website
Issue tương tự
-
lang-java needs-triage package:jni package:jni_flutter package:jnigen
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
lichess-org/mobile#4143 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
d.enhancement dev.packages e1-hours from.team p2-medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
finamp-app/finamp#1920 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100