Bug 439109 - Revert the systematic version bump on Export-Package
Summary: Revert the systematic version bump on Export-Package
Status: CLOSED WONTFIX
Alias: None
Product: Sirius
Classification: Modeling
Component: Core (show other bugs)
Version: 1.0.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.0.1   Edit
Assignee: Project inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks: 440884
  Show dependency tree
 
Reported: 2014-07-08 04:32 EDT by Pierre-Charles David CLA
Modified: 2014-08-05 09:12 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre-Charles David CLA 2014-07-08 04:32:16 EDT
Right after the 1.0.0 release, we created a v1.0.x maintenance branch, and the first commit on that branch (a3b8683cf236e95748e25c94be673c88768d7a96) was to bump the version number globally to 1.0.1. The bumpd was performed globally, on all feature and bundles versions, and an all exported packages versions. I'm not clear yet on what is the correct thing to do from an OSGi point of view, but such a global change is too broad.
Comment 1 Pierre-Charles David CLA 2014-07-08 04:37:45 EDT
Proposal: only bump to 1.0.1 the version of exported packages where there is at least one change since 1.0.0, and the plug-ins/bundles which contain at least one such package, and the features which include at least one such plug-in.

This minimizes the changes but keeps the expectation that a bundle's (resp. feature's) version is the max all its exported packages (resp. bundles) versions.
Comment 2 Pierre-Charles David CLA 2014-08-05 09:12:34 EDT
After discussion with people more knowledgeable than me on OSGi technicalities, it seems that while not ideal the global bump to 1.0.1 can not cause actual issues in practice. We'll try to use a more precise approach for the next major version, but for the 1.0.x maintenance stream we'll keep the simple global bump as it is.