Re: [osgi-dev] Interpretation of semantic versioning?

2013-04-13 Thread Emily Jiang
Hi Andrei, The @ConsumerType annoation will be in future spec. Adding a method in an interface is a major version change if the interface has the annoation of @ConsumerType while it will be a minor change if the interface has the annoation of @ProviderType. In reality, most interfaces will fall

Re: [osgi-dev] Interpretation of semantic versioning?

2013-04-13 Thread BJ Hargrave
The @ConsumerType annoation will be in future spec. Adding a method in an interface is a major version change if the interface has the annoation of @ConsumerType while it will be a minor change if the interface has the annoation of @ProviderType. In reality, most interfaces will fall

Re: [osgi-dev] Interpretation of semantic versioning?

2013-04-13 Thread Emily Jiang
I still disagree. As I mentioned in the call, most interfaces will be provider type (implemented by service provider). If we assume them all to be consumer type (listener pattern), we will bump the major version unnecessarily when a new method is added. Our guess will be wrong 99% or even more. I

Re: [osgi-dev] Interpretation of semantic versioning?

2013-04-13 Thread Ferry Huberts
On 13/04/13 23:56, Emily Jiang wrote: I still disagree. As I mentioned in the call, most interfaces will be provider type (implemented by service provider). If we assume them all to be consumer type (listener pattern), we will bump the major version unnecessarily when a new method is added.

Re: [osgi-dev] Interpretation of semantic versioning?

2013-04-13 Thread Marcel Offermans
On Apr 14, 2013, at 0:13 AM, Ferry Huberts maili...@hupie.com wrote: On 13/04/13 23:56, Emily Jiang wrote: I still disagree. As I mentioned in the call, most interfaces will be provider type (implemented by service provider). If we assume them all to be consumer type (listener pattern), we