Ticketの日付管理
GanttPlugin:
http://willbarton.com/code/tracgantt/trac-gantt-plugin
参考になるページ:
http://wiki.livedoor.jp/syo1976/d/GanttPlugin
GanttPluginのインストール
http://willbarton.com/code/tracgantt/trac-gantt-pluginからTracGantt-0.2.4-py2.3.eggをdownloadしてLib\site-packagesへ置く
プラグインの有効化
trac.iniに以下を追加
[components] tracgantt.* = enabled
ticket-customの追加
同じくtrac.ini以下のような記述を追加し、カスタムフィールドを追加する。
[ticket-custom] due_assign = text due_assign.label = 開始予定日 due_assign.value = YYYY/MM/DD dependencies = text dependencies.label = 依存タスクNo dependencies.value = due_close= text due_close.label = 終了予定日 due_close.value = YYYY/MM/DD include_gantt = checkbox include_gantt.label = ガントチャートに載せるか否か include_gantt.value =
gantt-chartsの追加
さらにチケットの日付入力フォーマットを定義する。
[gantt-charts] date_format = %Y/%m/%d