top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

CodeCollaborator reviews using command line

+1 vote
378 views

This article appears for the Review process of Source Code and Documents.

Review Assistant is a peer code review tool which integrates with popular control systems namely: TFS, Subversion, Mercurial, Git and Perforce. It is an plugin for Visual Studio 2010, 2012, 2013 developed to enhance the team development process. The tool includes support for formal code review and allows users to add comments to a piece of code or to the entire review level.

If You want to create your reviews using the command line follow the next steps described below. (Disclaimer: this was only tested on Windows and using SVN as source control, since that's our current development environment),

  1. Open the command line prompt
  2. Go to your working copy folder, some thing like this: cd "C:\Folder\Folder\MyProjectWorkingCopyRoot"
  3. Login into your CodeCollaboration Server

    ccolab login [ServerUrl] [UserName] [Password]

You will get something like this

    Connecting to Code Collaborator Server https://[your.server.url]/
    Connected as: [Your name and username]
    New configuration worked - saving configuration settings
    Configuration key 'url' saved.
    Configuration key 'user' saved.
    Configuration key 'password' saved.
    Configuration key 'server-proxy-host' cleared.
    Configuration key 'server-proxy-port' cleared.

You can upload specific files, changelists, etc. In my case I needed upload all the changes made on an specific revision, so I needed to pass a SVN diff as a parameter.

ccollab addsvndiffs new -r 27183:27190

If you look I added the parameter "new" wich means I'm creating a new review (and will be named "Untitled Review"); you can also pass the review-id if you want to add files to an existing review.

posted Sep 15, 2014 by Amit Kumar Pandey

  Promote This Article
Facebook Share Button Twitter Share Button LinkedIn Share Button

...