Improve error messaging for typos

Aperta
#112 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
55/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
clojure, git
Ambito
cli

Direzione di ricerca

Reproduce the failure with bbin install io.github.rads/doesnt-exist and inspect the install path that surfaces the raw Git+SSH error. Compare the related issue 111 for context. Done means a higher-level bbin error explains that the repository was not found without presenting it as a Git problem.

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

Descrizione

Attempting to install a repo that doesn't exist results in a raw Git+SSH error message. This can be confusing because if the repo is found it would otherwise be installed with Git+HTTP instead of Git+SSH. It would be helpful to report a higher-level bbin error that clarifies it's not actually a Git issue. See also: https://github.com/babashka/bbin/issues/111

$ bbin install io.github.rads/doesnt-exist

Starting install...
----- Error --------------------------------------------------------------------
Type:     clojure.lang.ExceptionInfo
Message:  Unable to clone /Users/rads/.gitlibs/_repos/ssh/github.com/rads/doesnt-exist
ERROR: Repository not found.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Lingua principale
Clojure
Stelle
195
Fork
15
Merge medio
1m
PR unite (30g)
2

Preparare l'ambiente

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 babashka/bbin

Tutte le issue di babashka/bbin

Issue simili

Altre issue su Clojure

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.