Subversion/コミット時に処理を行う
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
// 下階層用テンプレート
#topicpath
----
//ここにコンテンツを記述します。
バグトラッキングシステムTracをつかう/コミット時に処理を行...
あらかじめSubversion提供のシェルを$SVN_REPO/hooks/におい...
[root@www hooks]# cp -pfr /usr/share/doc/subversion-1.2....
[root@www hooks]# ls -lrt
合計 60
-rwxr-xr-x 1 root root 18217 8月 26 2005 commit-e...
-rw-r--r-- 1 apache apache 2136 6月 13 02:26 start-co...
-rw-r--r-- 1 apache apache 1988 6月 13 02:26 pre-unlo...
-rw-r--r-- 1 apache apache 2763 6月 13 02:26 pre-revp...
-rw-r--r-- 1 apache apache 2016 6月 13 02:26 pre-lock...
-rw-r--r-- 1 apache apache 2933 6月 13 02:26 pre-comm...
-rw-r--r-- 1 apache apache 1542 6月 13 02:26 post-unl...
-rw-r--r-- 1 apache apache 2254 6月 13 02:26 post-rev...
-rw-r--r-- 1 apache apache 1615 6月 13 02:26 post-loc...
-rw-r--r-- 1 apache apache 2014 6月 13 02:26 post-com...
-rwxr-xr-x 1 apache apache 2426 6月 14 21:41 post-com...
[root@www hooks]# chown apache:apache commit-email.pl
post-commit を以下のようにすればOKのようです。
#ref(post-commit)
抜粋。
export LANG=ja_JP.UTF-8
/opt/svnroot/repo/hooks/commit-email.pl "$REPOS" "$REV" ...
こんな感じです。
-[[リポジトリの作成と設定>http://subversion.bluegate.org/...
----
この記事は
#vote(おもしろかった[2],そうでもない[0])
- Fedora7にしたら、さらに --from [fromのアドレス]という引...
- あとはchmod 755が必要かな? -- [[きの]] &new{2008-10-28...
- 複数の宛先にメールしたい場合は、[Emailアドレス1],[Email...
- というか、そもそもメール送信を行うためにはlocalhostにSM...
#comment
#topicpath
SIZE(10){現在のアクセス:&counter;}
終了行:
// 下階層用テンプレート
#topicpath
----
//ここにコンテンツを記述します。
バグトラッキングシステムTracをつかう/コミット時に処理を行...
あらかじめSubversion提供のシェルを$SVN_REPO/hooks/におい...
[root@www hooks]# cp -pfr /usr/share/doc/subversion-1.2....
[root@www hooks]# ls -lrt
合計 60
-rwxr-xr-x 1 root root 18217 8月 26 2005 commit-e...
-rw-r--r-- 1 apache apache 2136 6月 13 02:26 start-co...
-rw-r--r-- 1 apache apache 1988 6月 13 02:26 pre-unlo...
-rw-r--r-- 1 apache apache 2763 6月 13 02:26 pre-revp...
-rw-r--r-- 1 apache apache 2016 6月 13 02:26 pre-lock...
-rw-r--r-- 1 apache apache 2933 6月 13 02:26 pre-comm...
-rw-r--r-- 1 apache apache 1542 6月 13 02:26 post-unl...
-rw-r--r-- 1 apache apache 2254 6月 13 02:26 post-rev...
-rw-r--r-- 1 apache apache 1615 6月 13 02:26 post-loc...
-rw-r--r-- 1 apache apache 2014 6月 13 02:26 post-com...
-rwxr-xr-x 1 apache apache 2426 6月 14 21:41 post-com...
[root@www hooks]# chown apache:apache commit-email.pl
post-commit を以下のようにすればOKのようです。
#ref(post-commit)
抜粋。
export LANG=ja_JP.UTF-8
/opt/svnroot/repo/hooks/commit-email.pl "$REPOS" "$REV" ...
こんな感じです。
-[[リポジトリの作成と設定>http://subversion.bluegate.org/...
----
この記事は
#vote(おもしろかった[2],そうでもない[0])
- Fedora7にしたら、さらに --from [fromのアドレス]という引...
- あとはchmod 755が必要かな? -- [[きの]] &new{2008-10-28...
- 複数の宛先にメールしたい場合は、[Emailアドレス1],[Email...
- というか、そもそもメール送信を行うためにはlocalhostにSM...
#comment
#topicpath
SIZE(10){現在のアクセス:&counter;}
ページ名: