OpenMedia Trac Managing the SysAdmin Process Linux.Conf.au Melbourne January 2008 Steven Ellis Technical Director OpenMedia Limited.

Slides:



Advertisements
Similar presentations
Project Workflow Axel Jensen Copyright 2008 Axel Jensen.
Advertisements

Intro to Version Control Have you ever …? Had an application crash and lose ALL of your work Made changes to a file for the worse and wished you could.
OpenAtrium A Drupal Distribution for Online Collaboration Bud Witney Systems Manager Horticulture & Crop Science Department.
Software Configuration Management Donna Albino LIS489, December 3, 2014.
Business Process Modeling in Microsoft Visio® Interfacing’s BPMN Modeler: Overview.
Cornell University Library Instruction Statistics Reporting System Members: Patrick Chen (pyc7) Soo-Yung Cho (sc444) Gregg Herlacher (gah24) Wilson Muyenzi.
GForge: A collaborative development environment Presentation by: Geoff Gerfin.
Low level CASE: Source Code Management. Source Code Management  Also known as Configuration Management  Source Code Managers are tools that: –Archive.
Word Templates- Documents Directly from GP.
Open and save files directly from Word, Excel, and PowerPoint No more flash drives or sending yourself documents via Stop manually merging versions.
Presented By: Shashank Bhadauriya Varun Singh Shakti Suman.
©2011 Quest Software, Inc. All rights reserved. Steve Walch, Senior Product Manager Blog: November, 2011 Partner Training Webcast.
SubVersioN – the new Central Service at DESY by Marian Gawron.
User Group 2015 Version 5 Features & Infrastructure Enhancements.
European Organization for Nuclear Research Source Control Management Service (Subversion) Brice Copy, Michel Bornand EN-ICE 13 May 2009.
QC 9.2 Prepared By  Sriraman K. 2 Objectives Test Management Tool – What, Why, Benefits etc To make participants aware of Test Process and controlling.
Configuration Management Process and Environment MACS Review 1 February 5th, 2010 Roland Moser PR a-RMO, February 5 th, 2010 R. Moser 1 R. Gutleber.
Version control Using Git 1Version control, using Git.
Trimble Connected Community
ABSTRACT Zirous Inc. is a growing company and they need a new way to track who their employees working on various different projects. To solve the issue.
Article: Source Code Review Systems Author: Jason Remillard Presenter: Joe Borosky Class: Principles and Applications of Software Design Date: 11/2/2005.
CAA/CFA Review | Andrea Laruelo | ESTEC | May CFA Development Status CAA/CFA Review ESTEC, May 19 th 2011 European Space AgencyAndrea Laruelo.
These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license (
Usability Issues Documentation J. Apostolakis for Geant4 16 January 2009.
Version control Using Git Version control, using Git1.
1 SEG4912 University of Ottawa by Jason Kealey Software Engineering Capstone Project Tools and Technologies.
These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license (
…using Git/Tortoise Git
Object-Oriented Analysis & Design Subversion. Contents  Configuration management  The repository  Versioning  Tags  Branches  Subversion 2.
DireXions – Your Tool Box just got Bigger PxPlus Version Control System Using TortoiseSVN Presented by: Jane Raymond.
Continuous Integration and Code Review: how IT can help Alex Lossent – IT/PES – Version Control Systems 29-Sep st Forum1.
JIRA usage in the DAQ An overview.
Samba – Good Just Keeps Getting Better The new and not so new features available in Samba, and how they benefit your organization. Copyright 2002 © Dustin.
2008 Bangkok, Thailand intERLab at AIT 2008 Workshop March – Bangkok, Thailand Hervey Allen.
Copyright © The OWASP Foundation Permission is granted to copy, distribute and/or modify this document under the terms of the OWASP License. The OWASP.
Part 4: FCM and the UM University of Reading, December 2015.
2/11/2007 NSL/SCS Development Jimmy Bonaiuto 2/26/2007.
Introduction to FFI: Why and how FFI was developed Introduction to FFI: Why and how FFI was developed 04/02/2013.
Virtual Lab Overview 5/21/2015 xxxxxxxxxx NWS/MDL/CIRA.
These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license (
Indefero Source Code Management Jethro Carr Improving your project's source, bug tracking and documentation with quality open source tools. Indefero Source.
1 April 16, Open Source Software Project Infrastructure William Cohen NCSU CSC 591W April 16, 2008.
 1- Definition  2- Helpdesk  3- Asset management  4- Analytics  5- Tools.
XNAT 1.7: Getting Started 6 June, Introduction In this presentation we’ll discuss:  Features and functions in XNAT 1.7  Requirements  Installing.
1 January 31, Documenting Software William Cohen NCSU CSC 591W January 31, 2008.
Trac Project and Process Management Managing more than your development process. Steven Ellis Technical Director OpenMedia Limited.
T Iteration Demo Vitamin B PP Iteration
Architecture Review 10/11/2004
David Hatten Developer, UrbanCode 17 October 2013
Session
Overview Blogs and wikis are two Web 2.0 tools that allow users to publish content online Blogs function as online journals Wikis are collections of searchable,
How to open source your Puppet configuration
Version Control with Subversion
Global Grid Forum GridForge
Overview – SOE PatchTT November 2015.
Version control, using Git
CSE 303 Concepts and Tools for Software Development
IT Partners Conference Oliver Thomas 19 April 2005
CS 325: Software Engineering
Software Documentation
CVS revisions UML diagram
Issue Tracking Systems
Software Version System Part1: Subversion at CERN
Introduction of Week 3 Assignment Discussion
Introduction to Configuration Management
Getting Started with Git and Bitbucket
Broadvine Support Portal
CSCE 747 Software Testing and Quality Assurance
Introduction to Git and Github
Professional Services Tools Library (PSTL)
Presentation transcript:

OpenMedia Trac Managing the SysAdmin Process Linux.Conf.au Melbourne January 2008 Steven Ellis Technical Director OpenMedia Limited

OpenMedia Overview Introduction to Trac Trac Concepts Trac Administration Tips and Tricks

OpenMedia What is Trac? Lightweight web based project management framework Open Source - Modified BSD License Developed at Widely used by a variety of Open Source projects Pidgin - Puppet -

OpenMedia Why Trac? Provides an integrated approach to managing a software development project or team via the following key features - Ticketing for tasks and bug tracking Documentation via searchable simple to use Wiki Version control through strong support for Subversion Strength is in the integrated approach all sections can reference each other Simple to install, configure, manage and use

OpenMedia Trac for System Administrators We are not developers! Often not strictly true Lots of scripts and configuration files to manage Version Control is still important Ticketing provides visibility Better than adhoc s The need to produce up-to-date documentation

OpenMedia Key Trac Concepts Trac is much more than a bug tracker Focuses on a single project rather than a series of projects Make your operational team the “project” Multiple projects off a single install Provide environments for other groups within your company.

OpenMedia Trac Front Page

OpenMedia Trac Timeline

OpenMedia Trac Roadmap

OpenMedia Trac Tickets Type - e.g. defect, enhancement or task Component - The project module or subsystem Priority - The importance of this bug, task etc. Milestone – Based on Roadmap entries Assigned to - Principal person responsible for handling this ticket Summary – Single line brief description of the ticket, be clear and concise Description – Body of the ticket, be descriptive and make use of the TracWiki syntax

OpenMedia Trac New Ticket

OpenMedia Trac New Ticket

OpenMedia Trac Completed Ticket

OpenMedia Trac – Version Control Doesn't have an integrated version control tool. Leverage's Subversion Support for other Version Control tools in development Excellent web based browser and diff tool for Subversion

OpenMedia Trac Installation Number of existing excellent guides Minimum of version Avoids numerous bugs Dag Wieers RPMs for RedHat Consider backports for Debian / Ubuntu Usable environment, complete with version control, in under 30 minutes

OpenMedia Trac Administration Excellent documentation provided by edgewall Command line management via trac-admin tool trac-admin help First specify the location of your Trac environment trac-admin /var/trac/OSDC E.g. add Subversion as a component managed by steve trac-admin /var/trac/OSDC component add \ Subversion steve

OpenMedia Trac – User Management Work out how you want to organise your team(s) Try to start with a clean set of permissions Assign permissions to groups, and then assign your team to the groups Covered in detail at Recommend installing the TracAdmin plug-in

OpenMedia Trac – Tips and Tricks How can we make the best use of any project management tool? What works within an operational or SysAdmin environment?

OpenMedia Use Trac to Set-up Trac Use Trac to document the set-up of your Trac and Subversion environment E.g. your first ticket could be around setting up your Subversion environment

OpenMedia Ticket Types and Components Default Types are development focused Defect, enhancement and task Default Components are simple examples and should be replaced Components allow auto assignment of new tickets to team members Effective use means simple reports can be easily generated

OpenMedia Sample Types and Components Additional useful Types might be Change Request Service Order New User account Components might be specific applications, or different customers Authentication System Monitoring Trac

OpenMedia Using Trac Effectively TracLinks allows seamless linking between tickets, the wiki and subversion Wiki pages should use CamelCase where possible, or [wiki:Page] where this isn't appropriate Tickets can be referenced via #number or [ticket:number] e.g. #27 or [ticket:27] Subversion change sets can be referenced by revision number e.g. r21 or [changeset:21] You can link to a specific location with your Subversion repository via source:/path e.g. [source:/trunk/project/documentation/Readme]

OpenMedia TracLinks Examples A new ticket 91 with the following description: Build additional Apache virtual server for the WebApplication team based off environment developed for ProjectPurple in #57 Documentation is auto referenced into the Wiki Keep track of the details on ProjectPurple References to contacts for the WebApplication team. The Apache configuration should be kept under version control with an appropriate commit message. Apache configuration for additional ProjectPurple virtual instance – see ticket #91 and #57

OpenMedia Subversion post-commit hook Highly recommend development teams to utilise the trac-post-commit-hook add-on Installation details covered in the Trac FAQ Auto-updates Trac tickets by using a simple syntax in Subversion commit messages Closes #ticket – Marks ticket closed with comment Refs #ticket – Just adds comment to ticket

OpenMedia post-commit-hook example Based off our earlier example, restructure the Subversion commit as follows: Apache configuration for additional ProjectPurple virtual instance, refs #57, closes #91. This commit will update 2 tickets #91 will be closed, with the comment text and a reference to the subversion commit. #57 will get the commit text and a reference to the subversion commit.

OpenMedia Never commit without a ticket If you are doing any version control updates that don't reference or close a ticket you aren't making the best use of Trac Even simple tasks can benefit from capturing the process of performing the work It can look better when you close a lot of tickets today

OpenMedia Version Everything Avoid poor document management standards - Design Document rev57a(steve's copy).doc Subversion is less than ideal for binary formats Can provide basic document management Tickets can track work on documents - Who were all of the contributors? Simplifies sharing documents across the team Really cuts down on clutter You can refer to older document revisions Please reference design doc] revision 57 as an example of how not to write documentation

OpenMedia CSV files rock All text file formats rock because: Version control can efficiently deal with them. It is a lot easier to do a diff between document revisions on the command line with Subversion. Trac has an excellent visual Subversion diff tool. Very useful for comparing configuration file changes over time Just why did that web server start acting oddly

OpenMedia Backups You know it makes sense Trac and Subversion have a simple mechanism to perform a hot backup E.g. you could use a simple wrapper script DATE=`date +%Y%m%d` svnadmin hotcopy /var/svn/OSDC/ /backup/svn.$DATE trac-admin /var/trac/OSDC/ hotcopy \ /backup/trac.$DATE Backup trees are a fully working environment Simply copy into correct location to recover

OpenMedia Don't go plug-in crazy Lots of cool stuff on TracHacks Do you really need the plug-in? How well supported is it? Will it work in the next release of Trac? Make sure you test in a sandbox environment Same rules apply to adding additional Macros

OpenMedia The not so good Relatively few niggles Administration 0.11 released has integrated the TracAdmin plug-in Permission model needs improving Can't have public and private wiki sections Customer or public tickets and internal tickets. Work flow Small improvements in 0.11 Inconsistencies You can diff a wiki page, but not a ticket description

OpenMedia The Future is Bright Some of the enhancements of interest - Additional database support - Currently sqlite Work under way to support postgresql and mysql Additional Version Control support - Tool is originally based off CVSTrac Primary backend is Subversion Work under way to support Mercurial, bzr and git -

OpenMedia Links and References Edgewall TracHacks OpenMedia

OpenMedia Questions