外部にあるMantisサーバーと、WindowsマシンからアクセスできるSubversionサーバーを連動する仕組みを作ってみました。 概要 MantisにはSVNと連携する機能があります。ただし通常はSVNのコミットトリガーを利用して、SVNとMantisが同じサーバー上にあることを前提としています。 そこでローカルネットワークにあるSVNサーバーを定期的にポーリングして、外部のMantisサーバーに連携する仕組みを作ってみました。 SVNからコミット情報の取得 SVNには基本的にsvnコマンドのlogを利用して取得します。 http://d.hatena.ne.jp/akiraneko/20080211/ MantisとSubversionとの連携 この辺の記事をベースにしています。 Mantisへの連動 通常MantisサーバーからSVNにデータを取りにいく流れになりますが、インター