babashka / bbin

Install any Babashka script or project with one command
MIT License
139 stars 9 forks source link

Support all possible "lib to url" cases #3

Closed rads closed 1 year ago

rads commented 2 years ago

Source: https://clojure.org/reference/deps_and_cli#_coord_attributes Related: https://clojure.atlassian.net/browse/TDEPS-228

Lib format Inferred :git/url
io.github.ORG/PROJECT "https://github.com/ORG/PROJECT.git"
com.github.ORG/PROJECT "https://github.com/ORG/PROJECT.git"
io.gitlab.ORG/PROJECT "https://gitlab.com/ORG/PROJECT.git"
com.gitlab.ORG/PROJECT "https://gitlab.com/ORG/PROJECT.git"
io.bitbucket.ORG/PROJECT "https://bitbucket.org/ORG/PROJECT.git"
org.bitbucket.ORG/PROJECT "https://bitbucket.org/ORG/PROJECT.git"
io.beanstalkapp.ORG/PROJECT "https://ORG.git.beanstalkapp.com/PROJECT.git"
com.beanstalkapp.ORG/PROJECT "https://ORG.git.beanstalkapp.com/PROJECT.git"
ht.sr.ORG/PROJECT "https://git.sr.ht/~ORG/PROJECT"
rads commented 2 years ago

This needs to be resolved in deps-info first: https://github.com/rads/deps-info/issues/1