Faster bootstrap runs without changing what a profile installs
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 42/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- docker, shell
- Área
- build-system
Línea de trabajo
Start by reading build/tart/vm run and install/brew, which the issue names as the VM launch and brew installation entry points. Check how profile sets are selected and how the checkout is mounted, then trace the bootstrap loop for mise, runtimes, and nix. Done means the allowed brew sets install in one bundle call, the host cache is reused, and a fresh run still proves the complete profile works.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
A full headless run spends most of its time in the brew step. Almost all of that time goes to downloading bottles. The previous run already downloaded the same bottles into a VM that was then thrown away.
The profile cut is right and should not be trimmed further. The laptop needs gcc, llvm, pandoc, and tectonic, so the VM must install them too. The time can be recovered elsewhere.
-
Share Homebrew's download cache from the host.
build/tart/vm runalready mounts the checkout. A second mount, read-write, can hold the cache.HOMEBREW_CACHEinside the guest points at it. Bottles then download once per host instead of once per VM, and a reset VM pours from cache. This is the biggest win, and it changes nothing about the result. -
One bundle call per run.
install/brewbundles set by set so that a profile can omit some sets. Bundle fetches every download for one call in parallel. Twelve calls therefore mean twelve serial fetch phases. The installer can generate a temporary Brewfile that includes only the allowed sets and run onebrew bundleagainst it. The per-set omission survives, and the run gets one fetch phase. -
Homebrew environment for the run. The bootstrap can set
HOMEBREW_NO_AUTO_UPDATE,HOMEBREW_NO_INSTALL_CLEANUP, andHOMEBREW_NO_ENV_HINTSfor its own process. Those three stop the repeated update checks, the cleanup passes between calls, and the hint noise in the log. The installer still runsbrew updateonce, explicitly. -
A checkpoint VM for the loop, never for the proof.
tart cloneof a VM stopped right after the brew step gives a starting point for iterating onmise,runtimes, andnixin minutes. The fresh run stays the only evidence that the whole thing works. This checkpoint would have shortened the last four iterations considerably.
- Lenguaje dominante
- Shell
- Estrellas
- 1
- Forks
- 0
- Merge medio
- 14 h 36 min
- PR fusionados (30 d)
- 3
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin 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 indexzero/dotfiles
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 56/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 39/100
-
Easy to remember one-linersAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 48/100
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 8/100
Todos los issues de indexzero/dotfiles
Issues similares
-
数据界面的横向滚动条缺失Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
zilliztech/attu#1037 ·
-
AdminNeo is failing to updateAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
good first issue tests
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
alunduil/alunduil-chezmoi#964 ·
Los mantenedores suelen responder en 1 día
-
bug-unconfirmed
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
Los mantenedores suelen responder en 1 día