Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] API for "Available Software Sites" pref store

I don't know anything about changing prefs for "Available Software Sites".

But, it is definitely possible to fetch remote repositories using just the raw P2 API.

This blog post does a pretty good job describing how.
http://eclipsesource.com/blogs/tutorials/eclipse-p2-tutorial-managing-metadata/


Ned Twigg
Lead Software Architect, DiffPlug LLC
949-264-3433
340 S Lemon Ave #3433, Walnut, CA 91789

On Mon, Mar 28, 2016 at 3:58 AM, Pradeep Balachandran <pradeepb@xxxxxxxxxx> wrote:

I would like to know whether there are APIs to get all entries and remove entries from "Available Software Sites" pref store.

I can of course load up the p2 repository and look into the code (as mentioned in [1] ). Thought I will check here first.

BTW, this is required because when WTP accesses adapters from the internet, those sites get added to this list which shouldn't be (see [2]). So, if there is a p2 API to fetch remote repositories without adding the URI to the "Available Software Sites" list, that should help too. In the absence of that we will need to deal with the pref store directly (via APIs). This query was posted on the forum [3] but no responses so far.

[1] https://www.eclipse.org/forums/index.php/t/38712/
[2] https://bugs.eclipse.org/bugs/show_bug.cgi?id=487917
[3] https://www.eclipse.org/forums/index.php/m/1726988/#msg_1726988

Pradeep


_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/p2-dev


Back to the top