babashka / neil

A CLI to add common aliases and features to deps.edn-based projects
MIT License
367 stars 27 forks source link

`neil new`: Support Git repos without tags #173

Closed rads closed 1 year ago

rads commented 1 year ago

My PR to add deps-new support for the Kit framework was recently merged. Right now there are no tags in the Git repo so the following command fails without the --latest-sha flag:

$ neil new io.github.kit-clj/kit foo
Error building classpath. Library io.github.kit-clj/kit has coord with missing sha
----- Error --------------------------------------------------------------------
Type:     java.io.FileNotFoundException
Message:  /Users/rads/.clojure/.cpcache/F3BEBCF530414D55DD81604838227B4C.cp (No such file or directory)
Location: /Users/rads/.gitlibs/libs/io.github.babashka/neil/350c7ce94060bb0a6e57b32d35c37d9b17d88970/neil:480:3

Related: