Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 504526

Summary: Use explicit features in Eclipse SDK product instead of the sdk feature
Product: [Eclipse Project] Platform Reporter: Lars Vogel <Lars.Vogel>
Component: RelengAssignee: Platform-Releng-Inbox <platform-releng-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: akurtakov, daniel_megert, david_williams, Lars.Vogel, loskutov, sravankumarl
Version: 4.6   
Target Milestone: ---   
Hardware: PC   
OS: All   
See Also: https://git.eclipse.org/r/82604
https://git.eclipse.org/r/110721
https://git.eclipse.org/c/platform/eclipse.platform.releng.aggregator.git/commit/?id=9fdd53fcf7ab6d94148df7f93b216992f3173a13
https://git.eclipse.org/r/140981
https://git.eclipse.org/c/platform/eclipse.platform.releng.aggregator.git/commit/?id=7c10f221407ee697fcd2579139f267825802b2a4
https://git.eclipse.org/r/140982
https://git.eclipse.org/c/platform/eclipse.platform.releng.aggregator.git/commit/?id=b94a2d411480ba5d8494409b7874cde19806f177
https://git.eclipse.org/c/platform/eclipse.platform.releng.git/commit/?id=82d40262c5966fe8351ce09cb2b89820d84c16e9
https://bugs.eclipse.org/bugs/show_bug.cgi?id=548353
https://git.eclipse.org/r/144309
https://git.eclipse.org/r/144310
https://git.eclipse.org/c/platform/eclipse.platform.releng.aggregator.git/commit/?id=f92671ac253504b7d152edba2b942b7b30b11ef6
https://git.eclipse.org/c/platform/eclipse.platform.releng.git/commit/?id=796e4099a73769fd3d59e2f302386f3402d968e8
https://bugs.eclipse.org/bugs/show_bug.cgi?id=548367
Whiteboard:
Bug Depends on:    
Bug Blocks: 526629    

Description Lars Vogel CLA 2016-10-06 06:49:32 EDT
Currently the eclipse SDK feature includes the features listed below. To make it easier to customize the product and potentially introduce root level features for the SDK I suggest to move these features to the product.

<includes
      id="org.eclipse.cvs"
      version="0.0.0"/>
<includes
      id="org.eclipse.cvs.source"
      version="0.0.0"/>
<includes
      id="org.eclipse.help"
      version="0.0.0"/>
<includes
      id="org.eclipse.help.source"
      version="0.0.0"/>
<includes
      id="org.eclipse.jdt"
      version="0.0.0"/>
<includes
      id="org.eclipse.jdt.source"
      version="0.0.0"/>
<includes
      id="org.eclipse.pde"
      version="0.0.0"/>
<includes
      id="org.eclipse.pde.source"
      version="0.0.0"/>
<includes
      id="org.eclipse.platform.source"
      version="0.0.0"/>
Comment 1 Eclipse Genie CLA 2016-10-06 06:54:11 EDT
New Gerrit change created: https://git.eclipse.org/r/82604
Comment 2 David Williams CLA 2016-10-06 08:38:03 EDT
I think this idea deserves consideration, but will just point out it is a huge change. Many consumers assume if they get the "sdk feature" then they are getting the code equivalent of the "sdk product". In fact, I would wonder if we would need an "sdk feature" at all, if component features are moved to product definition. 

But, in any case, my only point is that this is something that would have to be very well communicated and documented (such as in migration guide, cross project list, etc.). 

BTW, it is not clear why org.eclipse.platform.source is included in "product" but not the code counterpart? (There could be a good reason for it, it is just not clear.) 

Thanks for listening.
Comment 3 Lars Vogel CLA 2016-10-06 08:41:52 EDT
(In reply to David Williams from comment #2)
> I think this idea deserves consideration, but will just point out it is a
> huge change. Many consumers assume if they get the "sdk feature" then they
> are getting the code equivalent of the "sdk product". 


> I would wonder if we would need an "sdk feature" at all, if component 
> features are moved to product definition.

I like this idea. This would remove one component from the process without any loss of functionality.
 
Good point. I suggest we move the "included features" to dependencies. This will avoid that customers consume the sdk feature and receive a reduced set. 

> BTW, it is not clear why org.eclipse.platform.source is included in "product" > but not the code counterpart

Surprised me too.
Comment 4 Lars Vogel CLA 2016-10-07 02:01:26 EDT
(In reply to David Williams from comment #2)
> Many consumers assume if they get the "sdk feature" then they
> are getting the code equivalent of the "sdk product". 

After some thing about this, I think this risk to change the sdk feature is to high at the moment. 

> In fact, I would
> wonder if we would need an "sdk feature" at all, if component features are
> moved to product definition. 

Really a great idea, lets go for this approach. As the product is ours, we can change it to consume the referred features directly and remove the usage of the sdk feature. 

This allow will allow us in the future to use root level features and make our product definition more flexible.
Comment 5 Sravan Kumar Lakkimsetti CLA 2016-10-18 05:50:21 EDT
Based on comment 4. Moving to M4
Comment 6 Sravan Kumar Lakkimsetti CLA 2016-11-24 06:58:45 EST
Hi Lars,

Do you think this bug is required. If not can you close this?

Thanks
Sravan
Comment 7 Lars Vogel CLA 2016-11-24 08:37:32 EST
(In reply to Sravan Kumar Lakkimsetti from comment #6)
> Do you think this bug is required. If not can you close this?

I think it would add value to our users, but I first want to do some local builds to validate that for example updates still work. Unfortunately local builds take forever so this testing takes some dedicated time.
Comment 8 Sravan Kumar Lakkimsetti CLA 2017-05-25 07:16:10 EDT
Moving to 4.8
Comment 9 Lars Vogel CLA 2017-10-30 07:05:21 EDT
The org.eclipse.sdk branding plug-in is currently included in the org.eclipse.sdk feature which also includes all other features.

@Alex
Instead of adding another feature with only contains the org.eclipse.sdk feature I suggest to remove the other plug-ins from the org.eclipse.sdk feature. AFAIK the EPP do not use it (as they do not deliver cvs). We could announce this change on cross to get additional feedback. 

Or do you think we should add another feature?
Comment 10 Eclipse Genie CLA 2017-10-30 07:10:13 EDT
New Gerrit change created: https://git.eclipse.org/r/110721
Comment 11 Sravan Kumar Lakkimsetti CLA 2018-08-23 02:45:13 EDT
There are plans for this. Will revisit in 4.10
Comment 12 Sravan Kumar Lakkimsetti CLA 2018-12-04 07:05:36 EST
Moving out of 4.10. Please re triage appropriately
Comment 14 Eclipse Genie CLA 2019-04-23 08:37:39 EDT
New Gerrit change created: https://git.eclipse.org/r/140981
Comment 16 Eclipse Genie CLA 2019-04-23 08:38:04 EDT
New Gerrit change created: https://git.eclipse.org/r/140982
Comment 17 Sravan Kumar Lakkimsetti CLA 2019-06-03 23:59:30 EDT
Removing target now. Please retriage as necessary
Comment 18 Lars Vogel CLA 2019-06-12 13:17:49 EDT
If no one objects I plan to change our product to feature based soon.
Comment 21 Lars Vogel CLA 2019-06-13 04:09:51 EDT
Marking as fixed, we may need to reopen if we identify issues with the build result.
Comment 22 Andrey Loskutov CLA 2019-06-17 14:53:20 EDT
Reopening: Lars, please sent a mail to cross-project with explanation of possible side effects for downstream consumers, as per comment 2.

If I understand it correctly, every product that included SDK feature need to be updated to include list of removed features.

I also assume we should add a note to the release notes for 4.13 with similar content.

Also please check if this Gerrit issue is related: https://www.eclipse.org/lists/platform-releng-dev/msg33835.html and if we need to update some test configurations that assumed to see the full SDK by including SDK feature, and now see almost nothing.
Comment 23 Sravan Kumar Lakkimsetti CLA 2019-06-18 00:13:19 EDT
There is no pack200 file associated with the moved features

https://download.eclipse.org/eclipse/downloads/drops4/I20190617-1800/buildlogs/reporeports/reports/pack200data.txt
Comment 24 Eclipse Genie CLA 2019-06-18 02:24:53 EDT
New Gerrit change created: https://git.eclipse.org/r/144309
Comment 25 Eclipse Genie CLA 2019-06-18 02:25:06 EDT
New Gerrit change created: https://git.eclipse.org/r/144310
Comment 28 Andrey Loskutov CLA 2019-06-18 05:50:29 EDT
(In reply to Andrey Loskutov from comment #22)
> Also please check if this Gerrit issue is related:
> https://www.eclipse.org/lists/platform-releng-dev/msg33835.html and if we
> need to update some test configurations that assumed to see the full SDK by
> including SDK feature, and now see almost nothing.

Yes, this was related: generated update repository contained less artifacts as expected. I wonder if repo publishing task need to be updated, may be it works with features?
Comment 29 Alexander Kurtakov CLA 2019-07-02 11:38:50 EDT
Remove target milestone. Whoever plans to push that in the future please be ready to spend some non trivial time on releng and etc. to get it right.
Comment 30 Lars Vogel CLA 2019-07-02 11:43:38 EDT
Please reopen, if you plan to work on this.