clojars / clojars-web

A community repository for open-source Clojure libraries
https://clojars.org
Eclipse Public License 1.0
469 stars 114 forks source link

Index of namespaces -> information about files and jars it came from #793

Open borkdude opened 3 years ago

borkdude commented 3 years ago

For deps-infer I made a script that can index a jar repo:

https://github.com/borkdude/deps-infer/blob/main/src/deps_infer/clojars.clj

It would be nice if we could run this script on incremental changes in clojars, so one can lookup a namespace name and get information about jars that expose this namespace.

This has multiple benefits, other than use in deps-infer. E.g. you can look up if a namespace is already taken, detect existing clashes, etc.