Home Home
  login

Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




Index Using Saucery for Code Review

 9      Code Review & Source Control Connectors
add-ons
 9.1        SVN Server Installation
add-ons
 9.2        Client Side Gemini Tortoise SVN Integration
add-ons
 9.3        Git Source Control Connector
install
add-ons
source-control
 9.4        Mercurial Source Control Connector
install
add-ons
source-control
 9.5        TFS Source Control Connector
install
add-ons
source-control
 9.6        Using Saucery for Code Review
usage
View  |  Print  |  PDF

7 documents found.


Using Saucery for Code Review

usage
saucery

The Saucery app for Gemini provides Code Review capabilities for the following Source Control providers:

  • GitHub
  • Microsoft Team Foundation Server 2012
  • Microsoft Team Foundation Server 2010
  • Subversion
The remainder of this document assumes you have already configured your source control provider with Gemini (as per previous documents in this section).

Show "Code Review"

Ensure that the "Code Review" app is displayed when viewing an item (e.g. bug). Select the screen option for the item you want to attach Code Review:

image

Then select the Code Review app and if required, choose who can see this app:

image

 You can verify all is well when you open any item (e.g. Bug) and see the Code Review app:

Microsoft Team Foundation Server

This section assumes you have already configured TFS for use with Gemini.

When commiting files into TFS simply provide a Gemini item number like so:

image

Note the "GEM:" prefix is mandatory and you can specify multiple Gemini items by comma-separating them. You will see your commit message and files under the Code Review app:

image

Subversion

When commiting files into Subversion simply provide a Gemini item number like so:

image

Note the "GEM:" prefix is mandatory and you can specify multiple Gemini items by comma-separating them as part of the commit comment message. You will see your commit message and files under the Code Review app:

image

GitHub

Setup

Open your Github repository and navigate to the Admin area. 

Click “Service Hooks”, search for “Gemini” and complete the details:

image

Within GitHub.com, navigate to  "Account settings" -> "Applications" -> "Register new application". Complete the new application form.

image

Ensure you specify the  callback URL like so:

http://<YOUR GEMINI URL>/apps/saucery/github/authenticate

Once the application is registered you can click on it and you will find the Client ID/Client Secret (make a note of these as you will require them the first time you access commited files from within the Code Review section).

image

You will be prompted to allow Gemini access to your GitHub account. Please allow access.

image

Make sure popups are enabled for your browser otherwise the above GitHub popup will not show!

Usage

When commiting files into GitHub simply provide a Gemini item number like so:

image

Note the "GEM:" prefix is mandatory and you can specify multiple Gemini items by comma-separating them as part of the commit comment message. You will see your commit message and files under the Code Review app:

image