[ 
https://issues.apache.org/jira/browse/CURATOR-429?focusedWorklogId=241528&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-241528
 ]

ASF GitHub Bot logged work on CURATOR-429:
------------------------------------------

                Author: ASF GitHub Bot
            Created on: 14/May/19 05:14
            Start Date: 14/May/19 05:14
    Worklog Time Spent: 10m 
      Work Description: grgrzybek commented on issue #311: [CURATOR-429] Make 
Curator 4.x compatible with Zookeeper 3.4.x in OSGi too
URL: https://github.com/apache/curator/pull/311#issuecomment-492081621
 
 
   @shayshim OSGi is generally very confusing runtime/technology to enforce the 
most sane and obvious rules that should always be used.
   In other words, if you assume _semantic versioning_ (which tells you that 
between 1.0.0 and 2.0.0 you have breaking changes and between 1.0.0 and 1.1.0 
you have some changes and between 1.0.0 and 1.0.1 you have only bug fixes), 
then you should not be able to blindly upgrade some dependencies if they have 
some breaking or medium API changes.
   
   OSGi (here, using maven-bundle-plugin and bndlib) gives you strict rules - 
it can analyze your POM and decide about the safe version _range_ you can use.
   By default, if Curator 4.1.1 has dependency on Zookeeper 3.5.4-beta, the 
generated/assumed/default _Import range_ is `[3.5,4.0)`, which again - is 
reasonable. maven-bundle-plugin doesn't know that Curator is also compatible 
with Zookeeper 3.4.x - in this case you have to be explicit and use `[3.4,4.0)` 
range instead of `*` which generates `[3.5,4.0)`.
   
   I hope this clears confusion. Also @oscerd provided good explanation.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 241528)
    Time Spent: 1.5h  (was: 1h 20m)

> Make Curator 4.x compatible with Zookeeper 3.4.x in OSGi too
> ------------------------------------------------------------
>
>                 Key: CURATOR-429
>                 URL: https://issues.apache.org/jira/browse/CURATOR-429
>             Project: Apache Curator
>          Issue Type: Improvement
>    Affects Versions: 4.0.0
>            Reporter: Andrea Cosentino
>            Assignee: Jordan Zimmerman
>            Priority: Minor
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Currently in OSGi curator need Zookeeper >= 3.5 to work. Maybe you can think 
> of relaxing this constraint by adding a version range.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to