Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to run Trac offline?

I'd like to download the Trac database so I can view its tickets offline. Is there anyway to achieve this? I.e. if I need to leave the office and bring my laptop with me, how can I bring the tickets with me without having to connect to the company network?

I know that Mylyn can download and sync tickets via it's trac connector but I'd like some stand-alone viewer.

like image 551
Spoike Avatar asked May 18 '09 08:05

Spoike


4 Answers

See Simple Defects (SD).

I particularly like the "One-tweet install" idea.

I’m installing #SD (http://syncwith.us) 
after reading about it on #StackOverflow
curl fsck.com/sd|perl; 
export $PATH=~/sd/bin:$PATH; sd

Note that you can clone Trac (and other bugtrackers) in SD:

sd clone --from trac:https://trac.parrot.org/parrot
like image 84
rjmunro Avatar answered Nov 14 '22 07:11

rjmunro


And if RSS or email isn't your notification of choice, there's a trac plugin that will let you receive task notifications on your Remember The Milk todo list.

See: http://1.www.rememberthemilk.com/forums/ideas/3580/?forum=ideas&hl=bs&topic=3580

like image 29
Oli Avatar answered Nov 14 '22 09:11

Oli


The default Trac installation uses a combination of SQLite to matintain all of the data. Attachements are stored on the file system.

In the folder containing the trac site, find \db\trac.db

This file can be viewed using the SQLite manager Firefox Addon

Happy hunting.

like image 20
Babak Naffas Avatar answered Nov 14 '22 09:11

Babak Naffas


If your objective is simply to view the tickets offline, how about

  1. Run a report with all the tickets (or all those you're interested in).
  2. Select either the comma-delimited or tab-delimited download link at the bottom of the page.
  3. Import the downloaded file into Excel.
like image 1
Richard Dunlap Avatar answered Nov 14 '22 09:11

Richard Dunlap