Login / Status
developer.Resource
Home . Documentation . Document Library . Extension Manuals
Sponsors
hosted by punkt.deTYPO3 and Open Source Magazine

Chapter 1. EXT: StatSVN for TYPO3

Extension Key: tx_statsvn

Language: en

Keywords: statsvn, SVN, report, statistics, development, forDevelopers

Copyright 2007-2009 Mario Rimann, <typo3-coding@rimann.org>

This document is published under the Open Content License

available from http://www.opencontent.org/opl.shtml

The content of this document is related to TYPO3

- a GNU/GPL CMS/Framework available from www.typo3.org

1.1. Introduction

What does it do?

This extension is primary aimed for extension developers that want to show off project statistics (generated from Subversion repository using StatSVN) to the visitors of their website.

Features

The core of the extension can be run every n minutes via a cronjob to check whether there is some work to do. If a project is found that should be updated now (you can define an update interval for each project), the script will call statsvn with the appropriate arguments and write the new statistics files for that project.

There is a frontend plugin that will show a list of projects with links to their statistics.

There is a cleanup CLI which removes old log entries from the database.

Please note: The extension can handle every SVN repository. It's neither limited to TYPO3 extensions nor to the TYPO3 Subversion repository at forge.typo3.org.

About this extension

This extension was started during a week of holiday as I wanted to write down the ideas I had. During the basic development of this extension, intentionally NO bugtracker was used. This way I could start from scratch, just do it – and hey, it worked! After less than one week, I had this piece of software at a point where I could say “Cool, it works!”.

Run this software on your own risk! Due to this “quick'n'dirty” approach, there might be some issues that are not fixed yet (please also see the ToDo list at the bottom of this document). Any feedback / bug reports / patch is very welcome!

Live Example

You can find a live example of this extension on my website: http://rimann.org/index.php?id=110

Screenshots

This is just a small example from my website. Each project name is linked directly to the StatSVN report.