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

Bug 344562

Summary: How to provide release train specific products
Product: [Technology] MPC Reporter: Cedric Brun <cedric.brun>
Component: InstallAssignee: Project Inbox <mpc.install-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: b.muskalla, etienne.juliot, jerome.benois, mariot.chauvin
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Cedric Brun CLA 2011-05-03 08:50:00 EDT
Hi,

Adding content in the Eclipse Marketplace I'm wondering how I can prevent the appearance of my plugin in the marketplace client of a specific version. 

Let's say my plugin foo only works on Helios. I can specify plugin version ranges to say that but I would rather prefer that the plugin is not appearing in the catalog for Indigo users.

Let's say the "foo" plugin has two builds, one for Indigo and another one for Helios, am I supposed to create several "solutions" in the marketplace like "Foo for Indigo" or "Foo for Helios" ?  Or provide both version in an aggregated update site but then I'would bet p2 will try to upgrade the whole Helios platform of the end user to Indigo...

Are these use case supported in some way by the marketplace + marketplace client ?
Comment 1 Thomas Ehrnhoefer CLA 2011-05-03 10:22:57 EDT
Hi Cedric,

Just a heads up: Benjamin is at Jax currently and might not have time to answer this week. Thanks for your patience.
Comment 2 Benjamin Muskalla CLA 2011-05-12 17:12:46 EDT
Cedric, the only solution (currenlty) to not even show the offending solutions on the marketplace is server-side. The marketplace client sends information to the server when querying the solution listings:

product.version - delegates the Eclipse product version
runtime.version - delegates the version of the o.e.core.runtime bundle

As far as I know, the Eclipse marketplace does not use these variables to show/hide specific solutions but you can do this in case you're running your own marketplace server.  In case you're requesting this feature for the Eclipse Marketplace, see task 304949: determine how we should handle solutions that don't apply to the client os/platform/Eclipse version etc.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=304949
Comment 3 Cedric Brun CLA 2011-05-13 03:40:54 EDT
Thanks for the feedback Benjamin.
Comment 4 Benjamin Muskalla CLA 2011-05-13 07:37:04 EDT
Cedric, as I don't see any feature requests targeted to MPC, I'd suggest to close this. In case I missed something, please go ahead and reopen this bug.