Welcome Guest! Log in
×

Notice

The forum is in read only mode.
Due to some maintenance operations, stambia.org will be switched to read-only mode during the 13th November. It will be possible to read and download, but impossible to post on the forums or create new accounts. For any question please contact the support team.

Topic-icon Idea Source Control best practices

More
25 Mar 2016 19:56 #1 by mdahlman
mdahlman created the topic: Source Control best practices
I'm looking for best practices around setting up source control to share work between developers.

We have some experience using SVN, but I don't have these notes handy. Here are some notes from using Git.
Current contents of .gitignore:
**/indy.build/*
workspace/*
!workspace/README.md
*DS_Store
*.swp
**/.settings/org.eclipse.core.resources.prefs

But I think it might make sense to add this as well:
*.map_diagram

What would be the result of this? Is it safe to assume that a new digram is generated automatically as needed, so things would work well?

It would be great to have some source control notes and best practices posted as an article.
More
29 Mar 2016 11:39 #2 by Thomas BLETON
Thomas BLETON replied the topic: Source Control best practices
Hi Matt,

Ignoring indy.build is recommended.

But I would sync the map_diagram files.
Otherwise, unexpected behavior may occur, for example when importing modifications into a workspace which had a previous version of the mapping.
Moreover, these files contain the "Notes" which may be added by the developer to the mapping diagram. You might want to keep those ;-)

We definitely want to bring more simplicity to VCS users. Within a few days we plan to release an article with best practices. I will inform you here when it is released.
More
30 Mar 2016 17:04 #3 by mdahlman
mdahlman replied the topic: Source Control best practices
Thanks! We will continue to check-in *.map_diagram. I agree that the loss of notes would be an issue in some cases.

Different screen resolutions make the diagrams very hard to share cleanly... but this is not such a big deal. The auto-layout works well, so the change between systems is just a minor annoyance.