Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 490515 - Prevent upgrade from old to new EPP package layout
Summary: Prevent upgrade from old to new EPP package layout
Status: CLOSED FIXED
Alias: None
Product: EPP
Classification: Technology
Component: package content (show other bugs)
Version: 4.6.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 4.6.0M6   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 332989
  Show dependency tree
 
Reported: 2016-03-28 07:53 EDT by Markus Knauer CLA
Modified: 2022-09-25 09:22 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 Markus Knauer CLA 2016-03-28 07:53:07 EDT
An upgrade from the old EPP package structure (single EPP feature defines the package content) to the new package structure (multiple independent root features in the product define the content) would lead to unintended side effects which are unexpected by most users - one of the most prominent side effect would be the removal of large parts of the content.

Because of this it sounds like the best approach to prevent the upgrade from earlier releases (Mars / 4.5) to the new release (Neon / 4.6).
Comment 1 Markus Knauer CLA 2016-03-28 10:56:26 EDT
Gerrit change 69371 uses the p2.inf files to prevent updates from versions <= Eclipse Neon M5 in all packages. The p2.inf files are applied to both, the package feature and the product definition:

 update.id = epp.package.android
 update.range = [4.6.0.20160301-1200, $version$)
 update.severity = 0
 update.description = Eclipse package upgrade from versions before Eclipse Neon (4.6) is not possible. See bug 332989.

I've tested the results with local builds and they seem to work as expected (to everyone else: it is important that the qualifier is incremented, too, in local builds). Nevertheless the solution should be reviewed after Neon M6.
Comment 2 Markus Knauer CLA 2016-03-29 12:47:45 EDT
Implemented for all packages with 4.6 M6 (Neon).