Wrong User Reported When Indexing SVN Mirror Repository

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

問題

After indexing a SVN repository, Fisheye attributes the wrong user as the committer of some revisions. 

原因

This can be caused by the use of svnsync to mirror a copy of the SVN repository locally for Fisheye to index. svnsync is not an atomic protocol. It generally performs the commit as the svn sync user and then updates the revprops to match the original commit. If Fisheye sees the repository between these two operations it will see the author as the svn sync author.

回避策

The repository can be re-indexed which should pick up the correct author information as the revprops have been updated.

ソリューション

There are two alternative configuration options to resolve this problem.

Option 1

Tie the Fisheye poll into the svnsync operation so that polling happens after the svn sync brings the repository into alignment. This is achieved by Configuring commit hooks for Fisheye/Crucible.

Option 2

In the post-revprop-change hook SVN trigger, configure the rescan-metadata Fisheye/Crucible REST API endpoint to be triggered with from/to range to rescan the changelist metadata (author, date, commit message).


最終更新日 2018 年 7 月 31 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.