2009年5月2日 星期六

SD Bug Tracking System Tutorial

SD stands for Simple Defects, a bug tracking system such as Git, SVK.

SD let you retrieve tickets to your local system. and you can sync your repository with other nodes, not only the central web server. and you can work with SD offline. just like SVK or Git , you can work on local branches , when you get online again , you can push your changes to remote servers.

SD currently supports RT, Hiveminder .. etc. and Google Code is the next. Oh Gugod just wrote a Net::Redmine, so it's possible to be able to use SD with Redmine in the future.

Install SD:

before you install SD , you will need Prophet , Prophet is a distributed database system designed for small to medium scale database applications (currently up to around 50,000 records of a given type). early targets include things such as bug tracking.

Download Prophet from github , or you can check out via git.

git clone git://github.com/obra/prophet.git

Once you've downloaded Prophet , you can install it:
cd prophet
PERL_MM_USE_DEFAULT=1 perl Makefile.PL
make test
make install
Then you can download SD from github:

get clone git://github.com/obra/sd.git

Once you've downloaded SD, you can install it:


cd sd
PERL_MM_USE_DEFAULT=1 perl Makefile.PL
make test
make install
Using SD for rt.cpan.org,

SD_REPO=/path/to/your/module sd clone 'rt:https://rt.cpan.org/|Your-Module|'

So that, SD will retrieve tickets from rt.cpan.org , next time you need to load your repository. just enter:

SD_REPO=/path/to/your/module sd

then you can create tickets, update tickets , take tickets , pull (retrieve changes from remote servers) , push ( send your local changes to remote servers)

SD> pull
SD> push
SD> ticket create

to see more help about ticket commands:

SD> help ticket