Better setup experience for third-party packagers?
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ó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 12/100
Hướng nghiên cứu
The issue is a design question, not a ready task: rustup-init copies itself to rustup instead of linking, which blocks packagers from updating one installation. Read the linked Fedora discussion and issue #4754 to see the packager constraints, then check how the installer creates the rustup binary. Done means maintainers agree on an approach, such as an opt-in link, before any code is written.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
So, given that rustup-init and rustup are "the same", I guess you could argue I do have two installations. The problem is that both originate from what should be a single installation, and updating one (rustup-init) doesn't update the other (rustup). There's further discussion on Ask Fedora now: discussion.fedoraproject.org/t/what-is-the-correct-way-to-keep-rustup-up-to-date/204625
Many thanks for the follow-up. In that case, no wonder why other package managers who have disabled auto-update all skipped the installer phase so that they can keep
rustupitself up-to-date...
Maybe in that case we should link rather than copy the binary?
https://github.com/Rust-GPU/rust-gpu/issues/669#issuecomment-6207311500
Currently, third-party packagers are in a dilemma when they disable auto-update (which is a reasonable choice on their side):
- Either they should package
rustup-initand use the original installer flow, at the cost of not being able to updaterustupregularly, becauserustup-initcopies (rather than links) itself torustup. - Or they should package
rustup-initwhile renaming them torustupwhich addresses the upgrade problem at the cost of bypassing a whole bunch of notes etc. that we have put in the setup flow.
This is a common source of confusion in third-party installations, such as in #4754.
Maybe there is a way to make everyone happier in this case. My preference would be making rustup-init easier to setup, possibly by an opt-in linking rather than copying, so that we can keep the original flow. Not sure if that is entirely feasible though, to be investigated.
- Ngôn ngữ chính
- Rust
- Star
- 7.1k
- Fork
- 1.1k
- Merge trung bình
- 1 ngày 11 giờ
- Pull request đã merge (30 ngày)
- 39
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 rust-lang/rustup
-
enhancement O-shell
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Wrong completions when using the `+toolchain` syntaxCó thể đã có người làm @14elias đã nhận 1 ngày trước. Đang mởbug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 50/100
rust-lang/rustup#5144 · 1 bình luận · 2 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
rust-analyzer fallback recurses through Homebrew’s wrapperCó thể đã có người làm @rami3l đã nhận 9 ngày trước. Đang mởenhancement O-macos
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
rust-lang/rustup#5133 · 5 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Verbose output for removing components on toolchain updateCó thể đã có người làm @rami3l đã nhận 16 ngày trước. Đang mởenhancement
rust-lang/rustup#5122 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Continuous performance tracking to avoid major regressionsCó thể đã có người làm @rami3l đã nhận 24 ngày trước. Đang mởmeta
rust-lang/rustup#5103 · 3 bình luận · 5 reaction · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của rust-lang/rustup
Issue tương tự
-
area:gc-repack-output bug factory:dogfood factory:triaged priority:p3 type:bug type:ux
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
gitbutlerapp/grit#1161 · 1 bình luận ·
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 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Optimize the quick add featureĐang mởfeature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
-
priority: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
storytold/photocraft#7520 · 1 bình luận ·
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 62/100
Maintainer thường phản hồi trong vòng 1 ngày