foundweekends / foundweekends/conscript
Conscript incorrectly reports "Repository not found on github" when it can't find a branch
- Langage dominant
- Scala
- Étoiles
- 477
- Forks
- 59
- Merge moyen
- 1 h 2 min
- PR mergées (30 j)
- 7
Description
When conscript fails to find the default "master" branch -- or the specified branch if one is specified -- then it incorrectly reports "Repository not found on github" rather than reporting that it cannot find the branch.
Example:
Type: cs sbt/sbt
Result: "Repository not found on github" because there is no "master" branch
Type: cs sbt/sbt --branch 0.13.12 # from http://www.scala-sbt.org/release/docs/Scripts.html
Result: Result: "Repository not found on github" because there is no 0.13.12 branch
Type: cs sbt/sbt --branch 0.13
Result: works (at the time of this writing)
This was very confusing as a complete newbie trying to figure out what was going wrong until I realized it simply wasn't findng the branch.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Reproduce the issue with `cs sbt/sbt`, `--branch 0.13.12`, and `--branch 0.13` to confirm the different branch outcomes. Trace the branch lookup and error-reporting path; done means a missing default or specified branch reports that the branch cannot be found instead of claiming the repository is missing.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- scala
- Domaine
- cli
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 45/100