Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

The bootstrap still stops for prompts

Aperta
#61 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
56/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
git, github, shell, zsh
Ambito
cli, devops

Direzione di ricerca

Start by reading install/bootstrap.zsh, then inspect install/git, install/gh, and each install/* script that calls a third-party installer. Run a headless bootstrap in a tart VM to identify remaining prompts. Done means sudo is requested once, installer prompts are disabled where supported, and install/gh explains when it skips upgrades because authentication is unavailable.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

A full run of install/bootstrap.zsh is not yet hands-off. These are the places it waits for a person, from the first complete headless run in a tart VM.

sudo, three times. The Command Line Tools install runs softwareupdate -i under sudo. install/git runs git lfs install --system under sudo. The Determinate Nix installer asks for sudo too. Each one prompts on the terminal and the run sits there until the password is typed.

Tool installers with their own questions. The atuin installer asked four questions: history import, cloud sync, Atuin AI, and the daemon. The installer has a --non-interactive flag and the bootstrap now passes it, so those four are gone. Other installers may have the same shape and have not been audited for it.

Noise that looks like a prompt. install/gh runs gh extension upgrade --all, which prints the gh auth login advice on a machine that is not logged in. It does not stop the run, but it reads as if it did.

Options for the sudo prompts

  • Ask for sudo once at the start, with sudo -v, and keep the timestamp alive in the background for the length of the run. The three later prompts then never appear. The password is still typed once, by a person.
  • Or accept three prompts and document them as the places the run pauses.

Asking once is the better experience and changes nothing about what runs as root.

For the rest

  • Audit every install/* that calls a third-party installer for a non-interactive flag and pass it.
  • Have install/gh skip the upgrade when gh auth status fails, with one line saying why.
Lingua principale
Shell
Stelle
1
Fork
0
Merge medio
14h 36m
PR unite (30g)
3

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di indexzero/dotfiles

Tutte le issue di indexzero/dotfiles

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.