Bug 518351 - Finish removal of Update Manager API for org.eclipse.update.core
Summary: Finish removal of Update Manager API for org.eclipse.update.core
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 4.8 M6   Edit
Assignee: Karsten Thoms CLA
QA Contact:
URL:
Whiteboard:
Keywords: api
: 515095 (view as bug list)
Depends on: 311590 367924 525525 527249
Blocks: 530357 366701
  Show dependency tree
 
Reported: 2017-06-16 04:57 EDT by Lars Vogel CLA
Modified: 2018-06-14 14:32 EDT (History)
17 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Vogel CLA 2017-06-16 04:57:58 EDT
+++ This bug was initially created as a clone of Bug #311590 +++

In 2012 we removed the update manager API. Two plug-ins remained in master because they were still used in tests and by PDE. 

See https://bugs.eclipse.org/bugs/show_bug.cgi?id=311590#c8

org.eclipse.update.configurator
org.eclipse.update.core

I suggest we finish the removal process in 4.8.
Comment 1 Alexander Kurtakov CLA 2017-11-14 07:19:36 EST
Karsten, would you be so kind to land a hand here?
What I just did is git submodule foreach 'git grep update.core; return 0;'|wc -l
in eclipse.platform.releng.aggregator repo and this gives me 337 entries. It would be nice if we go a fast quick removal round to reduce this references so we are a bit more sure when we remove update.core.
Comment 2 Eclipse Genie CLA 2017-11-14 10:41:09 EST
New Gerrit change created: https://git.eclipse.org/r/111555
Comment 3 Dani Megert CLA 2017-11-14 11:37:57 EST
Here are just *some* more places where update.core is referenced:

org.eclipse.pde.build/feature - feature.xml
org.eclipse.sdk.tests (feature) - feature.xml
org.eclipse.ua.tests/data/help/dynamic - toc.xml (5 matches)

and org.eclipse.update.configurator is referenced in many files.
Comment 4 Alexander Kurtakov CLA 2017-11-14 11:42:36 EST
(In reply to Dani Megert from comment #3)
> Here are just *some* more places where update.core is referenced:
> 
> org.eclipse.pde.build/feature - feature.xml

not anymore in master

> org.eclipse.sdk.tests (feature) - feature.xml

patch is waiting gerrit verification

> org.eclipse.ua.tests/data/help/dynamic - toc.xml (5 matches)

to be checked
> 
> and org.eclipse.update.configurator is referenced in many files.

update.configurator is gonna be take 2. Concentrating on update.core removal for now as it's not in our install even while update.configurator is still bringed by smth.
Comment 6 Eclipse Genie CLA 2017-11-16 10:52:54 EST
New Gerrit change created: https://git.eclipse.org/r/111722
Comment 8 Eclipse Genie CLA 2017-11-17 07:49:21 EST
New Gerrit change created: https://git.eclipse.org/r/111794
Comment 9 Dani Megert CLA 2017-11-22 05:54:11 EST
I don't see anything regarding this removal in
/org.eclipse.platform.doc.isv/porting/removals.html

Maybe it was there once, but now it is missing. This needs to be added.


What's the bug report that requested to mark this API for deletion?
Comment 10 Lars Vogel CLA 2017-11-22 05:57:20 EST
(In reply to Dani Megert from comment #9)

> What's the bug report that requested to mark this API for deletion?

See Depends on bugs. I think the root bug is 311590. Note that Bug 311590 was before the new API removal process.
Comment 11 Dani Megert CLA 2017-11-22 06:00:06 EST
(In reply to Lars Vogel from comment #10)
> (In reply to Dani Megert from comment #9)
> 
> > What's the bug report that requested to mark this API for deletion?
> 
> See Depends on bugs. I think the root bug is 311590. Note that Bug 311590
> was before the new API removal process.

Thanks! We still have to mention the actual removal in the doc.
Comment 12 Lars Vogel CLA 2017-11-22 06:20:06 EST
(In reply to Dani Megert from comment #11)
> Thanks! We still have to mention the actual removal in the doc.

You suggest adding a "Removed APIs in the Eclipse 4.2. release" entry?
Comment 13 Dani Megert CLA 2017-11-22 06:25:07 EST
(In reply to Lars Vogel from comment #12)
> (In reply to Dani Megert from comment #11)
> > Thanks! We still have to mention the actual removal in the doc.
> 
> You suggest adding a "Removed APIs in the Eclipse 4.2. release" entry?

No. Since we already started to delete the stuff you can add

Removed APIs in the Photon (4.8) release:

It doesn't make sense to list it under "planned".

Then reference/mention the original removal and mention what left-overs we now deleted.
Comment 14 Eclipse Genie CLA 2017-11-22 06:32:20 EST
New Gerrit change created: https://git.eclipse.org/r/112061
Comment 16 Alexander Kurtakov CLA 2017-11-28 08:24:19 EST
Unsetting target milestone as pde changes will take more time.
Comment 17 Lars Vogel CLA 2018-01-09 07:39:10 EST
git grep -l update.core shows references to xml files. See below for the details.

I don't see information how these files are used, so I create a Gerrit to remove the entries and hope that Alex can provide feedback on the change.

eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/workbenchTest/saveStandards/testInputcontent.xml
eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/workbenchTest/saveStandards/testOutputcontent.xml
eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/workbenchTest/testInputcontent.xml
eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/workbenchTest/testOutputcontent.xml
Comment 18 Alexander Kurtakov CLA 2018-01-09 07:42:28 EST
(In reply to Lars Vogel from comment #17)
> git grep -l update.core shows references to xml files. See below for the
> details.
> 
> I don't see information how these files are used, so I create a Gerrit to
> remove the entries and hope that Alex can provide feedback on the change.
> 
> eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/
> workbenchTest/saveStandards/testInputcontent.xml
> eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/
> workbenchTest/saveStandards/testOutputcontent.xml
> eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/
> workbenchTest/testInputcontent.xml
> eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/
> workbenchTest/testOutputcontent.xml

This is beyond me :). Maybe Sravan knows what this workbenchTest folder is for but I don't hence I haven't touched it.
Comment 19 Eclipse Genie CLA 2018-01-09 08:06:38 EST
New Gerrit change created: https://git.eclipse.org/r/115105
Comment 21 Lars Vogel CLA 2018-01-26 05:21:57 EST
git grep -l update.core shows now reference for update.core anymore. I suggest we close this bug and open a new one for the final removal of update.configurator.
Comment 23 Stephan Herrmann CLA 2018-06-14 14:32:56 EDT
*** Bug 515095 has been marked as a duplicate of this bug. ***