Astrophysical Virtual Observatory

::: XpTrackerPlugin :::
# Sitemap  
  AVO TWiki system # Edit # Attach # Diffs # Printable # More # Changes # Register # Search

:::
Logged in as TWikiGuest

EUROVO FC

AVO

EGG

Main

Know

Test

TWiki
WelcomeGuest
TWikiTutorial
WikiSyntax
GoodStyle
TWikiDocumentation
TWikiShorthand

XP Tracker Plugin

Version 3.1 - Feb 22 2003

This is a plugin for tracking XP projects. The original code was written by TWIKI:Main.RichardBennett, It was converted into this plugin by TWIKI:Main.MartinWatt and enhanced by TWIKI:Main.AndreaBacchetta, TWIKI:Main.AnthonPang, TWIKI:Main.AndreaSterbini and Thomas Eschner.

Changes in 3.1

See http://twiki.org/cgi-bin/view/Plugins/XpTrackerPluginHistory for a description of changes in this new version.

Upgrading from 3.0 to 3.1

This is a backward-compatible version upgrade, so there is no need to change any existing pages. To upgrade, download the upgrade file xptracker31upgrade.zip, unzip and copy the result over the current version in lib/TWiki/Plugins/XpTrackerPlugin.pm.

Description

Layout

There is a hierarchy of information here:

  • Web - the TWiki web for XP tracking. One web can be used to track multiple products.
  • Project - the project being worked on for a Product. Usually this will be the next major release. Each project has a page, which contains an auto-generated summary of the project progress.
  • Team - Each project has one or more teams, groups of developers that work on one aspect of the project. Each team has a page which contains an auto-generated summary of the team's progress.
  • Iteration - a project is divided into a series of short iterations. Each iteration has a page, the contents of which are also auto-generated.
  • Story - An iteration comprises a number of stories. Stories are pieces of related functionality that are owned by a lead developer but can be worked on by more than one developer. The story page contains information on the acceptance criteria, and also a list of tasks.
  • Tasks - these are the atomic units of work. A story is usually broken up into a number of tasks. Tasks may be shared among more than one developer. Tasks details are entered on the story page.

Information is entered for Stories and their associated tasks, and for iteration dates. Information for all other levels in the hierarchy is automatically generated.

Example of hierarchy:

Web Project Team Iteration Story Tasks
Tracking BeijingRelease CoreTeam ItFinishUp FinalFixesStory IncrementVersion

Usage

Creation of pages is recursive, each page has an html form that uses a template to create child pages:

  • Projects/Teams. You can create a new project page using the html form on the home page for the tracking web. You can create a new team page using the form on the project page. You can add additional content to these pages if desired, but do not delete the existing content. This is used to provide high level overviews of schedule progress.

  • Iterations Create new iterations from the team pages.

  • Stories Create new stories from the iteration page. The story name can be any unique name, as long as it ends with the string "Story". Fill in the two tables for the story summary and task list respectively.

XpTrackerPlugin Settings

Plugin settings are stored as preferences variables.

  • One line description, is shown in the TextFormattingRules topic:
    • Set SHORTDESCRIPTION = This plugin tracks XP projects

  • Debug plugin: (See output in data/debug.txt)
    • Set DEBUG = 0

  • Several settings to control background color: HEADERCOLOR, TASKUNSTARTEDCOLOR, TASKPROGRESSCOLOR, TASKCOMPLETECOLOR, STORYUNSTARTEDCOLOR, STORYPROGRESSCOLOR, STORYACCEPTANCECOLOR, STORYCOMPLETECOLOR.

XpTrackerPlugin sample output

The iteration status page displays the stories and tasks currently allocated to that particular interation.

Stories are displayed in the order in which they are to be developed.

Tasks within a story are displayed in the order in which they are to be developed. Tasks are considered complete once their estimate until completion is 0 days.

Below are examples of the autogenerated tables produced by parsing the story pages:

Show all iterations in a project: XPSHOWPROJECTITERATIONS

Team Iter Summary Start End Est Spent ToDo Progress Done Overrun
DemoTeam DemoIter One line summary 16 Sep 2002 27 Sep 2002 7 4.5 3.5
  
56% 14%

Show summary of iterations in a project - XPSHOWITERATIONTERSE

StoryFEAEstimateSpentToDoProgressDoneOverrunCompletion
DemoStory
Summary of story
3 1.5 2.5
  
37% +33%In progress
SecondDemoStory
Finish remaining tasks
4 3 1
  
75% +0%In progress
Team totals74.53.5
  
56% +14%

Show details of iterations in a project - XPSHOWITERATION

Story
  Tasks
EstimateWhoSpentTo doStatus
DemoStory 3 Developer1 1.52.5In progress
    do the first task2 Developer1 ? 12In progress
    do the second task1 Developer 2? .50.5In progress
 
SecondDemoStory 4 DevOne 31In progress
    Do some more stuff3 Developer 1 ? 30Complete
    Do other things1 Developer 2 ? 01Waiting
 
Team totals74.53.5

Developer velocity - XPVELOCITIES

WhoIdealsTasks
AssignedSpentRemainingAssignedRemaining
Developer 1? 54221
Developer 2 ? 20.51.522
Total74.53.543

Note - the column FEA (meaning Feature) in the XPSHOWITERATIONTERSE table is something we use at our company to link a story to an entry in our feature/bug tracking database which in turn links to the code checkin, thus providing a link from the XP tracker through to the associated code change and back. Since I am sure other companies have similar setups, I've left this field in there for this purpose.

Other tables available

This is a list of all the tables available. The names should be self-explanatory.

Variable Parameters Comment
XPSHOWALLPROJECTS none  
XPSHOWALLTEAMS none  
XPSHOWALLITERATIONS none  
XPSHOWPROJECTTEAMS project topic  
XPSHOWPROJECTITERATIONS project topic  
XPSHOWPROJECTSTORIES project topic  
XPSHOWTEAMITERATIONS team topic  
XPSHOWITERATION iteration topic  
XPSHOWITERATIONTERSE iteration topic  
XPSHOWPROJECTCOMPLETIONBYSTORIES project topic  
XPSHOWPROJECTCOMPLETIONBYTASKS project topic  
XPVELOCITIES iteration topic  
XPSHOWDEVELOPERTASKS developer  
XPSHOWLOAD developer  
XPDUMPITERATION iteration topic  

Limitations

  • This plugin has only been tested successfully with the 01Dec2001 TWiki release.

Additional TWiki plugins/changes needed to get this plugin to work at its best

The plugin should work in a standard 01Dec2001 TWiki install, but it is easier to use with these additional plugins:

  • TablePlugin is optional but useful as it allows you to sort tabulated information by column
  • EditTablePlugin is used to simplify entering of stories and tasks.

Plugin Installation Instructions

  • This plugin has only been tested with the 01Dec2001 TWiki release.
  • Download the ZIP file xptracker3.zip from the Plugin web (see below)
  • Unzip XpTrackerPlugin.zip in your twiki installation directory.
  • Download the 30->31 upgrade file xptracker31upgrade.zip
  • Unzip and copy the file XpTrackerPlugin.pm over the existing version in lib/TWiki/Plugins/XpTrackerPlugin.pm.

Content:

File: Description:
data/TWiki/XpTrackerPlugin.txt Plugin topic
data/Tracking/WebHome.txt Home page for XP tracking web
data/Tracking/SetupHowto.txt Help page - how to set up tracking for a project
data/Tracking/TrackingIntro.txt Help page - Introduction to web layout
data/Tracking/IterationTemplate.txt Page template for iteration
data/Tracking/TeamTemplate.txt Page template for team
data/Tracking/ProjectTemplate.txt Page template for project
data/Tracking/StoryTemplate.txt Page template for story
data/Tracking/WebTopicEditTemplate.txt Template for any other type of new page (empty)
data/Tracking/NewPageError.txt Page displayed when a new page creation operation failed
lib/TWiki/Plugins/XpTrackerPlugin.pm Plugin Perl module

Installation test

  • If installed correctly you should see the following content between the two horizontal lines below - a title "All Projects" and a single cell table with the field containing the word "Project", and finally an html form to add a new project (dont use this form from here though!)


%XPSHOWALLPROJECTS%


Plugin Info

Plugin Author: TWIKI:Main.RichardBennett, TWIKI:Main.MartinWatt, Thomas Eschner, TWIKI:Main.AnthonPang, AndreaBacchetta?
Plugin Version: V3.1 - 22 Feb 2003
Change History: V3.1 22 Feb 2003: Updated version
Change History: V3.0 19 Nov 2002: Updated version
Change History: V2.0 16 Oct 2002: New version of Plugin by TWIKI:Main.MartinWatt
Change History: V1.0 29 Jul 2002: Initial version of Plugin by TWIKI:Main.MartinWatt based on code by TWIKI:Main.RichardBennett
CPAN Dependencies: none
Other Dependencies: EditTablePlugin, TablePlugin
Perl Version: 5.0
Plugin Home: http://TWiki.org/cgi-bin/view/Plugins/XpTrackerPlugin
Feedback: http://TWiki.org/cgi-bin/view/Plugins/XpTrackerPluginDev

Related Topics: TWikiPreferences, TWikiPlugins, DefaultPlugin

-- TWIKI:Main.MartinWatt - 19 Nov 2002

# Edit menu  


Topic revision r1.1 - 30 Mar 2004 - 08:30 - MarcoLeoni Copyright © 2003 by the contributing authors. All material on this collaboration tool is the property of the contributing authors. Ideas, requests, problems regarding AVO TWiki ? Send feedback.