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@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/p2-dev

Reply via email to