clojars

http://clojars.org discussion and “support”, see http://status.clojars.org for status.
dottedmag 2016-12-21T17:06:18.000025Z

I have tried to run a local copy using a README on clojars-web: cloned, ran (migrate) in REPL, copied ~/.m2/repository into data/dev_repo, ran lein run -m clojars.tools.setup-dev, ran (run), and now I see a website with no packages.

dottedmag 2016-12-21T17:07:20.000027Z

all.edn is empty.

dottedmag 2016-12-21T17:08:14.000028Z

jars table in data/db is empty too. I suppose I need to pass some argument to setup-dev to point to repo?

dottedmag 2016-12-21T17:17:48.000029Z

Hmm, I have supplied a config using JAVA_TOOL_OPTIONS=-Dclojars.config.file=dev-resources/config.clj, now it indexed something.

dottedmag 2016-12-21T17:42:03.000030Z

Heh, I made it work, but it's not user-friendly. E.g. all releases uploaded yesterday: https://clojars.org/search?q=at%3A%5B1482255662000+TO+1482342072000%5D

dottedmag 2016-12-21T17:42:28.000032Z

The numbers are, obviously, Unix timestamps in milliseconds.

dottedmag 2016-12-21T17:42:38.000033Z

Syntax is straightforward Lucene.

dottedmag 2016-12-21T18:36:24.000035Z

Search is a Lucene query, so to make it better one has to traverse Query returned by Lucene parser and adjust all kinds of queries using field at. Not hard, but cumbersome.