Replies: 2 comments
-
Ok I found that the cli has a way to do the Merge.. not sure why I couldn't see it before, sorry for the message. Either way, I found that is hard to work in a collaborative way with the manual layout given you'll always loose your local layout work when pulling changes from the Remote... Looks like the only way to work with it is by using the |
Beta Was this translation helpful? Give feedback.
-
This change should result in JSON that's easier to merge -> structurizr/java#257 |
Beta Was this translation helpful? Give feedback.
-
Hello!
I'm actually working in a big project where we've multiple teams and the intention is to use structurizr
onpremises
/lite
and define a workflow to allow all team members to collaborate with the diagrams.An actual concern we have, is about understanding the right flow to work with workspaces with manual layout in a collaborative way, considering that, a manual layout change generates a new
workspace.json
version with all the metadata, and resolving git conflicts on theworkspace.json
is very hard and not acceptable.Hence I started looking ways to understand what we can do to solve next scenario:
Let's say that person 1 is on his local repository and:
Now person 2, has been working last days on the diagram and is 3 commits above remote HEAD and now:
pull
.dsl
conflicts are easy...json
file conflicts and this is not acceptable given both has too many changes and is impossible to merge them manually.workspace.json
and re apply the manual layout updates he made before the pull which is tedious and generates frustration to the collaborators given that they will have to do the work twice.First question: is this flow correct? is there a right way to manage this use case?
Second question: is it's possible to have the
merge
command in thestructurizr/cli
to run amerge
with the remote and local changes... that way will be easier to fix theworkspace.json
merge.... considering that this will happen to several members on the team?...I'm even considering to setup a random workspace to run the merge with my local and then pull the updated workspace, if works it could be like a workaround .. an ugly one, but yea.
Thank you very much for making this project!
Best.
Beta Was this translation helpful? Give feedback.
All reactions