Repository (GIT SVN) and code review

2016-06-17 10:22:47
azalea
2948
Last edited by Renee on 2018-05-31 14:12:47

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

Below take SVN as an example:

1.Integrate repository

  • Name: the name of the repository.
  • Path: the path of a 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: the path of a client. In Linux, it may be /usr/bin/svn (for git , it might be  /usr/bin/git). In Windows, you can download sliksvn which have been integrated into 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: an account of a repositoryIf you do not need a username 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 an 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.