Page 1 of 1

Git Integration and branch management

Posted: Fri Apr 10, 2015 2:12 am
by Sketch
Hey. I've been a fan of Traq for a while now and love it. 
 
Because Traq is coded in PHP and I know quite a bit of PHP, I want to get my hands dirty with coding new features and such into Traq. I looked through the source before and quite like the way it's written.
 
However, one thing that is missing I wonder if a few people would like is some form of integration into git repositories and the ability to manage branches according to tickets.
 
I would like to get my hands dirty with that but I will be submitting PRs against 4.0 with stuff from the bugs list but I feel it prudent to ask permission before touching this glorious piece of software.

Re: Git Integration and branch management

Posted: Fri Apr 10, 2015 1:52 pm
by Jack
I've been planning on adding some kind of Git support as a plugin for a while now but haven't really gotten around to it.
 
If you are interested in adding Git support, you are welcome to.
 
My plan for the main repository/code base of Traq is to contain the main features and the rest be added with plugins, such as repository browsers for Git, Mercurial, Subversion. So if you wanted to add support for Git, a plugin would be the best way. I even plan to split the markdown textarea toolbar into a plugin.
 
This also makes it easy for people to update the plugin if they prefer to stick with an older version of Traq when they make their own modifications to it.