2019-05-15 04:48 AM
Hi all,
we were working on two different feature branches an now run into some problems merging the Designers project file (*.touchgfx).
Merging the graphical parts worked out well, but when it comes to texts, merging is not possible that easy.
Especially SingleUseIDs are generated independently in those two feature banches (obviously), so merging mixes up our texts.
Is there a suggested way to collaborate in teams with the TouchGFX Designer?
Best Regards,
Alex
2019-05-15 09:46 AM
The current rules I have for branching and merging projects using touchgfx are
Would also be interested in hearing from others on their workflow.
2019-05-16 02:25 AM
Hi @AK.12.,
I'm surprised we don't get this question more often. @Community member makes some good points here and those are the main problems - Merging of json and merging of the text sheet (.xlsx).
Sometimes we'll start off a project by identifying all the possible screens (during design phase) and create those right off the bat so that every subsequent branch won't possibly be creating a conflict in .json because multiple developers are defining new screens.
I'm pretty sure we're also working on getting rid of the excel format into something more easily merged. In that regards, with git, we have previously used a custom .gitattribute solution to allow excel files to be merged using xls2txt - And some have even made scripts to unzip the .xlsx file and diff the xml inside.
Hope that helps.
/Martin
2019-05-16 10:44 PM
Hi cameronf, hi Martin,
the most important part seems to omit SingleUseIDs, got that.
I think, we are going to strictly limit work on texts in parallel in our team in some way.
Like doing the text work first, committing that asap., communicate....
Thanks to both of you,
Alex
2019-05-19 11:55 PM
Right, that's what we used to do too when we were more involved in customer projects. "Does anyone have any uncommitted changes to the text sheet?" :)