hpi-swa / Squot

Squeak Object Tracker - Version control for arbitrary objects, currently with Git storage
Other
57 stars 29 forks source link

Load order #312

Closed marceltaeumel closed 3 years ago

marceltaeumel commented 3 years ago

The following "objects" are in the commit (?):

grafik

Due to a superclass dependency, "OpenGL/src/OpenGL" must load before "GLFW/src/GLFW" but it does not, raising a dependency warning:

grafik

Here are two questions:

Manually loading "3DTransform/src/3DTransform", then "OpenGL/src/OpenGL", then "GLFW/src/GLFW" works fine. Here is the load order that Squot determines:

'GLFW/src/GLFW' 'OpenGL/src/OpenGL' 'OpenGLCanvas/src/OpenGLCanvas' 'RenderThee/src/RenderThee' '3DTransform/src/3DTransform' 'Vulkan/src/Vulkan' 'LearnOpenGL/src/LearnOpenGL' 'ShaderLanguage/src/ShaderLanguage'

... which is not the required order.

j4yk commented 3 years ago

Hi Marcel,

Squot currently does not order them by itself at all. The compromise is that you can change the load order manually. Right click on the project > browse working copy, then use the buttons. This is not possible in the "objects" list because that reflects the state of the selected commit, so it would not make sense to reorder there.

If I remember correctly, new packages are just added at the end of the list, and packages added in the same batch are ordered alphabetically.

j4yk commented 3 years ago

Closing this as an answered question. Please reopen if there are any issues left with this, or create new issues.