You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "David Nalley (JIRA)" <ji...@apache.org> on 2013/08/05 14:57:48 UTC

[jira] [Created] (JCLOUDS-228) consider update to Clojure 1.5.1 as minimum version

David Nalley created JCLOUDS-228:
------------------------------------

             Summary: consider update to Clojure 1.5.1 as minimum version
                 Key: JCLOUDS-228
                 URL: https://issues.apache.org/jira/browse/JCLOUDS-228
             Project: jclouds
          Issue Type: Bug
            Reporter: David Nalley


Copied from INFRA-6633 - misfiled under that project

Currently `core.incubator` is required as a Clojure dependency. The `-?>` function is available in Clojure 1.5.1 as `some->`. 

* https://github.com/clojure/core.incubator/blob/master/src/main/clojure/clojure/core/incubator.clj#L29 
* https://github.com/clojure/clojure/blob/master/changes.md#24-new-threading-macros 

``` 
% ack "\-\?>" 
apis/ec2/src/main/clojure/org/jclouds/ec2/ebs2.clj 
22: (:use org.jclouds.compute2 [clojure.core.incubator :only (-?>)]) 
229: size (-?> (get-string options :size) as-int) 

compute/src/main/clojure/org/jclouds/compute2.clj 
62: (org.jclouds predicate) [clojure.core.incubator :only (-?>)]) 
308: (-?> node .getLocation .getId)) 
``` 

I can put in a pull request for the updates if requiring the newer version of Clojure is acceptable.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira