The bootstrap still stops for prompts
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 56/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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/ghskip the upgrade whengh auth statusfails, with one line saying why.
- Ngôn ngữ chính
- Shell
- Star
- 1
- Fork
- 0
- Merge trung bình
- 14 giờ 36 phút
- Pull request đã merge (30 ngày)
- 3
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không 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 indexzero/dotfiles
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 39/100
-
Easy to remember one-linersĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 48/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 8/100
Tất cả issue của indexzero/dotfiles
Issue tương tự
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
melodic-software/claude-code-plugins#9619 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:ci area:kext enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
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 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug CLI documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
openai/codex#56630 · 3 bình luận · 3 reaction ·
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 82/100
bioconda/bioconda-recipes#70683 ·
Maintainer thường phản hồi trong vòng 1 ngày