quarto-dev / quarto-dev/quarto-cli
Pressing ctrl-c when quarto is updating breaks installation
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- JavaScript
- Sterne
- 6k
- Forks
- 458
- Ø Merge
- 1 T. 9 Std.
- Gemergte PRs (30 T.)
- 41
Beschreibung
I installed Quarto by cloning this repo and running ./configure-macos.sh. Sometimes I update with a git pull, and then when I actually use quarto, it updates Deno. If I press ctrl-c when it's in the middle of updating, it breaks my quarto installation. For example:
$ quarto render
Bootstrapping Deno...
~/nobackup/quarto-cli/package ~/nobackup/quarto-cli
~/nobackup/quarto-cli/package/dist ~/nobackup/quarto-cli/package ~/nobackup/quarto-cli
~/nobackup/quarto-cli/package/dist/bin ~/nobackup/quarto-cli/package/dist ~/nobackup/quarto-cli/package ~/nobackup/quarto-cli
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 667 100 667 0 0 2533 0 --:--:-- --:--:-- --:--:-- 2605
46 28.7M 46 13.3M 0 0 5045k 0 0:00:05 0:00:02 0:00:03 6572k^C
$ quarto render
-bash: /usr/local/bin/quarto: No such file or directory
Running ./configure-macos.sh fixes it, but it would be nice if it didn't break in the first place.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Start by reading configure-macos.sh and tracing the update/bootstrap path used when quarto render updates Deno. Reproduce the interrupted update if possible, then verify that pressing Ctrl-C does not leave the quarto command unavailable and that a subsequent render still works.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- javascript, shell
- Bereich
- build-system, tooling
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100