Better setup experience for third-party packagers?
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 12/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Rust
- Estrellas
- 7.1k
- Forks
- 1.1k
- Merge medio
- 1 d 11 h
- PR fusionados (30 d)
- 39
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de rust-lang/rustup
-
enhancement O-shell
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Wrong completions when using the `+toolchain` syntaxPosiblemente ocupada @14elias la tomó hace 1 día. Abiertobug
Dificultad 3/5 1-2 días Aptitud para principiantes 50/100
rust-lang/rustup#5144 · 1 comentario · 2 reacciones ·
Los mantenedores suelen responder en 1 día
-
rust-analyzer fallback recurses through Homebrew’s wrapperPosiblemente ocupada @rami3l la tomó hace 9 días. Abiertoenhancement O-macos
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
rust-lang/rustup#5133 · 5 comentarios ·
Los mantenedores suelen responder en 1 día
-
Verbose output for removing components on toolchain updatePosiblemente ocupada @rami3l la tomó hace 16 días. Abiertoenhancement
rust-lang/rustup#5122 · 2 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Continuous performance tracking to avoid major regressionsPosiblemente ocupada @rami3l la tomó hace 24 días. Abiertometa
rust-lang/rustup#5103 · 3 comentarios · 5 reacciones · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de rust-lang/rustup
Issues similares
-
area:config area:security bug good first issue platform:linux platform:windows priority:medium
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
rtk-ai/rtk#4651 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
documentation P2
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
vllm-project/agentic-api#463 ·
Los mantenedores suelen responder en 2 días
-
bug good first issue priority:high
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Konfirm-xyz/konfirm-contracts#163 ·
Los mantenedores suelen responder en 1 día
-
GL backend reports vendor id 0 for AMD GPUs on Windows (GL_VENDOR is "ATI Technologies Inc.")Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día