バグトラッキングシステムTracをつかう/コミット時に処理を行う
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
// 下階層用テンプレート
#topicpath
----
//ここにコンテンツを記述します。
Subversionはたとえばコミット時に開発者にメールするなど、S...
現在バグトラッキングシステムのTracとの連携を色々調べてま...
とりあえずもくろんでるのは
-EclipseのMylarでTracの障害問票を起票できる
-もちろんそれはWEBブラウザでも閲覧できる。もちろん誰かの...
-ソースコードはSubversionで管理してて、もちろんEclipseか...
-コミットの際のコミットログは、そのコミットのトリガとなる...
-その障害問票がトリガとなったソース修正のdiff画面へは、そ...
-最終的なコミットで、その障害問票はクローズされる((これは...
-適度にユーザ管理され、問票の起票やコミット作業は誰がやっ...
今のところこれくらいなら出来そうですね。((Trackerにしてみ...
さてその仕組みですが、SVNははじめからフック機能が備わって...
[root@www opt]# cd /opt/svnroot/hooks/
[root@www hooks]# ls -lrt
合計 36
-rw-r--r-- 1 apache apache 2136 6月 7 23:24 start-com...
-rw-r--r-- 1 apache apache 1988 6月 7 23:24 pre-unloc...
-rw-r--r-- 1 apache apache 2763 6月 7 23:24 pre-revpr...
-rw-r--r-- 1 apache apache 2016 6月 7 23:24 pre-lock....
-rw-r--r-- 1 apache apache 2933 6月 7 23:24 pre-commi...
-rw-r--r-- 1 apache apache 1542 6月 7 23:24 post-unlo...
-rw-r--r-- 1 apache apache 2254 6月 7 23:24 post-revp...
-rw-r--r-- 1 apache apache 1615 6月 7 23:24 post-lock...
-rw-r--r-- 1 apache apache 2014 6月 7 23:24 post-comm...
[root@www hooks]#
こんな感じです。これらはテンプレートで、たとえばコミット...
[root@www hooks]# cp -pfr post-commit.tmpl post-commit
[root@www hooks]# chmod 755 post-commit
[root@www hooks]# ls -lrt
合計 40
-rwxr-xr-x 1 apache apache 2014 6月 7 23:24 post-commit
[root@www hooks]#
としておいて post-commit に処理を書いておけばOKです。
これでコミット後にpost-commitが呼ばれます。そこにTracへの...
**コミット時にTracのチケットにコメントを書き込む [#h0a421...
すでにスクリプトは http://d.hatena.ne.jp/masanobuimai/200...
#ref(post-commit)
#ref(trac-post-commit-hook)
これを先のディレクトリに置いておけばOKです。
[root@localhost hooks]# pwd
/opt/svnroot/hooks
[root@localhost hooks]# ls -lrt
合計 52
-rwxr-xr-x 1 apache apache 6980 6月 7 15:54 trac-post...
-rwxr-xr-x 1 apache apache 2422 6月 8 00:45 post-commit
[root@localhost hooks]#
:refs #nn|チケット側にもコミットログが書き込まれて,さら...
:closes #nn|チケットをクローズする
-[[フックスクリプト>http://subversion.bluegate.org/doc/bo...
----
この記事は
#vote(おもしろかった[1],そうでもない[0])
- Quality posts is the key to attract the users to pay a ...
- Quality posts is the key to attract the users to pay a ...
- Quality posts is the key to attract the users to pay a ...
- Quality posts is the key to attract the users to pay a ...
- That is a very good tip particularly to those new to th...
- That is a very good tip particularly to those new to th...
- That is a very good tip particularly to those new to th...
- That is a very good tip particularly to those new to th...
- Thanks for sharing such a good idea, paragraph is pleas...
- Thanks for sharing such a good idea, paragraph is pleas...
- Thanks for sharing such a good idea, paragraph is pleas...
- Thanks for sharing such a good idea, paragraph is pleas...
- Thanks a bunch for sharing this with all people you rea...
- Thanks a bunch for sharing this with all people you rea...
- Thanks a bunch for sharing this with all people you rea...
- Thanks a bunch for sharing this with all people you rea...
- Hi, this weekend is pleasant designed for me, for the r...
- Hi, this weekend is pleasant designed for me, for the r...
- Hi, this weekend is pleasant designed for me, for the r...
- Hi, this weekend is pleasant designed for me, for the r...
- Asking questions are really pleasant thing if you are n...
- Asking questions are really pleasant thing if you are n...
- Asking questions are really pleasant thing if you are n...
- Asking questions are really pleasant thing if you are n...
- Hello, I wish for to subscribe for this website to get ...
- Hello, I wish for to subscribe for this website to get ...
- Hello, I wish for to subscribe for this website to get ...
- Hello, I wish for to subscribe for this website to get ...
- You need to be a part of a contest for one of the best ...
- You need to be a part of a contest for one of the best ...
- You need to be a part of a contest for one of the best ...
- You need to be a part of a contest for one of the best ...
- This post is worth everyone's attention. How can I find...
- This post is worth everyone's attention. How can I find...
- This post is worth everyone's attention. How can I find...
- This post is worth everyone's attention. How can I find...
- If you want to grow your know-how just keep visiting th...
- If you want to grow your know-how just keep visiting th...
- If you want to grow your know-how just keep visiting th...
- If you want to grow your know-how just keep visiting th...
- I don't even know how I finished up here, however I th...
- I don't even know how I finished up here, however I th...
- I don't even know how I finished up here, however I th...
- I don't even know how I finished up here, however I th...
- Awesome things here. I am very happy to look your post....
- Awesome things here. I am very happy to look your post....
- Awesome things here. I am very happy to look your post....
- Awesome things here. I am very happy to look your post....
- We stumbled over here by a different website and though...
- We stumbled over here by a different website and though...
- We stumbled over here by a different website and though...
- We stumbled over here by a different website and though...
- Hmm it appears like your site ate my first comment (it ...
- Hmm it appears like your site ate my first comment (it ...
- Hmm it appears like your site ate my first comment (it ...
- Hmm it appears like your site ate my first comment (it ...
#comment
#topicpath
SIZE(10){現在のアクセス:&counter;}
終了行:
// 下階層用テンプレート
#topicpath
----
//ここにコンテンツを記述します。
Subversionはたとえばコミット時に開発者にメールするなど、S...
現在バグトラッキングシステムのTracとの連携を色々調べてま...
とりあえずもくろんでるのは
-EclipseのMylarでTracの障害問票を起票できる
-もちろんそれはWEBブラウザでも閲覧できる。もちろん誰かの...
-ソースコードはSubversionで管理してて、もちろんEclipseか...
-コミットの際のコミットログは、そのコミットのトリガとなる...
-その障害問票がトリガとなったソース修正のdiff画面へは、そ...
-最終的なコミットで、その障害問票はクローズされる((これは...
-適度にユーザ管理され、問票の起票やコミット作業は誰がやっ...
今のところこれくらいなら出来そうですね。((Trackerにしてみ...
さてその仕組みですが、SVNははじめからフック機能が備わって...
[root@www opt]# cd /opt/svnroot/hooks/
[root@www hooks]# ls -lrt
合計 36
-rw-r--r-- 1 apache apache 2136 6月 7 23:24 start-com...
-rw-r--r-- 1 apache apache 1988 6月 7 23:24 pre-unloc...
-rw-r--r-- 1 apache apache 2763 6月 7 23:24 pre-revpr...
-rw-r--r-- 1 apache apache 2016 6月 7 23:24 pre-lock....
-rw-r--r-- 1 apache apache 2933 6月 7 23:24 pre-commi...
-rw-r--r-- 1 apache apache 1542 6月 7 23:24 post-unlo...
-rw-r--r-- 1 apache apache 2254 6月 7 23:24 post-revp...
-rw-r--r-- 1 apache apache 1615 6月 7 23:24 post-lock...
-rw-r--r-- 1 apache apache 2014 6月 7 23:24 post-comm...
[root@www hooks]#
こんな感じです。これらはテンプレートで、たとえばコミット...
[root@www hooks]# cp -pfr post-commit.tmpl post-commit
[root@www hooks]# chmod 755 post-commit
[root@www hooks]# ls -lrt
合計 40
-rwxr-xr-x 1 apache apache 2014 6月 7 23:24 post-commit
[root@www hooks]#
としておいて post-commit に処理を書いておけばOKです。
これでコミット後にpost-commitが呼ばれます。そこにTracへの...
**コミット時にTracのチケットにコメントを書き込む [#h0a421...
すでにスクリプトは http://d.hatena.ne.jp/masanobuimai/200...
#ref(post-commit)
#ref(trac-post-commit-hook)
これを先のディレクトリに置いておけばOKです。
[root@localhost hooks]# pwd
/opt/svnroot/hooks
[root@localhost hooks]# ls -lrt
合計 52
-rwxr-xr-x 1 apache apache 6980 6月 7 15:54 trac-post...
-rwxr-xr-x 1 apache apache 2422 6月 8 00:45 post-commit
[root@localhost hooks]#
:refs #nn|チケット側にもコミットログが書き込まれて,さら...
:closes #nn|チケットをクローズする
-[[フックスクリプト>http://subversion.bluegate.org/doc/bo...
----
この記事は
#vote(おもしろかった[1],そうでもない[0])
- Quality posts is the key to attract the users to pay a ...
- Quality posts is the key to attract the users to pay a ...
- Quality posts is the key to attract the users to pay a ...
- Quality posts is the key to attract the users to pay a ...
- That is a very good tip particularly to those new to th...
- That is a very good tip particularly to those new to th...
- That is a very good tip particularly to those new to th...
- That is a very good tip particularly to those new to th...
- Thanks for sharing such a good idea, paragraph is pleas...
- Thanks for sharing such a good idea, paragraph is pleas...
- Thanks for sharing such a good idea, paragraph is pleas...
- Thanks for sharing such a good idea, paragraph is pleas...
- Thanks a bunch for sharing this with all people you rea...
- Thanks a bunch for sharing this with all people you rea...
- Thanks a bunch for sharing this with all people you rea...
- Thanks a bunch for sharing this with all people you rea...
- Hi, this weekend is pleasant designed for me, for the r...
- Hi, this weekend is pleasant designed for me, for the r...
- Hi, this weekend is pleasant designed for me, for the r...
- Hi, this weekend is pleasant designed for me, for the r...
- Asking questions are really pleasant thing if you are n...
- Asking questions are really pleasant thing if you are n...
- Asking questions are really pleasant thing if you are n...
- Asking questions are really pleasant thing if you are n...
- Hello, I wish for to subscribe for this website to get ...
- Hello, I wish for to subscribe for this website to get ...
- Hello, I wish for to subscribe for this website to get ...
- Hello, I wish for to subscribe for this website to get ...
- You need to be a part of a contest for one of the best ...
- You need to be a part of a contest for one of the best ...
- You need to be a part of a contest for one of the best ...
- You need to be a part of a contest for one of the best ...
- This post is worth everyone's attention. How can I find...
- This post is worth everyone's attention. How can I find...
- This post is worth everyone's attention. How can I find...
- This post is worth everyone's attention. How can I find...
- If you want to grow your know-how just keep visiting th...
- If you want to grow your know-how just keep visiting th...
- If you want to grow your know-how just keep visiting th...
- If you want to grow your know-how just keep visiting th...
- I don't even know how I finished up here, however I th...
- I don't even know how I finished up here, however I th...
- I don't even know how I finished up here, however I th...
- I don't even know how I finished up here, however I th...
- Awesome things here. I am very happy to look your post....
- Awesome things here. I am very happy to look your post....
- Awesome things here. I am very happy to look your post....
- Awesome things here. I am very happy to look your post....
- We stumbled over here by a different website and though...
- We stumbled over here by a different website and though...
- We stumbled over here by a different website and though...
- We stumbled over here by a different website and though...
- Hmm it appears like your site ate my first comment (it ...
- Hmm it appears like your site ate my first comment (it ...
- Hmm it appears like your site ate my first comment (it ...
- Hmm it appears like your site ate my first comment (it ...
#comment
#topicpath
SIZE(10){現在のアクセス:&counter;}
ページ名: