Subversion Integration



Similar documents
EMC NetWorker Module for Microsoft Exchange Server Release 5.1

Wind River. Intelligent Device Platform XT EMS Profile EMS DEVICE MANAGEMENT USER'S GUIDE WIND RIVER 1.0

Setting Up the Site Licenses

CAPIX Job Scheduler User Guide

Monitoring Software Services registered with science.canarie.ca

Copyrighted , Address :- EH1-Infotech, SCF 69, Top Floor, Phase 3B-2, Sector 60, Mohali (Chandigarh),

Hadoop Basics with InfoSphere BigInsights

ALERT installation setup

Sonatype CLM Enforcement Points - Continuous Integration (CI) Sonatype CLM Enforcement Points - Continuous Integration (CI)

Oracle Fusion Middleware User s Guide for Oracle Approval Management for Microsoft Excel 11gRelease 1 ( )

An Overview of the Nimsoft Log Monitoring Solution

HP SAP. Where Development, Test and Operations meet. Application Lifecycle Management

SOA Software API Gateway Appliance 7.1.x Administration Guide

IDEXX VetConnect * and VetConnect * PLUS Online Services. User Guide

TEST AUTOMATION FRAMEWORK

Smart Web. User Guide. Amcom Software, Inc.

EzyScript User Manual

CISC 275: Introduction to Software Engineering. Lab 5: Introduction to Revision Control with. Charlie Greenbacker University of Delaware Fall 2011

Remote Access API 2.0

Zenoss Core ZenUp Installation and Administration

IKAN ALM Architecture. Closing the Gap Enterprise-wide Application Lifecycle Management

P-Synch by M-Tech Information Technology, Inc. ID-Synch by M-Tech Information Technology, Inc.

ICE Futures Europe. AFTS Technical Guide for Large Position Reporting V1.0

MALAYSIAN PUBLIC SECTOR OPEN SOURCE SOFTWARE (OSS) PROGRAMME. COMPARISON REPORT ON NETWORK MONITORING SYSTEMS (Nagios and Zabbix)

COSMO BUGZILLA tutorial. Cosmin BARBU Massimo MILELLI

Zenoss Core ZenUp Installation and Administration

WELCOME TO CITUS CLOUD LOAD TEST

Slides from INF3331 lectures - web programming in Python

Mercury Users Guide Version 1.3 February 14, 2006

Connection Broker Managing User Connections to Workstations and Blades, OpenStack Clouds, VDI, and more. Security Review

Safeguard Ecommerce Integration / API

This presentation explains how to monitor memory consumption of DataStage processes during run time.

Using Microsoft Expression Web to Upload Your Site

Perceptive Intelligent Capture Solution Configration Manager

Software Update Bulletin

Chatbots 3.3. Chatbots in Web Applications with RiveScript. Presented by Noah Petherbridge

Version Control with Subversion

Security Correlation Server Quick Installation Guide

IBM Campaign Version-independent Integration with IBM Engage Version 1 Release 3 April 8, Integration Guide IBM

PaperStream Connect. Setup Guide. Version Copyright Fujitsu

Version Control with Subversion and Xcode

Windows Scheduled Tasks Management Pack Guide for System Center Operations Manager. Published: 07 March 2013

Qlik REST Connector Installation and User Guide

Data Mailbox. support.ewon.biz. Reference Guide

1. Introduction Activation of Mobile Device Management How Endpoint Protector MDM Works... 5

Zenoss Core ZenUp Installation and Administration

CA Workload Automation Agent for Microsoft SQL Server

DiskPulse DISK CHANGE MONITOR

Connection Broker Managing User Connections to Workstations, Blades, VDI, and more. Security Review

Request Tracker User s Guide. : Describes the User Interface and usage of Request Tracker V3.

Robot/SCHEDULE Enterprise

Creating a Participants Mailing and/or Contact List:

The Automatic HTTP Requests Logging and Replaying Subsystem for CMS Plone

TIME. Programming in the large. Lecture 22: Configuration Management. Agenda for today. About your Future. CM: The short version. CM: The long version

Scheduling in SAS 9.4 Second Edition

UQC103S1 UFCE Systems Development. uqc103s/ufce PHP-mySQL 1

Analog Documentation. Release Fabian Büchler

A Guide To Evaluating a Bug Tracking System

Software Delivery Integration and Source Code Management. for Suppliers

Welcome to Apache the number one Web server in

IBM DB2 for Linux, UNIX, and Windows. Deploying IBM DB2 Express-C with PHP on Ubuntu Linux

BackupAgent Management Console User Manual

Application for Splunk Enterprise

pure::variants Transformer for Software Configuration Management Manual

Chapter 24: Creating Reports and Extracting Data

Keeper Care System Data Manager Version 1.0

ADMINISTRATOR GUIDE VERSION

Easy Manage Helpdesk Guide version 5.4

Source Control and Team-Based Design in System Generator Author: Douang Phanthavong

Creating a Classroom Web Page Using Google Sites. Max Brandenberger. August 2 or August 8, 2012

SOFTWARE DEVELOPMENT BASICS SED

Support Operations Handbook

Oracle Communications WebRTC Session Controller: Basic Admin. Student Guide

Software configuration management

FOR PARALLELS / PLESK PANEL

Installing buzztouch Self Hosted

QuickDNS 4.6 Installation Instructions

When choosing where to install and run the log analyzer, be aware that it requires access to the following log files:

Optum Practice Management & Physician EMR Defect Process Standard Operating Procedure

<Insert Picture Here> Introducing Hudson. Winston Prakash. Click to edit Master subtitle style

IT Service Level Management 2.1 User s Guide SAS

Applitools Eyes Web Application Guide

Axway API Gateway. Version 7.4.1

Starting a Management Session

Zenoss Resource Manager ZenUp Installation and Administration

PowerPay User Guide. Table of Contents

Tutorial: Packaging your server build

7 Why Use Perl for CGI?

The Toyota Foundation Grant Programs Guide for Web-based Grant Applications (Project Proposals)

Firewall Builder Architecture Overview

Transcription:

Subversion Integration With the popular Subversion Source Control Management tool, users will find a flexible interface to integrate with their ExtraView bug-tracking system. Copyright 2008 ExtraView Corporation www.extraview.com 09-2008

Subversion Integration With the popular Subversion Source Control Management tool, users will find a flexible interface to integrate with their ExtraView bug-tracking system. Introduction ExtraView is provided with a powerful API and Command Line Interface that allows it to be integrated with a wide range of source control management (SCM) as well as with testing tools. The ExtraView API supports searches and queries as well as the addition, update, and deletion of issues via direct commands and URL requests. API commands may be directly invoked (typed at a command line or typed in the URL field on any browser), invoked within a scripting language or compiled code, or invoked through a link or script within another product. To the degree that another tool can invoke a command, or link to a URL, it may be integrated with ExtraView. The scripts showcased in this document are available free of charge to all ExtraView customers. At ExtraView, we have found that most SCM integration implementations require, at minimum, the following: 1. Command Line Interface users are not forced to use the ExtraView web-based interface 2. Scriptable commands all commands must be scriptable from languages such as Perl, Python, Batch, Shell Script, make, or your other favorite script language 3. Single-line commands one command should simultaneously check in your changes and should update the tracking system issue, complete with diffs if these are required to be stored in the tracking system 4. Customization a fully scriptable API for the bug tracker is needed, that allows further customization and integration opportunities, at the CLI or the web-interface level. It is especially important to note that ExtraView s integration with Subversion can be customized to suit your precise requirements. ExtraView does not mandate a fixed integration, but is an open solution that can be adapted simply for your needs. The following is a simple Subversion integration scenario where source control work is done at the command line (many of these steps may be automated via scripting or direct calls from the webbased interface). Though this scenario assumes a Microsoft Windows 2

interface UNIX, Linux and web interfaces are also supported. The scenario is as follows: Some files are detected that have bugs An ExtraView issue is created against the bugs The files with the bugs are checked out from Subversion and edited With a single command, the files are checked in to Subversion and the ExtraView issue is updated with the pertinent details. Following is a step-by-step example of this scenario. Though overly simplified, the basic elements of integration are made clear. Subversion is invoked at the command line C:\tmp\project>svn log flavors.txt C:\tmp\project>svn log colors.txt C:\tmp\project>svn cat flavors.txt yellow chokolate C:\tmp\project>svn cat colors.txt red majenta Create the defect in ExtraView This is entered in ExtraView via the CLI, Web interface, or through API integration with another tool. This step is not shown in detail, but the details of the issue will include these fields: Bug # 10470 Title: Misspellings Description: misspellings in flavor and color; misplaced color 3

From the command line, the user can confirm the details of the issue in ExtraView. C:\ExtraView\Perl\evapi\bat>evget 10470 Assigned To: George Miller Date Created: 4/10/07 10:47 AM Description: misspellings in flavor and color; misplaced color ID #: 10470 Last Changed By: Bill Smith Last Modified: 4/10/07 11:05 AM Originator: Bill Smith Priority: P 4 Privacy: Private Product: Tracker Status: New Title: Misspellings Edit each file, repairing the defects C:\tmp\project>vim flavors.txt chocolate C:\tmp\project>vim colors.txt red yellow magenta C:\tmp\project>svn status M colors.txt M flavors.txt Check in the changes and update ExtraView Note that a single command passes arguments and values to Subversion, yet also updates ExtraView. C:\tmp\project>svn commit -m "corrected misspellings and misplaced color for Bug Id: 10470" Sending colors.txt Sending flavors.txt Transmitting file data.. Committed revision 38. C:\tmp\project>more C:\subversion_integration.log Tue Apr 10 11:10:04 2007 -- start pre-commit pre-commit args: /svnrepository 37-1 log message: corrected misspellings and misplaced color for Bug Id: 10470 exit code: 0 4

bug id: 10470 evget output for bug 10470: Assigned To: George Miller Category: Comments: Date Created: 4/10/07 10:47 AM Date of Last Status Change: 4/10/07 10:47 AM Days Open: 0 Days in Status: 0 Description: misspellings in flavor and color; misplaced color ID #: 10470 Last Changed By: Bill Smith Last Modified: 4/10/07 11:05 AM Module: Needs Doc Change: No Notes: Occurrence: Operating System: Originator: Bill Smith Platform: Priority: P 4 Privacy: Private Product: Tracker Release Found: Release Notes: Repeating Rows: Reproducible: Resolution: SCM Job: Severity: Status: New Test Case: Title: Misspellings Tue Apr 10 11:10:05 2007 -- end pre-commit Tue Apr 10 11:10:05 2007 -- start post-commit post-commit args: /svnrepository 38 commit info: daniel 2007-04-10 11:10:05-0700 (Tue, 10 Apr 2007) 60 corrected misspellings and misplaced color for Bug Id: 10470 author: daniel datestamp: 2007-04-10 11:10:05-0700 (Tue, 10 Apr 2007) log message: corrected misspellings and misplaced color for Bug Id: 10470 bug id: 10470 diff: Modified: colors.txt --- colors.txt 2007-04-10 17:29:28 UTC (rev 37) +++ colors.txt 2007-04-10 18:10:05 UTC (rev 38) @@ -1,3 +1,4 @@ Red 5

-majenta +yellow +magenta Modified: flavors.txt --- flavors.txt 2007-04-10 17:29:28 UTC (rev 37) +++ flavors.txt 2007-04-10 18:10:05 UTC (rev 38) @@ -1,4 +1,3 @@ -yellow -chokolate +chocolate evupload output: uploaded evupdate output: Tue Apr 10 11:10:08 2007 -- end post-commit Check the history within Subversion C:\tmp\project>svn log flavors.txt r38 daniel 2007-04-10 11:10:05-0700 (Tue, 10 Apr 2007) 1 line corrected misspellings and misplaced color for Bug Id: 10470 C:\tmp\project>svn log colors.txt r38 daniel 2007-04-10 11:10:05-0700 (Tue, 10 Apr 2007) 1 line corrected misspellings and misplaced color for Bug Id: 10470 Check the changes in ExtraView This can be done from the web interface or from the CLI. The example shows the check being performed from the CLI. C:\ExtraView\Perl\evapi\bat>evfiles 10470 Date Created File Size Owner Name Description ============ ========= ===== ==== =========== 2007-04-10 517 SCM Daemon diff864.txt Revision 38 committed by daniel on 2007-04-10 11 6

The diffs can be checked from the web interface or the CLI. The example shows the check being performed from the CLI C:\ExtraView\Perl\evapi\bat>evdownload 10470 diff864.txt C:\ExtraView\Perl\evapi\bat>type diff864.txt Modified: colors.txt --- colors.txt 2007-04-10 17:29:28 UTC (rev 37) +++ colors.txt 2007-04-10 18:10:05 UTC (rev 38) @@ -1,3 +1,4 @@ red -majenta +yellow +magenta Modified: flavors.txt --- flavors.txt 2007-04-10 17:29:28 UTC (rev 37) +++ flavors.txt 2007-04-10 18:10:05 UTC (rev 38) @@ -1,4 +1,3 @@ -yellow -chokolate +chocolate More information on how to integrate Subversion with ExtraView can be found in supporting documentation that includes: The ExtraView Administration Guide available from the ExtraView Support Center at http://www.extraview.com/supportcenter.htm The ExtraView API and CLI Guide available from the ExtraView Support Center at http://www.extraview.com/supportcenter.htm Direct calls to the ExtraView API may be made from any program or script that supports HTTP requests or URL GETS. Use of direct ExtraView API calls obviates the need for (and benefits of) the ExtraView CLI The Version Control with Subversion is downloadable from http://svnbook.red-bean.com 7