phronmophobic / dewey

Index of Clojure libraries available on github.
Eclipse Public License 1.0
76 stars 1 forks source link

What is the rationale behind the `:lib` value format? #1

Closed sheluchin closed 1 year ago

sheluchin commented 1 year ago

Hi, @phronmophobic.

I'm trying to understand the data that dewey provides. I noticed that there is a :lib key that - I presume - holds a unique identifier for each project, in a format like io.github.phronmophobic/dewey. Could you please explain the rationale for this format?

https://github.com/phronmophobic/dewey/blob/2318c3a0d08ea557e12278f2927e20b4b2fbe8a1/src/com/phronemophobic/dewey.clj#LL276C40-L276C75

phronmophobic commented 1 year ago

It's a convention used by the clojure cli tools, https://clojure.org/reference/deps_and_cli#find-versions. It's also recognized by clojars, https://github.com/clojars/clojars-web/wiki/Verified-Group-Names#how-do-i-verify-a-group-name.

sheluchin commented 1 year ago

Big thanks for those pointers, @phronmophobic. Not sure how I missed that detail until now.