jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Gaul (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (JCLOUDS-228) consider update to Clojure 1.5.1 as minimum version
Date Wed, 21 Jan 2015 19:18:34 GMT

     [ https://issues.apache.org/jira/browse/JCLOUDS-228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrew Gaul updated JCLOUDS-228:
--------------------------------
    Issue Type: Improvement  (was: Bug)

> 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: Improvement
>            Reporter: David Nalley
>              Labels: clojure
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message