TracにTagsPluginをインストールする
Wikiページやチケットにタグを付けてくれるTagsPluginを導入してみました。
チケットについてるcomponentやkeywordを勝手にタギングしてくれるのは便利かもしれない。
- ソースダウンロード、コンパイル
- trac.iniを編集
- tracをアップグレードし、apache再起動
# svn co https://muness.textdriven.com/svn/edu/tags-plugin/trunk ./tags-plugin
# cd tags-plugin
# python ./setup.py bdist_egg
# chown apache:apache dist/TracTags-0.4-py2.3.egg
# cp dist/TracTags-0.4-py2.3.egg /home/www/xxx/trac/plugins
[trac]
default_handler = TagsWikiModule[components]
trac.wiki.web_ui.wikimodule = disabled
tractags.* = enabled[tags]
index = cloud
index.args = smallest=10, biggest=40, mincount=2, showcount=false
listing.args = showheadings=true
tagcloud.args = mincount=2, showcount=false[tags.ticket]
fields=component,severity,keywords
# trac-admin /home/www/xxx/trac upgrade
# /sbin/service httpd restart