Improve error messaging for typos
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
Research direction
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.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- Clojure
- Stars
- 195
- Forks
- 15
- Avg merge
- 1m
- Merged PRs (30d)
- 2
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from babashka/bbin
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 50/100
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 64/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
nextjournal/clerk#830 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
IOP tokens release blocker team qa team qa autotests WG adoption
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
penpot/penpot#13540 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
izhangzhihao/intellij-rainbow-brackets#2903 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100