Version 2 (modified by 12 years ago) (diff) | ,
---|
Contents
Bitten Recipe Extractor
Description
Two small scripts who's purpose is to retrieve a Trac's Bitten rule sets. Thus allowing you to make off-line changes quickly with your favorite text editor.
Once satisfied with your changes, a second script uploads said changes.
Bugs/Feature Requests
Existing bugs and feature requests for BittenRecipesExtractorScript are here.
If you have any issues, create a new ticket.
Download
Download the zipped source from [download:bittenrecipesextractorscript here].
Source
You can check out BittenRecipesExtractorScript from here using Subversion, or browse the source with Trac.
Example
Retrieve recipes:
mkdir ~/some/location
cp recipe_get.py ~/some/location
cp recipe_put.py ~/some/location
cd ~/some/location
sudo python recipe_get.py /var/www/Trac/My_Test_Trac
Save recipes:
sudo python recipe_put.py /var/www/Trac/My_Test_Trac
Super User access is needed when reading and writing to the Trac database directly. Also, on some of my clusters that I work with, multiple version of python can exist. Meaning, if you receive errors like:
ImportError: No module named trac.env
You need to adjust your PATH environment to include the path to which ever python version was used to install and run Trac:
export PATH=/usr/local/python2.7/bin:$PATH
Recent Changes
- 11018 by mjasonmiller on 2011-12-05 16:08:09
-
I give up. Its too early to be coding. But this should fix everything.
- 11017 by mjasonmiller on 2011-12-05 16:01:49
-
Sigh. Ignore my last comment...
- 11016 by mjasonmiller on 2011-12-05 16:00:03
-
Woops. Fixing simple list issue. I swear to test my code before commiting...
(more)
Author/Contributors
Author: mjasonmiller
Maintainer: mjasonmiller
Contributors: