Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] p2 bundle versions

This is kind of my original point. If the interface is expected to be implemented by clients (does not have an @noimplement tag) then it is a breaking API change and would force an update of the major version. But in many cases we have friends relationships in the p2 bundles that allow p2 bundles to implement "internal" API of other p2 bundles. In these cases it may be appropriate to have a more brittle relationship between the friends relationships.

Tom



Inactive hide details for Ian Bull ---07/12/2010 03:42:18 PM---When a new method is added to an interface, do we not up the majIan Bull ---07/12/2010 03:42:18 PM---When a new method is added to an interface, do we not up the major version number? cheers,


From:

Ian Bull <irbull@xxxxxxxxxxxxxxxxx>

To:

P2 developer discussions <p2-dev@xxxxxxxxxxx>

Date:

07/12/2010 03:42 PM

Subject:

Re: [p2-dev] p2 bundle versions




When a new method is added to an interface, do we not up the major version number?

cheers,
ian

On Mon, Jul 12, 2010 at 1:35 PM, Thomas Watson <tjwatson@xxxxxxxxxx> wrote:
    One thing to keep in mind is the difference between an implementer of some API and a client of it. I am not sure if this is the case you mention below but if one bundle is implementing an interface defined in another bundle then a more tightly bound version range may be needed to ensure new methods are not added to the interface being implemented.

    Tom



    Inactive hide details for Ian Bull ---07/12/2010 03:19:08 PM---As part of the work I did on [1], I added a new method to the MeIan Bull ---07/12/2010 03:19:08 PM---As part of the work I did on [1], I added a new method to the MetadataFactory. Since this class is API, I've up'd the version n


From:

Ian Bull <irbull@xxxxxxxxxxxxxxxxx>

To:

P2 developer discussions <p2-dev@xxxxxxxxxxx>

Date:

07/12/2010 03:19 PM

Subject:

[p2-dev] p2 bundle versions



--
R. Ian Bull | EclipseSource Victoria | +1 250 477 7484

http://eclipsesource.com | http://twitter.com/eclipsesource_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev


GIF image

GIF image


Back to the top