eclipse-gemoc / gemoc-studio

gemoc-studio
Eclipse Public License 1.0
25 stars 22 forks source link

Need for gemoc version specific discovery repositories #120

Open dvojtise opened 6 years ago

dvojtise commented 6 years ago

The current discovery (ie. install additional GEMOC component button) use a single xmi file This does not take into account the fact that the provided components are compatible or not with the studio.

For example, http://kermeta.org/gemoc-ale-execution-engine/updates/2018-06-15/ is compatible with GEMOC studio 3.0.0 but not with 3.1.0

It would be better to have a different discovery catalogue for each version of the studio. So each catalogue would point only to valid update site for the given studio.

the counterparts are:

dvojtise commented 5 years ago

up, about the question: what should we do with components in the discovery that are not compatible anymore with the current version of the studio ? Should we remove them? (optionally with an issue per invalid component to track the action to reintroduce then when fixed ?)

note: I'm creating subfolders with for the discovery for a given version of GEMOC: the one for the future GEMOC release will be http://gemoc.org/discovery/gemoc_3.1.x/catalog, once GEMOC will be released this summer, a new one will be created: http://gemoc.org/discovery/gemoc_3.2.x/catalog I keep the old http://gemoc.org/discovery/catalog for earlier versions

ebousse commented 5 years ago

Could we display them in gray with a label "Not compatible with the current version"? And disable the installation button? That way they remain visible, but cannot be installed.

dvojtise commented 5 years ago

I don't think this is possible because this comes from amalgam, and this would require to update amalgam

I already tried to submit a request (with the code etc) in order to fix an installation issue using amalgam, and it wasn't processed yet (https://bugs.eclipse.org/bugs/show_bug.cgi?id=531789 February 2018 !) so I'm not very confident in any improvement from amalgam side. Or we have to duplicate code on our side...

Anyway, I think that we should prefer( and encourage) to point to fixed version of update sites. So if a user is using the latest stable GEMOC release, the discovery should point to the latest working version of the tool. While the master could point to a newer version that takes into account GEMOC framework changes.

dvojtise commented 5 years ago

I've verified some of the possibilities of the discovery:

So I suggest the following: