Sparx Systems Forum

Enterprise Architect => Suggestions and Requests => Topic started by: Wowbagger on August 04, 2009, 07:01:40 am

Title: Add GIT as a supported VCS
Post by: Wowbagger on August 04, 2009, 07:01:40 am
Due to the distributed nature of our development process, we use GIT for source code control, and would like to use it for UML control as well.

So I'd like to ask that support for GIT be added to EA.
Title: Re: Add GIT as a supported VCS
Post by: Eve on August 04, 2009, 10:20:22 am
I'd recommend looking for an SCC client for GIT, but I couldn't find one in a quick search.
Title: Re: Add GIT as a supported VCS
Post by: Wowbagger on August 06, 2009, 01:15:56 am
Quote
I'd recommend looking for an SCC client for GIT, but I couldn't find one in a quick search.

From everything I've read, this is unlikely: the SCC interface is only available from Microsoft under NDA - which pretty much eliminates any likelihood of GIT supporting it.

Would it be possible to find out exactly what EA expects from SVN - what command lines it passes to SVN? It seems to me that the most likely way I'm going to get any kind of support quickly would be to create a wrapper that accepted the same command parameters as SVN, but then invoked GIT appropriately. However, trying to map ALL of SVN -> GIT would be a huge undertaking: If I could limit the scope of this to a couple of commands that would be much easier.
Title: Re: Add GIT as a supported VCS
Post by: «Midnight» on August 11, 2009, 09:06:50 pm
Does Komodo handle GIT? If so you might be able to use Komodo as an SCC front end. You would still have to determine whether EA and Komodo would cooperate; I have no information whatsoever about that.
Title: Re: Add GIT as a supported VCS
Post by: Geert Bellekens on August 11, 2009, 09:11:58 pm
If I'm not mistaken there is a git-svn bridge.
This could allow you to connect EA to SVN and then bridge to GIT from there.
Title: Re: Add GIT as a supported VCS
Post by: Wowbagger on August 11, 2009, 11:46:11 pm
I was thinking about that, but the actual git-svn is actually the exact wrong thing: it takes git commands (which means EA cannot use it) and it talks to Subversion (which is not what we are using).

I've looked at either the git-cvsserver (which would allow EA to use cvs to talk to the git server, albeit with all the limitations of the CVS model of RCS), and options like staging through a SVN then importing into GIT - not exactly what I'd want to do.

Maybe I should generalize my request: what would be nice would be an option for EA to support *any* VCS system. This would require the user to provide a set of command lines for all the "tasks" that EA performs, such as "add new file", "remove file", "rename file", "commit file", etc. Given a set of hooks like that then any VCS could be tied in.