Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 422385 - Add p2.discovery dialog to Code Recommenders
Summary: Add p2.discovery dialog to Code Recommenders
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Recommenders (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-23 07:12 EST by Marcel Bruch CLA
Modified: 2019-07-24 14:37 EDT (History)
1 user (show)

See Also:


Attachments
Sample Screenshot (118.51 KB, image/png)
2013-11-23 07:12 EST, Marcel Bruch CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcel Bruch CLA 2013-11-23 07:12:43 EST
Created attachment 237659 [details]
Sample Screenshot

Code Recommenders has a growing ecosystem. There are four incubator projects and several contributions from Codetrails we'd like to make users of Code Recommenders aware of.

I created a prototype (see screenshot) that uses p2 discovery ui to simplify installing these features. The discovery UI is currently triggered from within content assist (if no proposal was found), but certainly should be displayed in code recommenders preferences (and maybe also in its content assist).


When adding the discovery UI, I'd propose to:

* create a new project repositories/discovery/ which contains the contents of the discovery site
* integrate it into content assist o.e.r.completions.rcp and 
* Add an "Install extensions" button to the main preference page of o.e.r.rcp
Comment 1 Marcel Bruch CLA 2013-11-23 07:14:24 EST
https://git.eclipse.org/r/#/c/18777/
Comment 2 Andreas Sewe CLA 2013-11-23 07:40:24 EST
(In reply to Marcel Bruch from comment #0)
> When adding the discovery UI, I'd propose to:
> 
> * create a new project repositories/discovery/ which contains the contents
> of the discovery site

Quick question: This will be a composite update site, i.e., just containing pointers to other update sites?
Comment 3 Marcel Bruch CLA 2013-11-23 11:50:31 EST
No, it's based on a couple of XML files which contains links to update sites and features. This approach also offers to add an image to categories, description and links to websites etc.

Using a P2 update site is more restricted as far as I can say. But documentation on these features is very sparse.

This solution does not require us to write any new lines of code - just the ten lines to configure the wizard.
Comment 4 Marcel Bruch CLA 2013-11-25 07:42:46 EST
A working change is in Gerrit. 
I'd like to enable this for this Tuesday to gather feedback from EMO(ED).
Comment 5 Marcel Bruch CLA 2013-11-25 12:49:42 EST
Changes are merged in head and will be in 2.0.2 tomorrow