Bug 410586 - Luna development streams
Summary: Luna development streams
Status: NEW
Alias: None
Product: QVTo
Classification: Modeling
Component: Engine (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-12 08:27 EDT by Ed Willink CLA
Modified: 2013-06-20 07:00 EDT (History)
1 user (show)

See Also:
ed: review? (serg.boyko2011)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Willink CLA 2013-06-12 08:27:06 EDT
To avoid accidental delivery of changed same-version plugins for Luna milestones, all version numbers should be bumped by 0.0.100.

Then when edits happen on a x.y.100, 0.1 should be added, but forgetting does not cause conflicts.
Comment 1 Ed Willink CLA 2013-06-12 08:39:48 EDT
Version changes pushed to branch edw/410586 for review.
Comment 2 Sergey Boyko CLA 2013-06-13 04:40:07 EDT
(In reply to comment #0)
> To avoid accidental delivery of changed same-version plugins for Luna
> milestones, all version numbers should be bumped by 0.0.100.
> 
> Then when edits happen on a x.y.100, 0.1 should be added, but forgetting
> does not cause conflicts.

Hi Ed,

I don't think it's a reasonable idea to bump all plug-ins to 0.0.100
Only plug-ins with changed content should increase it's version.

-1 for the change
Comment 3 Ed Willink CLA 2013-06-13 06:10:37 EDT
Sergey: Please reconsider.

a) the Eclipse version numbering policy[1] requires +0.0.100 for any touch to any continuing development streams.

b) we had significant problems in QVTo and less in OCL releases where at M1/M2 a developer neglected to update all the ancestral version numbers.

Consequently when SR1 came along, there were two different development streams contributing the 'same' version number and the consequent date qualifier gave at best unpredictable results, at worst gave P2 a major headache.

[1] http://wiki.eclipse.org/Version_Numbering#When_to_change_the_service_segment
Comment 4 Ed Willink CLA 2013-06-13 08:41:46 EDT
See further discussion on https://bugs.eclipse.org/bugs/show_bug.cgi?id=410589.
Comment 5 Sergey Boyko CLA 2013-06-14 14:35:18 EDT
Hi Ed,

(In reply to comment #3)
> Sergey: Please reconsider.
> 
> a) the Eclipse version numbering policy[1] requires +0.0.100 for any touch
> to any continuing development streams.

Version numbering policy states that version is updated only for plug-in which contains some changes. No bulk update of plug-ins version after the release.
I remeber there was discussion in cross-project mail list about the same subject several years ago. Common decision was that it's not a good practice to update version of all plug-ins (regardless of actual changes) between releases.

> 
> b) we had significant problems in QVTo and less in OCL releases where at
> M1/M2 a developer neglected to update all the ancestral version numbers.

To tell the truth I don't know / remember on what problems with QVTo you are referring to.

> 
> Consequently when SR1 came along, there were two different development
> streams contributing the 'same' version number and the consequent date
> qualifier gave at best unpredictable results, at worst gave P2 a major
> headache.

Of course you're right and plug-in version should be correctly updated but only for affected one.
Btw, scheme which is used for qualifier construction prevents most of possible problems / conflicts with version.


> 
> [1]
> http://wiki.eclipse.org/Version_Numbering#When_to_change_the_service_segment
Comment 6 Sergey Boyko CLA 2013-06-14 14:37:33 EDT
(In reply to comment #4)
> See further discussion on
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=410589.

As far as I see Adolfo also does not like bulk update of version numbering.
Comment 7 Ed Willink CLA 2013-06-14 14:49:13 EDT
(In reply to comment #5)
> > b) we had significant problems in QVTo and less in OCL releases where at
> > M1/M2 a developer neglected to update all the ancestral version numbers.
> 
> To tell the truth I don't know / remember on what problems with QVTo you are
> referring to.

There were so many version number problems when getting QVTo going thjat I forget quite which came when.

> Of course you're right and plug-in version should be correctly updated but
> only for affected one.
> Btw, scheme which is used for qualifier construction prevents most of
> possible problems / conflicts with version.

But only if committers do it right which we never do.

Since you reject my advice on how to ensure that this regular problem doesn't arise, I take it that you will now take over the releng job for which I have no funding.
Comment 8 Sergey Boyko CLA 2013-06-20 06:25:27 EDT
(In reply to comment #7)
> 
> Since you reject my advice on how to ensure that this regular problem
> doesn't arise, I take it that you will now take over the releng job for
> which I have no funding.

Hi Ed,

Excuse me if it looks like I too insist on this. But I still think that version should be updated only for plug-in with changed content.

About releng - you are absolutely right that I should take care of it. I will try to proceed in such a way to avoid mistakes in this tangled (at least for me) area.
Comment 9 Adolfo Sanchez-Barbudo Herrera CLA 2013-06-20 07:00:41 EDT
> 
> About releng - you are absolutely right that I should take care of it. I
> will try to proceed in such a way to avoid mistakes in this tangled (at
> least for me) area.

I see two ways to facilitate this:

a) At Mx build time, comparing master with Mx-1 tag. 

- This should give you changed plugins, and then you should be able to verify that the corresponding manifest have increased their versions.
- Steps to view the comparison:
    1. In GIT repositories view select master branch
    2. Ctrl + Select desired tag
    3. Right click -> "Syncrhonize with each other"
- Two styles to verify changes
    1. Comparing with SR0tag  should to quickly give a quick way to compare and verify manifest.files. However, at M7 for examples you will have a lot of changes to verify
    2. Comparing with Mx-1 tag gives you less changed plugins to verify. However, the verification of the manifest file is harder since it may not appear in the synchronization view (Because it was changed in a previous milestone)

b) Try the Version Management Tool implemented [1] by Eike, which should warn you when you  change a plugin and you don't correctly pump the service segment version. I guess this works in a similar way API tooling does. 

Cheers,
Adolfo.

[1] http://wiki.eclipse.org/CDO/Version_Management_Tool