|Version 2 (modified by 5 years ago) (diff),|
Bitten Recipe Extractor
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.
If you have any issues, create a new ticket.
Download the zipped source from [download:bittenrecipesextractorscript here].
cp recipe_get.py ~/some/location
cp recipe_put.py ~/some/location
sudo python recipe_get.py /var/www/Trac/My_Test_Trac
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:
- 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...