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

Aberta
#340 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
67/100
Tipo de issue
Funcionalidade
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
powershell, rust

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
Rust
Estrelas
3
Forks
1
Merge médio
9h 51min
PRs com merge (30d)
310

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de codeatlasdev/atlas

Todas as issues de codeatlasdev/atlas

Issues semelhantes

Mais issues de Rust

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.