Repository (GIT SVN) and code review

2016-06-17 10:22:47
azalea
2441
Last edited by Pedro on 2018-04-26 16:53:55

ZenTao Pro has a more comprehensive integration of Git and SVN, through which your can view file directories in source code, check the change logs, and diff files etc. on a web page. 

Below take SVN as example:

1.Integrate repository

  • Name : the name of the repository .
  • Path :  the path of repository, such as http://zentaoms.goglecode.com/svn. This path does not have to be a root one. A sub path is ok too.
  • Encoding : repository encoding.
  • Client : path of client. In Linux, it may be /usr/bin/svn (for git ,may be  /usr/bin/git). In Windows, you can download sliksvn which has been integrated in the one-click installation package( for git, use msysGit), and then specify the path of svn.exe. (Tips 1. the client needs to be installed on the same server as ZenTao; 2. the path of the SVN should not have spaces.
  • Username and password : account of  repository. If you do not need a user name and password, just ignore.
  • After clicking Save, the system will be initialized and previous change logs  are saved.

2.View subversion repo

You can view subversion repo after configuration.

3.View and diff files


4. Code review

Hover your cursor on the line number of source code, and there will be a "+". Click to add code review note.

SCREENSHOT


Then there will be a sign right next to the line number. Click to see the details of the review note.

SCREENSHOT


These review notes also sit at  Code->Review or Product->Bug .

SCREENSHOT


This feature can be purchased separately as extension and installed in the open source version.

Contact us to buy this extension at renee@cnezsoft.com

    Write a Comment
    Comment will be posted once reviewed.
    right-information