Community
Participate
Working Groups
We need to provide an API to list all project dependencies, based on semantic resources dependencies. We also need to find a way to improve the way image dependencies are retrieved without having to go through all the representations and graphical elements looking for a referenced image. A first suggested solution is to add metadata in the aird. We would add DAnnotationEntry in the DAnalysis to list all projects that contain images referenced by some representations and require a dependency to this project. If this solution is chosen, it will be necessary to make these metadata "optional", which can be activated in the preferences to avoid making aird files unnecessarily large for users who don't need this option. We will also need a way to force the update of these metadata, in case a project that contains images is renamed for example.
New Gerrit change created: https://git.eclipse.org/r/c/sirius/org.eclipse.sirius/+/195075
Gerrit change https://git.eclipse.org/r/c/sirius/org.eclipse.sirius/+/195075 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=1d3db0f6527589b2ecf3c59d2cacb1fe1d03a949
New Gerrit change created: https://git.eclipse.org/r/c/sirius/org.eclipse.sirius/+/197569
New Gerrit change created: https://git.eclipse.org/r/c/sirius/org.eclipse.sirius/+/197609
New Gerrit change created: https://git.eclipse.org/r/c/sirius/org.eclipse.sirius/+/197610
What have been done on this ticket: * The image project dependencies are persisted in a DAnnotationEntry on the main DAnalysis. A precommit listener has been created to add and remove dependencies to images projects for each modification of the WorkspaceImage style. * A new class SiriusProjectDependencyQuery is added to get serialized project dependencies from a given project. It is based on registered IProjectDependencyProvider. This commit provides one implementation for local project that uses SAXParser to leverage the serialized information. * SessionDetailsReport is updated to always show the general dependencies (aird, semantic resoruces) even for not opened Session
Steps to validate 1- import the three projects from the attached ProjectDependenciesEcore.zip 2- right click on project1Ecore.aird/Properties/Sirius Session Details Expected: The dependencies should be: *** Dependencies General projects dependencies(direct and transitive) (2) project2Ecore (Transitive dependency)project3Ecore Image projects dependencies(direct) (1) project3Ecore 3- open the session and redo step 2 4- delete project2Ecore from the workspace 5- right click on project1Ecore.aird/Properties/Sirius Session Details Expected: The dependencies should be: *** Dependencies General projects dependencies(direct and transitive) (1) (Not analysed)project2Ecore Image projects dependencies(direct) (1) project3Ecore 6- open the session and redo step 2
Gerrit change https://git.eclipse.org/r/c/sirius/org.eclipse.sirius/+/197610 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=a82b8f992eadebd21c0ebcdbfce3a72491c723e1
ticket reopened to update the API to manage the images. This API are used to calculate the image dependencies
New Gerrit change created: https://git.eclipse.org/r/c/sirius/org.eclipse.sirius/+/199817
Gerrit change https://git.eclipse.org/r/c/sirius/org.eclipse.sirius/+/199817 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=7ddc8d4a77852d1f3b210cea2d252c7d32b6607b
New Gerrit change created: https://git.eclipse.org/r/c/sirius/org.eclipse.sirius/+/199827
Gerrit change https://git.eclipse.org/r/c/sirius/org.eclipse.sirius/+/199827 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=49d80a0d3a04a27bc7c965ea65deb1574ded5884
New Gerrit change created: https://git.eclipse.org/r/c/sirius/org.eclipse.sirius/+/199840
Gerrit change https://git.eclipse.org/r/c/sirius/org.eclipse.sirius/+/199840 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=cb37890a91cfdae2282165c2d0878dc1dc0fb9d2
New Gerrit change created: https://git.eclipse.org/r/c/sirius/org.eclipse.sirius/+/200164
Gerrit change https://git.eclipse.org/r/c/sirius/org.eclipse.sirius/+/200177 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=38a1a006d822c91098b900aa56ca3199c7d78330
Gerrit change https://git.eclipse.org/r/c/sirius/org.eclipse.sirius/+/200164 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=32848fdff6068c116f34cf6ee2683c2203b92b63
New Gerrit change created: https://git.eclipse.org/r/c/sirius/org.eclipse.sirius/+/200247
New Gerrit change created: https://git.eclipse.org/r/c/sirius/org.eclipse.sirius/+/200262
Gerrit change https://git.eclipse.org/r/c/sirius/org.eclipse.sirius/+/200247 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=9a7a94d8fcbd4766544a8166a87cbe8b7fc5216c
Gerrit change https://git.eclipse.org/r/c/sirius/org.eclipse.sirius/+/200262 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=77abe48d07af057ef2225a9f019db3df91e778f5
Available in Sirius Desktop 7.1.0: - Release record: https://projects.eclipse.org/projects/modeling.sirius/releases/sirius-desktop-7.1.0 - Update site: https://download.eclipse.org/sirius/updates/releases/7.1.0/2021-06/
https://projects.eclipse.org/projects/modeling.sirius/releases/sirius-desktop-7.1.0