Since I've only ever submitted one patch to an ASF project, I'll go ahead and use GitHub for now. I've been meaning to properly learn Git anyway, so that'll be good motivation. Once the shape comes together, it could always be moved.
As for the actual artifact, the clojure-contrib-sql API seems to be a good reference: http://richhickey.github.com/clojure-contrib/sql-api.html Interacting with JCR is more involved than using a JDBC connection, of course, but I think a lot of the same patterns could be used to access basic functionality. A form like with-connection (in the linked doc) could be a wrapper around javax.jcr.RepositoryFactory and JNDI that fluidly binds a repository, for example. Your idea of implementing RangeIterators with seqs is very cool; checking the Jackrabbit javadoc reveals that the implementation is already lazy, so this wouldn't be as big of a leap as I thought at first. Of course, other nice "big-leap" ideas are very welcome. I apologize if this is a bit off-topic for this list, but having more experience with Lisps than JCR, all of your insights are invaluable. Thanks, Adam Foltzer On Wed, Feb 17, 2010 at 9:31 AM, Jukka Zitting <[email protected]>wrote: > Hi, > > On Wed, Feb 17, 2010 at 3:05 PM, Adam Foltzer <[email protected]> wrote: > > I've been thinking about starting a clojure-contrib-style library for the > > JCR API. When I googled around for an existing project, I found the cljcr > > project stub in Jukka's github: http://github.com/jukka/cljcr > > > > I'd just like to know if there's interest in this in the Jackrabbit > > community, targeting JCR 2.0. I'm relatively new to open source > development, > > so I'm not sure how to actually proceed aside from just digging into the > > code. Thanks in advance for your thoughts. > > I'd be happy to work with you on this. I've been playing with Clojure > a bit and having a simple Clojure layer on top of JCR (converting > RangeIterators to sequences, etc.) would be cool. > > If you like we can repurpose the cljcr stub I started for this or then > start a new Git repository for that. We could also use the Jackrabbit > sandbox, but you'd need to be an Apache committer to have write access > there. > > BR, > > Jukka Zitting >
