Windows: `atlas doctor` "new terminal" check from the registry Path

Abierto
#340 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
67/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
powershell, rust

Línea de trabajo

Start at the atlas doctor new-terminal check and the existing install::has_user_path helper, which already reads the user Path through PowerShell. Read how terminal_probe invokes and parses a shell, then run the doctor on Windows and inspect HKCU and system Path entries. Done means the check resolves atlas.exe on both Paths and confirms it points at %USERPROFILE%\.atlas\bin\atlas.exe (or the installer copy), with pwsh parsing covered by a test if that probe path is used.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

good first issue os: windows type: feature

atlas doctor (#338) checks whether a new terminal finds atlas by starting the account's shell the way a terminal does. On Windows a new terminal takes its PATH from the registry (HKCU\Environment\Path plus the system Path), not from a shell rc, so the check currently reports "not checked on Windows yet" as a warning.

Do it properly: read user and system Path (install::has_user_path already queries the user one through PowerShell), resolve atlas.exe along them, and check that it is %USERPROFILE%\.atlas\bin\atlas.exe (or the installer's copy). Also verify terminal_probe's output parsing with pwsh if we ever probe a shell there. Roadmap #289.

Lenguaje dominante
Rust
Estrellas
3
Forks
1
Merge medio
9 h 51 min
PR fusionados (30 d)
310

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de codeatlasdev/atlas

Todos los issues de codeatlasdev/atlas

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.