Why aren't libraries like clojure/(data.csv, ...) on clojars.org?

259 views
Skip to first unread message

Jakub Holy

unread,
May 10, 2015, 6:43:47 AM5/10/15
to clo...@googlegroups.com
This is essentially a question to Cognitect / developers of the clojure/* libraries but I do not know of a better communication channel than this one.

To me, clojars is the one place to go to find out what libraries are there and especially what is the latest version. It always surprises me that some core libraries such as .e.g clojure.data.cvs aren't there. It is annoying and difficult to remember that I have to search both clojars and Maven Central. I think it would be really wonderful if these libraries too could be on clojars. Or is there any reason why this cannot be the case?

(I know there are sites for finding libraries such as Clojure Toolbox but that is not really what I am asking for here.)

Thank you!

Best regards, Jakub Holy

Sergey Didenko

unread,
May 10, 2015, 5:16:47 PM5/10/15
to clo...@googlegroups.com
(A bit offtopic) Leiningen fetches libraries from Clojars and Maven, so I guess this problem is not visible to the big part of the community.


--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@googlegroups.com
Note that posts from new members are moderated - please be patient with your first post.
To unsubscribe from this group, send email to
clojure+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups "Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Alex Miller

unread,
May 11, 2015, 1:19:03 AM5/11/15
to clo...@googlegroups.com
As usual, the answer is a combination of technical goals intertwined with history. Stuart Sierra is probably the one with the most knowledge of the history - it predates my involvement with Clojure in a deep way. Best link I see is: http://dev.clojure.org/pages/viewpage.action?pageId=950842. In summary, it was of primary importance to be available to the broader Java ecosystem and Maven central was already blessed and understood by that audience.

This is also from a time when builds based on Maven, Ant, Gradle, etc were more common than the relatively new and less-featured Leiningen. Those tools already understood Maven Central but had to be configured to use Clojars. I'm unsure of the exact timeline, but I'm pretty sure Clojars predated Leiningen by a year or two.

Jakub Holy

unread,
May 11, 2015, 1:33:41 AM5/11/15
to clo...@googlegroups.com

Thank you, Alex. I understand and agree with the importance of publishing to Maven Central but my question is why can't we publish *also* to Clojars?

--
Forget software. Strive to make an impact, deliver a valuable change.

(Vær så snill og hjelp meg med å forbedre norsken min – skriftlig og muntlig. Takk!)

Jakub Holy
Solutions Engineer | +47 966 23 666
Iterate AS | www.iterate.no
The Lean Software Development Consultancy
http://theholyjava.wordpress.com/ -

--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@googlegroups.com
Note that posts from new members are moderated - please be patient with your first post.
To unsubscribe from this group, send email to
clojure+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to a topic in the Google Groups "Clojure" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/clojure/kGwmWLRAUNo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to clojure+u...@googlegroups.com.

Alex Miller

unread,
May 11, 2015, 3:19:34 AM5/11/15
to clo...@googlegroups.com
We could, but the benefits do not seem worth the effort to me.

Lars Andersen

unread,
May 11, 2015, 4:35:56 AM5/11/15
to clo...@googlegroups.com
A while back I wrote some code for clj-refactor to help out when adding a new project dependency.  When you call this function, in emacs, you get a completing read of an artifact id, a completing read of available versions, and it then updates your project.clj and hotloads the new dependency into the repl.

Retrieving the required data from clojars was entirely trivial, but then I noticed the most important projects were missing, because they were hosted on Maven central!

Having all Clojure artifacts in one place would make it a lot easier to write programs consuming said artifacts.

Niels van Klaveren

unread,
May 11, 2015, 4:53:47 AM5/11/15
to clo...@googlegroups.com
Code that does consume artifacts would never be complete with just adding maven central or having libraries duplicated on clojars. It should use the repo info from lein or maven to include local, snapshot and other external repositories, like lein ancient does.

Jakub Holy

unread,
May 11, 2015, 5:31:59 AM5/11/15
to clo...@googlegroups.com

Is it so much effort? Isn't / couldn't it be a simple, automated step?

--
Forget software. Strive to make an impact, deliver a valuable change.

(Vær så snill og hjelp meg med å forbedre norsken min – skriftlig og muntlig. Takk!)

Jakub Holy
Solutions Engineer | +47 966 23 666
Iterate AS | www.iterate.no
The Lean Software Development Consultancy
http://theholyjava.wordpress.com/ -

Reply all
Reply to author
Forward
0 new messages