とりあえずその場で動けばokなプラグインを書いてみる。 Tracの環境を一つ用意して、TRAC_ADMINの権限を設定しておく。 用意したTrac環境のpluginsディレクトリに以下のhello.pyを作成する。 from trac.core import * from trac.web.api import IRequestHandler class HelloPlugin(Component): implements(IRequestHandler) def match_request(self, req): return req.path_info.startswith('/hello') def process_request(self, req): req.send_response(200) req.send_header('Content-Type', 'text/plai